84 lines
3.2 KiB
PHP
Executable File
84 lines
3.2 KiB
PHP
Executable File
<?php $this->titre = "ISA WEB - Créer facture garant";
|
|
//$codeTypeFacturationGarant = $groupefacturegarant['codeTypeFacturationGarant'];
|
|
|
|
$codeNatureFacturationGarant = $_SESSION['codeNatureFacturationGarant_F'];
|
|
?>
|
|
<legend><?= _("Entête facture garant")?></legend>
|
|
<div>
|
|
<table class="table table-responsive table-condensed" style="font-size:12pt;">
|
|
<tbody>
|
|
<tr>
|
|
<td width="10%"> <?= _("Garant") ?> </td>
|
|
<td colspan="5">
|
|
<SELECT class="form-control" data-live-search="true" id="codeGcAssureur" NAME="codeGcAssureur" disabled style="font-size:12pt; height:30px;">
|
|
<?php liste_options($garants,$groupefacturegarant['codeGcAssureur']); ?>
|
|
</SELECT>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td > <?= _("Nature Facture") ?> </td>
|
|
<td >
|
|
<INPUT class="form-control" TYPE="text" value="<?= $groupefacturegarant['naturefacturationgarant'] ?>" disabled style="font-size:12pt; height:30px;">
|
|
|
|
</td>
|
|
|
|
<td width="15%" align="center"> <?= _("Périodicité") ?> </td>
|
|
<td >
|
|
<SELECT class="form-control" id="codePeriodicite" NAME="codePeriodicite" disabled style="font-size:12pt; height:30px;">
|
|
<?php liste_options($periodicites,$groupefacturegarant['codePeriodicite']); ?>
|
|
</SELECT>
|
|
</td>
|
|
|
|
<td align="center"> <?= _("Exercice") ?> </td>
|
|
<td >
|
|
<SELECT class="form-control" id="codeExercice" NAME="codeExercice" disabled style="font-size:12pt; height:30px;" >
|
|
<?php liste_options($exercice, $groupefacturegarant['codeExercice']); ?>
|
|
</SELECT>
|
|
</td>
|
|
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td > <?= _("Date Facture") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="dateFacture" NAME="dateFacture" value="<?= datefr($groupefacturegarant['dateFacture']) ?>" disabled style="font-size:12pt; height:30px;"></td>
|
|
|
|
<td width="15%" align="center"> <?= _("Mois de Début") ?> </td>
|
|
<td>
|
|
<?php if($groupefacturegarant['premiereFacture']=="0"):?>
|
|
<SELECT class="form-control" id="codeMoisDebut" NAME="codeMoisDebut" disabled style="font-size:12pt; height:30px;" >
|
|
<?php liste_options($moisDebut, $groupefacturegarant['codeMoisDebut']); ?>
|
|
</SELECT>
|
|
<?php else:?>
|
|
<SELECT class="form-control" id="codeMoisDebut" NAME="codeMoisDebut" style="font-size:12pt; height:30px;" onchange="javascript:fin_periode_facturation_garant();">
|
|
<?php liste_options($moisDebut, $groupefacturegarant['codeMoisDebut']); ?>
|
|
</SELECT>
|
|
<?php endif;?>
|
|
</td>
|
|
|
|
<td width="15%" align="center"> <?= _("Mois de Fin") ?> </td>
|
|
<td>
|
|
<div id="div_mois_fin">
|
|
<SELECT class="form-control" id="codeMoisFin" NAME="codeMoisFin" disabled style="font-size:12pt; height:30px;" >
|
|
<?php liste_options($moisFin, $groupefacturegarant['codeMoisFin']); ?>
|
|
</SELECT>
|
|
</div>
|
|
</td>
|
|
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div id="div_detail_facture">
|
|
<?php
|
|
if($codeNatureFacturationGarant=="CAUT"){
|
|
require('caution.php');
|
|
}elseif($codeNatureFacturationGarant=="DEF"){
|
|
require('deficit.php');
|
|
}elseif($codeNatureFacturationGarant=="PER"){
|
|
require('facturesperiodiques.php');
|
|
}
|
|
?>
|
|
</div>
|