93 lines
3.6 KiB
PHP
Executable File
93 lines
3.6 KiB
PHP
Executable File
<?php $this->titre = "INTER SANTE - Créer facture garant";
|
|
$codeTypeFacturationGarant = $entetefacturegarant['codeTypeFacturationGarant'];
|
|
?>
|
|
<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-select" data-live-search="true" id="codeGcAssureur" NAME="codeGcAssureur" disabled style="font-size:12pt; height:30px;">
|
|
<?php liste_options($garants,$entetefacturegarant['codeGcAssureur']); ?>
|
|
</SELECT>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td > <?= _("Type Facture") ?> </td>
|
|
<td >
|
|
<select class="form-select" id="codeTypeFacturationGarant" NAME="codeTypeFacturationGarant" disabled style="font-size:12pt; height:30px;">
|
|
<?php liste_options($typefacture,$entetefacturegarant['codeTypeFacturationGarant'],true); ?>
|
|
</SELECT>
|
|
</td>
|
|
|
|
<td width="15%" align="center"> <?= _("Périodicité") ?> </td>
|
|
<td >
|
|
<select class="form-select" id="codePeriodicite" NAME="codePeriodicite" disabled style="font-size:12pt; height:30px;">
|
|
<?php liste_options($periodicites,$entetefacturegarant['codePeriodicite']); ?>
|
|
</SELECT>
|
|
</td>
|
|
|
|
<td align="center"> <?= _("Exercice") ?> </td>
|
|
<td >
|
|
<select class="form-select" id="codeExercice" NAME="codeExercice" disabled style="font-size:12pt; height:30px;" >
|
|
<?php liste_options($exercice, $entetefacturegarant['codeExercice']); ?>
|
|
</SELECT>
|
|
</td>
|
|
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td > <?= _("Date Facture") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="dateFacture" NAME="dateFacture" value="<?= datefr($entetefacturegarant['dateFacture']) ?>" disabled style="font-size:12pt; height:30px;"></td>
|
|
|
|
<td width="15%" align="center"> <?= _("Mois de Début") ?> </td>
|
|
<td>
|
|
<?php if($entetefacturegarant['premiereFacture']=="0"):?>
|
|
<select class="form-select" id="codeMoisDebut" NAME="codeMoisDebut" disabled style="font-size:12pt; height:30px;" >
|
|
<?php liste_options($moisDebut, $entetefacturegarant['codeMoisDebut']); ?>
|
|
</SELECT>
|
|
<?php else:?>
|
|
<select class="form-select" id="codeMoisDebut" NAME="codeMoisDebut" style="font-size:12pt; height:30px;" onchange="javascript:fin_periode_facturation_garant();">
|
|
<?php liste_options($moisDebut, $entetefacturegarant['codeMoisDebut']); ?>
|
|
</SELECT>
|
|
<?php endif;?>
|
|
</td>
|
|
|
|
<td width="15%" align="center"> <?= _("Mois de Fin") ?> </td>
|
|
<td>
|
|
<div id="div_mois_fin">
|
|
<select class="form-select" id="codeMoisFin" NAME="codeMoisFin" disabled style="font-size:12pt; height:30px;" >
|
|
<?php liste_options($moisFin, $entetefacturegarant['codeMoisFin']); ?>
|
|
</SELECT>
|
|
</div>
|
|
</td>
|
|
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div id="div_detail_facture">
|
|
<?php
|
|
if($codeTypeFacturationGarant=="CAUTP"){
|
|
require('caution.php');
|
|
}elseif($codeTypeFacturationGarant=="HPRI"){
|
|
require('honoraireprime.php');
|
|
}elseif($codeTypeFacturationGarant=="SIN"){
|
|
require('sinistres.php');
|
|
}elseif($codeTypeFacturationGarant=="HSIN"){
|
|
require('honorairesinistres.php');
|
|
}elseif($codeTypeFacturationGarant=="HFOR"){
|
|
require('honoraireforfaitaire.php');
|
|
}elseif($codeTypeFacturationGarant=="APF"){
|
|
require('appelfond.php');
|
|
}elseif($codeTypeFacturationGarant=="APC"){
|
|
require('appelcotisation.php');
|
|
}elseif($codeTypeFacturationGarant=="HBUD"){
|
|
require('honorairebudget.php');
|
|
}
|
|
?>
|
|
</div>
|