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

54 lines
2.2 KiB
PHP
Executable File

<?php $nbligne = 0; ?>
<div id="div_detail_requete">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:6.5pt;">
<thead>
<tr>
<th> <?= _("Prestataire") ?> </th>
<th style="text-align: center;">Type</th>
<th style="text-align: center;"> <?= _("No Bon") ?> </th>
<th style="text-align: center;"> <?= _("Attribution") ?> </th>
<th style="text-align: center;"> <?= _("Réception") ?> </th>
<th style="text-align: center;"> <?= _("Reçu par") ?> </th>
<th style="text-align: center;"> <?= _("Etat") ?> </th>
<th colspan="2" style="text-align: center;"> <?= _("Bénéficiaire") ?> </th>
<th colspan="2" style="text-align: center;"> <?= _("Utilisation") ?> </th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="11" style='text-align:center'> <?= format_N($this->nettoyer($bonpecs_total['nbLigne'])) ?> <?= _("Lignes au total") ?> </td>
</tr>
</tfoot>
<tbody>
<?php foreach ($bonpecs as $bonpec):
$nbligne++;
?>
<tr valign="top">
<td><?= $this->nettoyer($bonpec['prestataire']) ?></td>
<td align='center'><?= $this->nettoyer($bonpec['codeTypeBon']) ?></td>
<td align='center'><?= $this->nettoyer($bonpec['numeroBon']) ?></td>
<td align='center'><?= dateLang($this->nettoyer($bonpec['dateGeneration'])) ?></td>
<td align='center'><?= dateLang($this->nettoyer($bonpec['dateReception'])) ?></td>
<td align='center'><?= $this->nettoyer($bonpec['codeUtilisateurReception']) ?></td>
<td align='center'><?= $this->nettoyer($bonpec['etatbon']) ?></td>
<td align='center'><?= $this->nettoyer($bonpec['numeroBeneficiaire']) ?></td>
<td><?= $this->nettoyer($bonpec['beneficiaire']) ?></td>
<td align='center'><?= dateheureLang($this->nettoyer($bonpec['dateImpression'])) ?></td>
<td align='center'><?= $this->nettoyer($bonpec['codeUtilisateurImpression']) ?></td>
</tr>
<?php
if ($nbligne == 200) {
$nbligne = "> ".$nbligne." => " . _("Utilisez Excel");
break;
}
?>
<?php endforeach; ?>
</tbody>
</table>
<input class="sr-only" type="text" id="nbligne_info" name="nbligne_info" value="<?= $nbligne ?>" >
</div>