37 lines
2.0 KiB
PHP
Executable File
37 lines
2.0 KiB
PHP
Executable File
<table id="tab_type_facture" class="table table-striped table-bordered table-hover table-condensed table-responsive datatab compact" style="font-size:11pt; margin-top:5px;">
|
|
<thead>
|
|
<tr>
|
|
<th style='text-align:center '>
|
|
<?php if($choixTousTypesFacture=='1'): ?>
|
|
<input type="checkbox" checked value="<?php echo $choixTousTypesFacture; ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};select_tous_type_facture(this.value);">
|
|
<?php else: ?>
|
|
<input type="checkbox" value="<?php echo $choixTousTypesFacture; ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};select_tous_type_facture(this.value);"></td>
|
|
<?php endif; ?>
|
|
</th>
|
|
<th colspan="2" style='text-align:center; font-size:12pt '> <span id="span_selec_typefac"><?= _("Type Facture")." ( ".$nbreTypeFacSelection." / ".count($listeTypeFacture)." )" ?> </span></th>
|
|
</tr>
|
|
<tr>
|
|
<th style='text-align:center ' width="10%"> <?= _("Choix") ?> </th>
|
|
<th style='text-align:center'> <?= _("Code") ?> </th>
|
|
<th style='text-align:center'> <?= _("Nom") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<?php
|
|
|
|
foreach ($listeTypeFacture as $v):
|
|
$idTyype=$this->nettoyer($v['id']);
|
|
?>
|
|
<tr valign="top">
|
|
<?php if($v['choix']=='1'): ?>
|
|
<td align='center'> <input type="checkbox" checked value="<?php echo $v['choix']; ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};select_typefacture_garant_a_facturer(this.value, <?= $idTyype ?>);"></td>
|
|
<?php else: ?>
|
|
<td align='center'> <input type="checkbox" value="<?php echo $v['choix']; ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};select_typefacture_garant_a_facturer(this.value, <?= $idTyype ?>);"></td>
|
|
<?php endif; ?>
|
|
<td style="text-align:center"> <?= $this->nettoyer($v['codeTypeFacturationGarant']) ?> </td>
|
|
<td > <?= $this->nettoyer($v['libelle']) ?> </td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|