51 lines
2.2 KiB
PHP
51 lines
2.2 KiB
PHP
<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" > Souscripteur </th>
|
|
<th rowspan="2" colspan="2" style='text-align:center'> Bénéficiaire </th>
|
|
<th rowspan="2" style='text-align:center'> Carte </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_carte_gc_tout('1');"> </td>
|
|
<th style='text-align:center'> <input class = "form-control btn btn-primary" type="button" value="X" onClick="selectionner_carte_gc_tout('0');"> </td>
|
|
</tr>
|
|
<?php endif; ?>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
<?php foreach ($gcs as $gc):
|
|
$idTemp=$this->nettoyer($gc['idTemp']);
|
|
?>
|
|
<tr valign="top">
|
|
<td align='center'><?= dateFr($this->nettoyer($gc['dateCarte'])) ?></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['montantCarte'])) ?></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_carte_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_carte_gc(<?= $idTemp ?>, this.value);"></td>
|
|
<?php endif; ?>
|
|
<?php endif; ?>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|