109 lines
6.7 KiB
PHP
Executable File
109 lines
6.7 KiB
PHP
Executable File
<?php
|
|
$adminProd = $_SESSION['adminProd'];
|
|
?>
|
|
|
|
<?php if(count($actes) > "0"): ?>
|
|
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt;" >
|
|
<thead >
|
|
<!--
|
|
<tr >
|
|
<th colspan="18" style='text-align:center; font-size:10pt; font-weight: bold; border: 2px solid #939597;'> <?= _("LIGNES PARAMETREES SUR ACTE") ?> </th>
|
|
</tr>
|
|
-->
|
|
<tr>
|
|
<th rowspan="2" style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Libellé") ?> </th>
|
|
<th rowspan="2" style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Effet") ?> </th>
|
|
<th colspan="4" style='text-align:center; border: 2px solid #939597; background-color:#027BE3; color: white;'> <?= _("Famille") ?> </th>
|
|
<th colspan="4" style='text-align:center; border: 2px solid #939597; background-color:#726a57;'> <?= _("Bénéficiaire") ?> </th>
|
|
<th rowspan="2" style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Remboursement") ?> </th>
|
|
<th rowspan="2" style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Carence") ?> </th>
|
|
<th colspan="2" style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("TM") ?> </th>
|
|
<th colspan="2" style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Age") ?> </th>
|
|
<th rowspan="2" style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Actif") ?> </th>
|
|
<th rowspan="2" style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Suppr") ?> </th>
|
|
</tr>
|
|
<tr>
|
|
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Plafond") ?> </th>
|
|
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Périodicité") ?> </th>
|
|
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Nb Transac") ?> </th>
|
|
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Périodicité") ?> </th>
|
|
|
|
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Plafond") ?> </th>
|
|
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Périodicité") ?> </th>
|
|
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Nb Transac") ?> </th>
|
|
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Périodicité") ?> </th>
|
|
|
|
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Taux") ?> </th>
|
|
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Forfait") ?> </th>
|
|
|
|
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Min") ?> </th>
|
|
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Max") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody >
|
|
<?php foreach ($actes as $v):
|
|
$idActe = $this->nettoyer($v['id']);
|
|
$supprime = $v['supprime'];
|
|
$libelle = $this->nettoyer($v['libelle']);
|
|
if (est_anglophone())
|
|
{
|
|
$libelle = $this->nettoyer($v['libelleEng']);
|
|
}
|
|
|
|
if($this->nettoyer($v['codeObservation'])=="VD"){
|
|
$codeObservation = "";
|
|
}else{
|
|
$codeObservation = $this->nettoyer($v['codeObservation']);
|
|
}
|
|
|
|
if($this->nettoyer($v['actif'])=="1"){
|
|
$actif = "Oui";
|
|
}else{
|
|
$actif = "Non";
|
|
}
|
|
?>
|
|
|
|
<?php if($supprime=='1'): ?>
|
|
<tr valign="top" style="text-decoration: line-through red;">
|
|
<?php else: ?>
|
|
<tr valign="top">
|
|
<?php endif; ?>
|
|
<td style='border: 2px solid #939597;'><?= $libelle ?></td>
|
|
<td style='text-align:center; border: 2px solid #939597;'><?= datefr($this->nettoyer($v['dateEffet'])); ?></td>
|
|
<td style='text-align:center; border: 2px solid #939597;'><?= format_N($this->nettoyer($v['forfaitPlafondFamille'])); ?></td>
|
|
<td style='text-align:center; border: 2px solid #939597;'><?= $this->nettoyer($v['codePeriodicitePlafondFamille']);?></td>
|
|
<td style='text-align:center; border: 2px solid #939597;'><?= $this->nettoyer($v['nbreTransactionFamille']);?></td>
|
|
<td style='text-align:center; border: 2px solid #939597;'><?= $this->nettoyer($v['codePeriodiciteFamille']);?></td>
|
|
<td style='text-align:center; border: 2px solid #939597;'><?= format_N($this->nettoyer($v['forfaitPlafond']));?></td>
|
|
<td style='text-align:center; border: 2px solid #939597;'><?= $this->nettoyer($v['codePeriodicitePlafond']);?></td>
|
|
<td style='text-align:center; border: 2px solid #939597;'><?= $this->nettoyer($v['nbreTransaction']);?></td>
|
|
<td style='text-align:center; border: 2px solid #939597;'><?= $this->nettoyer($v['codePeriodicite']); ?></td>
|
|
<!--<td style='text-align:center; border: 2px solid #939597;'> <?= $codeObservation; ?></td>-->
|
|
<td style='text-align:center; border: 2px solid #939597;'> <?= $this->nettoyer($v['codeTypeRemboursement']); ?></td>
|
|
|
|
<td style='text-align:center; border: 2px solid #939597;'><?= $this->nettoyer($v['delaiCarenceActe']);?></td>
|
|
<td style='text-align:center; border: 2px solid #939597;'><?= $this->nettoyer($v['ticketModerateur']);?></td>
|
|
<td style='text-align:center; border: 2px solid #939597;'><?= format_N($this->nettoyer($v['forfaitTm']));?></td>
|
|
<td style='text-align:center; border: 2px solid #939597;'><?= $this->nettoyer($v['ageMinimum']);?></td>
|
|
<td style='text-align:center; border: 2px solid #939597;'><?= $this->nettoyer($v['ageMaximum']);?></td>
|
|
<td style='text-align:center; border: 2px solid #939597;'><?= $actif;?></td>
|
|
<?php if($supprime=='0'): ?>
|
|
<td style='text-align:center; border: 2px solid #939597;'>
|
|
<button type="button" class="form-control btn btn-danger" onClick="javascript:supprimer_baremeacte('<?= $adminProd?>',<?= $idActe ?>);">
|
|
<i class="fa fa-times" aria-hidden="true"></i>
|
|
</button>
|
|
</td>
|
|
<?php else: ?>
|
|
<td style='text-align:center; border: 2px solid #939597;'> </td>
|
|
<?php endif; ?>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
<?php else: ?>
|
|
<div class="col-12 alert alert-danger text-center">
|
|
<?= _("Aucune ligne insérée dans BAREME ACTE") ?>
|
|
</div>
|
|
<?php endif; ?>
|