prestation/Vue/Ajaxconsultationopt/index.php
2025-12-05 10:42:46 +00:00

72 lines
3.6 KiB
PHP
Executable File

<div id="detail_reglement">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:7pt;">
<tbody>
<?php foreach ($factures as $facture):
$numeroFeuilleMaladie = $facture['numeroFeuilleMaladie'];
$idFacture = $facture['idFacture'];
$numeroBonOptique = $facture['numeroBonOptique'];
$numeroOptique = $facture['numeroOptique'];
$codePrestataireLivraison = $facture['codePrestataireLivraison'];
$observationsFacture = $facture['observations'];
$regle = $facture['regle'];
$valide = $facture['valide'];
?>
<tr valign="top">
<td width="6%" align='center'><?= dateLang($this->nettoyer($facture['dateFacture'])) ?></td>
<td width="8%" align="center">
<input class="form-control btn btn-primary" type="button" value="<?= $numeroBonOptique ?>"
onClick="javascript:afficher_facture_cons_opt('<?= $idFacture ?>', '<?= $numeroBonOptique ?>', '<?= $numeroOptique ?>', '<?= $codePrestataireLivraison ?>');">
</td>
<td width="6%" align='center'> <?= $this->nettoyer($facture['numeroDecompte']) ?> </td>
<?php if($regle=='1'): ?>
<td width="3%" align='center'> <input type="checkbox" checked value="<?= $regle ?>" disabled ></td>
<?php else: ?>
<td width="3%" align='center'> <input type="checkbox" value="<?= $regle ?>" disabled ></td>
<?php endif; ?>
<td width="5%" align='center'> <?= $this->nettoyer($facture['numeroBeneficiaire']) ?> </td>
<td width="12%" ><?= $this->nettoyer($facture['beneficiaire']) ?></td>
<td width="6%" align='center'><?= format_N($this->nettoyer($facture['fraisReel'])) ?></td>
<td width="4%" align='center'><?= format_N($this->nettoyer($facture['montantTm'])) ?></td>
<td width="6%" align='center'><?= format_N($this->nettoyer($facture['montantArembourser'])) ?></td>
<td width="5%" align='center'><?= format_N($this->nettoyer($facture['fraisExclu'])) ?></td>
<td width="6%" align='center'><?= format_N($this->nettoyer($facture['fraisRetenu'])) ?></td>
<td width="6%" align='center'><?= format_N($this->nettoyer($facture['montantForce'])) ?></td>
<td width="6%" align='center' style="color:red"><?= format_N($this->nettoyer($facture['montantApayer'])) ?></td>
<td width="6%" align='center' style="color:blue"><?= format_N($this->nettoyer($facture['montantPaye'])) ?></td>
<?php if($valide=='1'): ?>
<td width="4%" align='center'> <input type="checkbox" checked value="<?= $valide ?>" disabled ></td>
<?php else: ?>
<td width="4%" align='center'> <input type="checkbox" value="<?= $valide ?>" disabled ></td>
<?php endif; ?>
<?php if($valide=='9'): ?>
<td width="4%" align='center'> <input type="checkbox" checked value="<?= $valide ?>" disabled ></td>
<?php else: ?>
<td width="4%" align='center'> <input type="checkbox" value="<?= $valide ?>" disabled ></td>
<?php endif; ?>
<?php if($valide=='2'): ?>
<td width="3%" align='center'> <input type="checkbox" checked value="<?= $valide ?>" disabled ></td>
<?php else: ?>
<td width="3%" align='center'> <input type="checkbox" value="<?= $valide ?>" disabled ></td>
<?php endif; ?>
<?php if($observationsFacture>' '): ?>
<td width="4%" align="center"> <input type="button" value="Obs."
onClick="javascript:alert('<?= $observationsFacture ?>');">
</td>
<?php else: ?>
<td width="4%"> </td>
<?php endif; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>