prestation/Vue/Ajaxrequetefacturegccumul/index.php
2025-12-01 18:54:33 +00:00

112 lines
5.4 KiB
PHP

<?php $nbligne = 0; ?>
<div id="div_detail_requete">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<td colspan="3" style='text-align:center'> <?= format_N($this->nettoyer($factures_total['nbLigne'])) ?> <?= _("Lignes au total") ?> </td>
<td align='center'><?= format_N($this->nettoyer($factures_total['nbFactureTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($factures_total['montantFactureTotal'])) ?></td>
<td colspan="2"> </td>
<td align='center'><?= format_N($this->nettoyer($factures_total['nbFactureVerifieTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($factures_total['montantVerifieTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($factures_total['montantRedresseTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($factures_total['montantApayerTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($factures_total['nbFacturationTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($factures_total['montantFacturationTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($factures_total['nbEncaisseotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($factures_total['montantEncaisseTotal'])) ?></td>
</tr>
<tr>
<th rowspan="2" style='text-align:center'> <?= _("Exercice") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Mois") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Prestataire") ?> </th>
<th colspan="2" style='text-align:center'> <?= _("Facturé") ?> </th>
<th colspan="6" style='text-align:center'> <?= _("Vérification") ?> </th>
<th colspan="2" style='text-align:center'> <?= _("Facturation") ?> </th>
<th colspan="2" style='text-align:center'> <?= _("Encaissé") ?> </th>
</tr>
<tr>
<th style='text-align:center'> Nb </th>
<th style='text-align:center'> <?= _("Montant") ?> </th>
<th style='text-align:center'> User </th>
<th style='text-align:center'> <?= _("Situation") ?> </th>
<th style='text-align:center'> Nb </th>
<th style='text-align:center'> <?= _("Montant") ?> </th>
<th style='text-align:center'> <?= _("Redressé") ?> </th>
<th style='text-align:center'> <?= _("A payer") ?> </th>
<th style='text-align:center'> Nb </th>
<th style='text-align:center'> <?= _("Montant") ?> </th>
<th style='text-align:center'> Nb </th>
<th style='text-align:center'> <?= _("Montant") ?> </th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="3" style='text-align:center'> <?= format_N($this->nettoyer($factures_total['nbLigne'])) ?> <?= _("Lignes au total") ?> </td>
<td align='center'><?= format_N($this->nettoyer($factures_total['nbFactureTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($factures_total['montantFactureTotal'])) ?></td>
<td colspan="2"> </td>
<td align='center'><?= format_N($this->nettoyer($factures_total['nbFactureVerifieTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($factures_total['montantVerifieTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($factures_total['montantRedresseTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($factures_total['montantApayerTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($factures_total['nbFacturationTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($factures_total['montantFacturationTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($factures_total['nbEncaisseotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($factures_total['montantEncaisseTotal'])) ?></td>
</tr>
</tfoot>
<tbody>
<?php foreach ($gcs as $decompte):
$nbligne++;
?>
<tr valign="top">
<td align='center'><?= $this->nettoyer($decompte['codeExercice']) ?></td>
<td align='center'><?= $this->nettoyer($decompte['codeMois']) ?></td>
<td align='center'><?= $this->nettoyer($decompte['prestataire']) ?></td>
<td align='center'><?= format_N($this->nettoyer($decompte['nbFacture'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($decompte['montantFacture'])) ?></td>
<td align='center'><?= $this->nettoyer($decompte['userControle']) ?></td>
<td align='center'><?= $this->nettoyer($decompte['etatdecompte']) ?></td>
<td align='center'><?= format_N($this->nettoyer($decompte['nbFactureVerifie'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($decompte['montantVerifie'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($decompte['montantRedresse'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($decompte['montantApayer'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($decompte['nbFacturation'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($decompte['montantFacturation'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($decompte['nbEncaisse'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($decompte['montantEncaisse'])) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<input class="sr-only" type="text" id="nbligne_info" name="nbligne_info" value="<?= $nbligne ?>" >
</div>