production/Vue/Detailfactureperiodiquegarant/index.php
2025-12-01 16:12:12 +00:00

98 lines
3.5 KiB
PHP
Executable File

<?php $this->titre = "INTER SANTE - Créer facture garant";
$codeTypeFacturationGarant = $entetefacturegarant['codeTypeFacturationGarant'];
$codeSourceFondGarantAppelFond = $entetefacturegarant['codeSourceFondGarantAppelFond'];
$codeSourceFondGarantHonoraire = $entetefacturegarant['codeSourceFondGarantHonoraire'];
$commentaires = $entetefacturegarant['commentaires'];
?>
<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" disabled style="font-size:12pt; height:30px;">
<?php liste_options($garants,$entetefacturegarant['codeGcAssureur']); ?>
</SELECT>
</td>
</tr>
<tr>
<td > <?= _("Type Facture") ?> </td>
<td >
<INPUT class="form-control" TYPE="text" value="<?= $entetefacturegarant['typefacturationgarant'] ?>" disabled style="font-size:12pt; height:30px;">
</td>
<td width="15%" align="center"> <?= _("Périodicité") ?> </td>
<td >
<select class="form-select" 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" 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" value="<?= datefr($entetefacturegarant['dateFacture']) ?>" disabled style="font-size:12pt; height:30px;"></td>
<td width="15%" align="center"> <?= _("Mois de Début") ?> </td>
<td>
<select class="form-select" disabled style="font-size:12pt; height:30px;" >
<?php liste_options($moisDebut, $entetefacturegarant['codeMoisDebut']); ?>
</SELECT>
</td>
<td width="15%" align="center"> <?= _("Mois de Fin") ?> </td>
<td>
<select class="form-select" disabled style="font-size:12pt; height:30px;" >
<?php liste_options($moisFin, $entetefacturegarant['codeMoisFin']); ?>
</SELECT>
</td>
</tr>
<tr>
<td > <?= _("Commentaires") ?> </td>
<td colspan='5'>
<textarea style='font-size:12pt; width:100%;' rows="10" class="form-control-lg" disabled><?= $commentaires;?></textarea>
</td>
</tr>
</tbody>
</table>
</div>
<div id="div_detail_facture">
<?php
if($codeTypeFacturationGarant=="CAUTP"){
require('caution.php');
}elseif($codeTypeFacturationGarant=="HON" && $codeSourceFondGarantHonoraire=="PRI"){
require('honoraireprime.php');
}elseif($codeTypeFacturationGarant=="HON" && $codeSourceFondGarantHonoraire=="BUD"){
require('honorairebudget.php');
}elseif($codeTypeFacturationGarant=="HON" && $codeSourceFondGarantHonoraire=="SIN"){
require('honorairesinistres.php');
}elseif($codeTypeFacturationGarant=="HON" && $codeSourceFondGarantHonoraire=="FOR"){
require('honoraireforfaitaire.php');
}elseif($codeTypeFacturationGarant=="APF" && $codeSourceFondGarantAppelFond=="BUD"){
require('appelfond.php');
}elseif($codeTypeFacturationGarant=="APF" && $codeSourceFondGarantAppelFond=="SIN"){
require('sinistres.php');
}
?>
</div>