81 lines
3.3 KiB
PHP
Executable File
81 lines
3.3 KiB
PHP
Executable File
<?php $nbligne = 0; ?>
|
|
|
|
<div id="div_detail_requete">
|
|
<button class="sr-only" id="btn_pop_detail" name="btn_pop_detail" type="button" data-bs-toggle="modal" data-bs-target="#popdetail" style='font-size:10pt;' > </button>
|
|
|
|
<INPUT class="sr-only" type="text" id="codeTypePrestataire" name="codeTypePrestataire" value="">
|
|
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:10pt;">
|
|
<thead>
|
|
<tr>
|
|
<th style='text-align:center'> <?= _("Prestataire") ?> </th>
|
|
<th style='text-align:center'> <?= _("Montant") ?> </th>
|
|
<th style='text-align:center'> <?= _("Patients") ?> </th>
|
|
<th style='text-align:center'> <?= _("Moyenne") ?> </th>
|
|
<th width="10%" style='text-align:center'> <?= _("Détail...") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tfoot>
|
|
<tr>
|
|
<td style='text-align:center'> Total </td>
|
|
<td align='center'><?= format_N($this->nettoyer($cumulprestataires_total['montantApayer_total'])) ?></td>
|
|
<td style='text-align:center'> <?= format_N($this->nettoyer($cumulprestataires_total['nbFactures_total'])) ?> </td>
|
|
<td align='center'><?= format_N($this->nettoyer($cumulprestataires_total['moyenne_total'])) ?></td>
|
|
<td> </td>
|
|
</tr>
|
|
</tfoot>
|
|
|
|
<tbody>
|
|
<?php foreach ($cumulprestataires as $cumulprestataire):
|
|
$codeTypePrestataire = $this->nettoyer($cumulprestataire['codeTypePrestataire']);
|
|
|
|
$typeprestataire = $cumulprestataire['typeprestataire'];
|
|
|
|
if (est_anglophone()){
|
|
$typeprestataire = $cumulprestataire['typeprestataireEng'];
|
|
}
|
|
|
|
$nbligne++;
|
|
?>
|
|
<tr valign="top">
|
|
<td><?= $typeprestataire ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($cumulprestataire['montantApayer'])) ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($cumulprestataire['nbFactures'])) ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($cumulprestataire['moyenne'])) ?></td>
|
|
<td>
|
|
<input class = "form-control btn btn-info" type="button" value="<?= _("Détail...") ?>" onClick="javascript:afficher_detail_stat_type_prestataire('<?=$codeTypePrestataire?>');" style='font-size:7pt;' >
|
|
</td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
<input class="sr-only" type="text" id="nbligne_info" name="nbligne_info" value="<?= $nbligne ?>" >
|
|
|
|
<div class="modal fade" id="popdetail" role="dialog">
|
|
<div class="modal-dialog modal-lg">
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
<button id="btn_close_pop" name="btn_close_pop" type="button" class="close" data-bs-dismiss="modal"> <?= _("Fermer") ?> </button>
|
|
<h4 class="modal-title"> <?= _("Détail des factures du type de prestataire...") ?> </h4>
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
<div id="div_details">
|
|
<input type="button" class = "form-control btn btn-info" style='font-size:10pt;' value="<?= _("Charger...") ?>" onclick="javascript:charger_detail_stat_type_prestataire();" />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
<button id="close_pop" name="close_pop" type="button" class="btn btn-default" data-bs-dismiss="modal"> <?= _("Fermer") ?> </button>
|
|
</div>
|
|
|
|
<div id="div_export_b">
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|