64 lines
2.0 KiB
PHP
Executable File
64 lines
2.0 KiB
PHP
Executable File
<?php $this->titre = "INTER SANTE - Tableau des taux d'ajustement de primes"; ?>
|
|
|
|
<INPUT class="sr-only" TYPE="text" id="nomForm" name="nomForm" value="frmtauxAjustement">
|
|
|
|
|
|
|
|
<legend> <?= _("Grille des taux d'ajustement") ?> </legend>
|
|
|
|
<div id="div_entete_table">
|
|
|
|
</div>
|
|
|
|
<div id="div_maj_table">
|
|
|
|
</div>
|
|
|
|
<div id="div_lister_table">
|
|
<?php
|
|
$nbreTotal = count($tableauajustement);
|
|
|
|
if($nbreTotal < 10){
|
|
$nbreTotal = '0'.$nbreTotal;
|
|
}else{
|
|
$nbreTotal = format_N($nbreTotal);
|
|
}
|
|
?>
|
|
|
|
<table style="margin: auto" class="table-responsive">
|
|
<tbody>
|
|
<td><input class="form-control" style="text-align: center; font-size:10pt;" type="text" id="nbreTotal" name="nbreTotal" value="<?= _("Lignes Total").": ". $nbreTotal; ?>" readonly> </td>
|
|
</tbody>
|
|
</table>
|
|
<input type="hidden" id="total" value="<?= $nbreTotal; ?>">
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabliste compact">
|
|
<thead>
|
|
<tr>
|
|
<th class="text-center"><?= _("Centre gestion")?></th>
|
|
<th class="text-center"><?= _("S/P Minimum")?></th>
|
|
<th class="text-center"><?= _("S/P Maximum")?></th>
|
|
<th class="text-center"><?= _("Taux")." (%)"?></th>
|
|
<th class="text-center"><?= _("Modifier")?></th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php foreach ($tableauajustement as $v):
|
|
$idData = $this->nettoyer($v['id']);
|
|
?>
|
|
<tr valign="top">
|
|
<td class="text-center" width="15%"><?= $this->nettoyer($v['codeSociete']);; ?>
|
|
<td class="text-center" width="20%"><?= $this->nettoyer($v['spMin']) ?></td>
|
|
<td class="text-center" width="20%"><?= $this->nettoyer($v['spMax']) ?></td>
|
|
<td class="text-center" width="20%"><?= $this->nettoyer($v['tauxAjustement']) ?></td>
|
|
|
|
<td class="text-center" width="10%">
|
|
<button style="width:100%" class ="form-control btn btn-primary" type="button" id="btn-editer" name="Modifier"
|
|
onclick="JAVASCRIPT:formModifTableRef(<?= $idData; ?>);" ><?= _("Modifier") ?></button>
|
|
</td>
|
|
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|