61 lines
2.8 KiB
PHP
Executable File
61 lines
2.8 KiB
PHP
Executable File
<div id="detail_facture">
|
|
<?php $this->titre = "INTER-SANTE - Facturation Gestion confiée";
|
|
$valideAs = $this->nettoyer($reglement['valideAs']);
|
|
?>
|
|
|
|
|
|
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
|
|
<thead>
|
|
<tr>
|
|
<th rowspan="2" style='text-align:center'> Date </th>
|
|
<th rowspan="2" style='text-align:center'> Facture </th>
|
|
<th rowspan="2" > Prestataire </th>
|
|
<th rowspan="2" > Souscripteur </th>
|
|
<th rowspan="2" colspan="2" style='text-align:center'> Bénéficiaire </th>
|
|
<th rowspan="2" style='text-align:center'> Frais </th>
|
|
<th rowspan="2" style='text-align:center'> Redressé </th>
|
|
<th rowspan="2" style='text-align:center'> A Payer </th>
|
|
<?php if($valideAs=='0'): ?>
|
|
<th width="6%" colspan="2" style='text-align:center'>Choix</th>
|
|
<?php endif; ?>
|
|
</tr>
|
|
|
|
<?php if($valideAs=='0'): ?>
|
|
<tr>
|
|
<th style='text-align:center'> <input class = "form-control btn btn-primary" type="button" value="V" onClick="selectionner_facture_gc_tout('1');"> </td>
|
|
<th style='text-align:center'> <input class = "form-control btn btn-primary" type="button" value="X" onClick="selectionner_facture_gc_tout('0');"> </td>
|
|
</tr>
|
|
<?php endif; ?>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
<?php foreach ($gcs as $gc):
|
|
$idFacture=$this->nettoyer($gc['idFacture']);
|
|
$idTemp=$this->nettoyer($gc['idTemp']);
|
|
?>
|
|
<tr valign="top">
|
|
<td align='center'><?= dateFr($this->nettoyer($gc['dateFacture'])) ?></td>
|
|
<td align='center'><?= $idFacture ?></td>
|
|
<td><?= $this->nettoyer($gc['prestataire']) ?></td>
|
|
<td><?= $this->nettoyer($gc['souscripteur']) ?></td>
|
|
<td align='center'><?= $this->nettoyer($gc['numeroBeneficiaire']) ?></td>
|
|
<td><?= $this->nettoyer($gc['beneficiaire']) ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($gc['montantFacture'])) ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($gc['montantRedresse'])) ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($gc['montantApayer'])) ?></td>
|
|
|
|
<?php if($valideAs=='0'): ?>
|
|
<?php if($gc['choix']=='1'): ?>
|
|
<td colspan="2" align='center'> <input type="checkbox" checked value="<?php echo $gc['choix'] ; ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};selectionner_facture_gc(<?= $idTemp ?>, this.value);"></td>
|
|
<?php else: ?>
|
|
<td colspan="2" align='center'> <input type="checkbox" value="<?php echo $gc['choix'] ; ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};selectionner_facture_gc(<?= $idTemp ?>, this.value);"></td>
|
|
<?php endif; ?>
|
|
<?php endif; ?>
|
|
</tr>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|