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

117 lines
5.3 KiB
PHP
Executable File

<legend><?= _("FACTURATION HONORAIRES SUR BUDGET")?></legend>
<div id="div_appel_cotisation">
<table id="" class="table table-responsive table-condensed" style="font-size:12pt;">
<tbody>
<tr>
<td width="10%"><?= _("Assiette") ?></td>
<td width="10%">
<select class="form-select" style="font-size:12pt; height:30px;" disabled >
<?php liste_options($listeassiettes, $entetefacturegarant['codeAssietteFacturationGarantHonoraire']); ?>
</SELECT>
</td>
<td align="center" width="5%"><?= _("Budget") ?></td>
<td><INPUT class="form-control text-center" TYPE="text" id="montantHt" NAME="montantHt" value="<?= format_N($entetefacturegarant['montantBudget']) ?>" style="font-size:12pt; height:30px;" disabled></td>
<td align="center" width="5%"><?= _("HT") ?></td>
<td><INPUT class="form-control text-center" TYPE="text" id="montantHt" NAME="montantHt" value="<?= format_N($entetefacturegarant['montantHt']) ?>" style="font-size:12pt; height:30px;" disabled></td>
<td align="center" width="5%"><?= _("Taxe") ?></td>
<td><INPUT class="form-control text-center" TYPE="text" id="taxe" NAME="taxe" value="<?= format_N($entetefacturegarant['taxe']) ?>" style="font-size:12pt; height:30px;" disabled></td>
<td align="center" width="5%"><?= _("TTC") ?></td>
<td><INPUT class="form-control text-center" TYPE="text" id="montantTtc" NAME="montantTtc" value="<?= format_N($entetefacturegarant['montantTtc']) ?>" style="font-size:12pt; height:30px;" disabled>
<td align="center" width="5%"><?= _("Pop") ?></td>
<td width="8%"><INPUT class="form-control text-center" TYPE="text" id="accessoire" NAME="accessoire" value="<?= format_N($entetefacturegarant['nbAliment']) ?>" style="font-size:12pt; height:30px;" disabled></td>
</tr>
</tbody>
</table>
</div>
<div class="wrapper">
<div class="tabs">
<div class="tab">
<input type="radio" name="css-tabs" id="tab-1" checked class="tab-switch">
<label for="tab-1" class="tab-label"><?= _("Par Police");?></label>
<div class="tab-content tab-container">
<fieldset>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabmini compact" style="font-size:10pt; white-space:nowrap;">
<thead>
<tr>
<th colspan="2" style="text-align:center" > <?= _("Police")." ( ".count($listepolices)." )" ?> </th>
<th rowspan="2" style="text-align:center" > <?= _("Budget HT") ?> </th>
<th rowspan="2" style="text-align:center" > <?= _("Honoraire HT") ?> </th>
<th rowspan="2" style="text-align:center" > <?= _("Population") ?> </th>
</tr>
<tr>
<th style="text-align:center"><?= _("ID") ?></th>
<th style="text-align:center"><?= _("Nom") ?></th>
</tr>
</thead>
<tbody>
<?php
foreach ($listepolices as $v):
?>
<tr valign="top">
<td style="text-align:center"> <?= $this->nettoyer($v['idPolice']) ?> </td>
<td > <?= $this->nettoyer($v['libellePolice']) ?> </td>
<td style="text-align:center"> <?= format_N($this->nettoyer($v['montantBudget'])) ?> </td>
<td style="text-align:center"> <?= format_N($this->nettoyer($v['montantHt'])) ?> </td>
<td style="text-align:center"> <?= format_N($this->nettoyer($v['nbAliment'])) ?> </td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</fieldset>
</div>
</div>
<div class="tab">
<input type="radio" name="css-tabs" id="tab-2" class="tab-switch">
<label for="tab-2" class="tab-label"><?= _("Par Collège")?></label>
<div class="tab-content tab-container">
<fieldset>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabmini compact" style="font-size:10pt; white-space:nowrap;">
<thead>
<tr>
<th colspan="2" style="text-align:center" > <?= _("Police") ?> </th>
<th colspan="2" style="text-align:center" > <?= _("Collège")." ( ".count($listecolleges)." )" ?> </th>
<th rowspan="2" style="text-align:center" > <?= _("Budget HT") ?> </th>
<th rowspan="2" style="text-align:center" > <?= _("Honoraire HT") ?> </th>
<th rowspan="2" style="text-align:center" > <?= _("Population") ?> </th>
</tr>
<tr>
<th style="text-align:center"><?= _("ID") ?></th>
<th style="text-align:center"><?= _("Nom") ?></th>
<th style="text-align:center"><?= _("ID") ?></th>
<th style="text-align:center"><?= _("Nom") ?></th>
</tr>
</thead>
<tbody>
<?php
foreach ($listecolleges as $v):
?>
<tr valign="top">
<td style="text-align:center"> <?= $this->nettoyer($v['idPolice']) ?> </td>
<td > <?= $this->nettoyer($v['libellePolice']) ?> </td>
<td style="text-align:center"> <?= $this->nettoyer($v['idCollege']) ?> </td>
<td > <?= $this->nettoyer($v['libelleCollege']) ?> </td>
<td style="text-align:center"> <?= format_N($this->nettoyer($v['montantBudget'])) ?> </td>
<td style="text-align:center"> <?= format_N($this->nettoyer($v['montantHt'])) ?> </td>
<td style="text-align:center"> <?= format_N($this->nettoyer($v['nbAliment'])) ?> </td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</fieldset>
</div>
</div>
</div>
</div>