radiantproduction/Vue/Ajaxetatmoycategmedprestataire/index.php

44 lines
1.8 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:9pt;">
<thead>
<tr>
<th style='text-align:center'> <?= _("Catégorie Médecin") ?> </th>
<th style='text-align:center'> <?= _("Catégorie Prestataire") ?> </th>
<th style='text-align:center'> <?= _("Prestataire") ?> </th>
<th style='text-align:center'> <?= _("Nb Cas") ?> </th>
<th style='text-align:center'> <?= _("Montant") ?> </th>
<th style='text-align:center'> <?= _("Moyenne") ?> </th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="3" style='text-align:center'> Total </td>
<td align='center'><?= format_N($this->nettoyer($cumulprestataires_total['nbTotal'])) ?></td>
<td style='text-align:center'> <?= format_N($this->nettoyer($cumulprestataires_total['montantApayerTotal'])) ?> </td>
<td align='center'><?= format_N($this->nettoyer($cumulprestataires_total['moyenneTotal'])) ?></td>
<td> </td>
</tr>
</tfoot>
<tbody>
<?php foreach ($cumulprestataires as $cumulprestataire):
$nbligne++;
?>
<tr valign="top">
<td><?= $this->nettoyer($cumulprestataire['categorieMedecin']) ?></td>
<td><?= $this->nettoyer($cumulprestataire['categoriePrestataire']) ?></td>
<td><?= $this->nettoyer($cumulprestataire['prestataire']) ?></td>
<td align='center'><?= format_N($this->nettoyer($cumulprestataire['nbCas'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($cumulprestataire['montantApayer'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($cumulprestataire['moyenne'])) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<input class="sr-only" type="text" id="nbligne_info" name="nbligne_info" value="<?= $nbligne ?>" >
</div>