38 lines
2.2 KiB
PHP
Executable File
38 lines
2.2 KiB
PHP
Executable File
<INPUT class="sr-only" TYPE="text" id="nbreNatureFacSelection" name="nbreNatureFacSelection" value="<?= $nbreNatureFacSelection ?>"/>
|
|
<table id="tab_nature_facture" class="table table-striped table-bordered table-hover table-condensed table-responsive datafiltre compact" style="font-size:11pt; margin-top:5px;">
|
|
<thead>
|
|
<tr>
|
|
<th style='text-align:center'>
|
|
<?php if($choixToutesNaturesFacture=='1'): ?>
|
|
<input type="checkbox" checked value="<?php echo $choixToutesNaturesFacture; ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};select_toutes_natures_facture(this.value);">
|
|
<?php else: ?>
|
|
<input type="checkbox" value="<?php echo $choixToutesNaturesFacture; ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};select_toutes_natures_facture(this.value);"></td>
|
|
<?php endif; ?>
|
|
</th>
|
|
<th colspan="2" style='text-align:center; font-size:12pt '> <span id="span_selec_typefac"><?= _("Nature Facture")." ( ".$nbreNatureFacSelection." / ".count($listeNatureFacture)." )" ?> </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 ($listeNatureFacture as $v):
|
|
$idNature=$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_naturefacture_garant_a_facturer(this.value, <?= $idNature ?>);"></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_naturefacture_garant_a_facturer(this.value, <?= $idNature ?>);"></td>
|
|
<?php endif; ?>
|
|
<td style="text-align:center"> <?= $this->nettoyer($v['codeNatureFacturationGarant']) ?> </td>
|
|
<td > <?= $this->nettoyer($v['libelle']) ?> </td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|