86 lines
4.1 KiB
PHP
Executable File
86 lines
4.1 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:6pt;">
|
|
<thead>
|
|
<tr>
|
|
<th style='text-align:center'> Date </th>
|
|
<th colspan="2" style='text-align:center'> <?= _("Bénéficiaire") ?> </th>
|
|
<th style='text-align:center'> <?= _("Ordon") ?> </th>
|
|
<th style='text-align:center'> <?= _("Feuille") ?> </th>
|
|
<th style='text-align:center'> <?= _("Cons") ?> </th>
|
|
<th> <?= _("Type de verres") ?> </th>
|
|
<th width="5%" style='text-align:center'> <?= _("Verres") ?> </th>
|
|
<th width="5%" style='text-align:center'> <?= _("Monture") ?> </th>
|
|
<th width="5%" style='text-align:center'> <?= _("Frais") ?> </th>
|
|
<th width="3%" style='text-align:center'> <?= _("T M") ?> </th>
|
|
<th width="5%" style='text-align:center'> <?= _("A Remb") ?> </th>
|
|
<th style='text-align:center'> Val </th>
|
|
<th width="5%" style='text-align:center'> <?= _("Forcé") ?> </th>
|
|
<th width="5%" style='text-align:center'> <?= _("A Payer") ?> </th>
|
|
<th colspan="2" style='text-align:center'> <?= _("Prescrit par") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tfoot>
|
|
<tr>
|
|
<td colspan="7" style='text-align:center'> <?= format_N($this->nettoyer($opticiens_total['nbLigne'])) . " " . _("Ligne(s) au total") ?> </td>
|
|
<td align='center'><?= format_N($this->nettoyer($opticiens_total['verres_total'])) ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($opticiens_total['monture_total'])) ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($opticiens_total['fraisReel_total'])) ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($opticiens_total['montantTm_total'])) ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($opticiens_total['montantArembourser_total'])) ?></td>
|
|
<td> </td>
|
|
<td align='center'><?= format_N($this->nettoyer($opticiens_total['montantForce_total'])) ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($opticiens_total['montantApayer_total'])) ?></td>
|
|
<td colspan="3"> </td>
|
|
</tr>
|
|
</tfoot>
|
|
|
|
<tbody>
|
|
<?php
|
|
foreach ($opticiens as $opticien):
|
|
$typeSysteme = $this->nettoyer($opticien['typeSysteme']);
|
|
$nbligne++;
|
|
?>
|
|
|
|
<?php if($typeSysteme=="1") : ?>
|
|
<tr valign="top" style="background-color: red; color:white;">
|
|
<?php else: ?>
|
|
<tr valign="top">
|
|
<?php endif; ?>
|
|
|
|
<td align='center'><?= dateLang($this->nettoyer($opticien['dateLivraison'])) ?></td>
|
|
<td align='center'><?= $this->nettoyer($opticien['numeroBeneficiaire']) ?></td>
|
|
<td><?= $this->nettoyer($opticien['beneficiaire']) ?></td>
|
|
<td align='center'><?= $this->nettoyer($opticien['numeroBonOptique']) ?></td>
|
|
<td align='center'><?= $this->nettoyer($opticien['numeroFeuilleMaladie']) ?></td>
|
|
<td align='center'><?= $this->nettoyer($opticien['numeroBonConsultation']) ?></td>
|
|
<td><?= $this->nettoyer($opticien['libelleOptique']) ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($opticien['verres'])) ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($opticien['monture'])) ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($opticien['fraisReel'])) ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($opticien['montantTm'])) ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($opticien['montantArembourser'])) ?></td>
|
|
<td align='center'><?= $this->nettoyer($opticien['valide']) ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($opticien['montantForce'])) ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($opticien['montantApayer'])) ?></td>
|
|
<td><?= $this->nettoyer($opticien['prestatairePrescription']) ?></td>
|
|
<td><?= $this->nettoyer($opticien['medecinPrescription']) ?></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>
|