frt
This commit is contained in:
parent
eaa9881d3b
commit
fb7b2234b1
|
|
@ -62314,8 +62314,6 @@ function actualiser_bareme_garantie()
|
|||
success: function(data) {
|
||||
//alert("Success : "+data);
|
||||
$('#div_garanties_bareme').html(data);
|
||||
|
||||
|
||||
},
|
||||
complete: function() {
|
||||
|
||||
|
|
|
|||
|
|
@ -656,12 +656,11 @@ class Garantiesbaremepriseencharge extends Modele {
|
|||
public function getFamilleActeGarantieBaremeInitial($idBaremePriseEnCharge,$codeGarantie)
|
||||
{
|
||||
$codeSociete = $_SESSION['codeSociete'];
|
||||
|
||||
$sql ="CALL sp_get_famille_acte_garantie_bareme_initial(?, ?, ?)";
|
||||
|
||||
$sql = "SELECT * FROM garantiesbaremeinitial WHERE codeSociete=?
|
||||
AND idBaremePriseEnCharge=? AND codeGarantie=? ORDER BY dateEffet DESC, id DESC;";
|
||||
$resultat = $this->executerRequete($sql, array($codeSociete, $idBaremePriseEnCharge, $codeGarantie));
|
||||
|
||||
|
||||
return $resultat->fetchAll(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -197,7 +197,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-12 text-center mt-2">
|
||||
<div class="col-12 text-center mt-1">
|
||||
<button id="btn_familleacte" name="btn_familleacte" type="button"
|
||||
class="btn btn-primary px-5 py-2 shadow-sm fw-bold"
|
||||
onclick="javascript:inserer_bareme_garantie();">
|
||||
|
|
|
|||
|
|
@ -36,29 +36,34 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($familleacte as $v):
|
||||
$idGarantie = $v['id'];
|
||||
$supprime = $v['supprime'];
|
||||
$isActif = ($this->nettoyer($v['actif']) == "1");
|
||||
$idGarantie = $v['id'];
|
||||
$supprime = $v['supprime'];
|
||||
$isActif = ($this->nettoyer($v['actif']) == "1");
|
||||
|
||||
$plafondFamille = ($this->nettoyer($v['forfaitPlafondFamille'])=="9999999999") ? _("Illimité"): format_N($this->nettoyer($v['forfaitPlafondFamille']));
|
||||
$transacFamille = ($this->nettoyer($v['nbreTransactionFamille'])=="999") ? _("Illimité"): format_N($this->nettoyer($v['nbreTransactionFamille']));
|
||||
$plafondFamille = ($this->nettoyer($v['forfaitPlafondFamille'])=="9999999999") ? _("Illimité"): format_N($this->nettoyer($v['forfaitPlafondFamille']));
|
||||
$transacFamille = ($this->nettoyer($v['nbreTransactionFamille'])=="999") ? _("Illimité"): format_N($this->nettoyer($v['nbreTransactionFamille']));
|
||||
|
||||
$plafond = ($this->nettoyer($v['forfaitPlafond'])=="9999999999") ? _("Illimité"): format_N($this->nettoyer($v['forfaitPlafond']));
|
||||
$transac = ($this->nettoyer($v['nbreTransaction'])=="999") ? _("Illimité"): format_N($this->nettoyer($v['nbreTransaction']));
|
||||
$plafond = ($this->nettoyer($v['forfaitPlafond'])=="9999999999") ? _("Illimité"): format_N($this->nettoyer($v['forfaitPlafond']));
|
||||
$transac = ($this->nettoyer($v['nbreTransaction'])=="999") ? _("Illimité"): format_N($this->nettoyer($v['nbreTransaction']));
|
||||
|
||||
$periodicitePlafondFamille = est_anglophone() ? $this->nettoyer($v['periodicitePlafondFamilleEng']) : $this->nettoyer($v['periodicitePlafondFamille']);
|
||||
$periodiciteFamille = est_anglophone() ? $this->nettoyer($v['periodiciteFamilleEng']) : $this->nettoyer($v['periodiciteFamille']);
|
||||
$periodicitePlafond = est_anglophone() ? $this->nettoyer($v['periodicitePlafondEng']) : $this->nettoyer($v['periodicitePlafond']);
|
||||
$periodicite = est_anglophone() ? $this->nettoyer($v['periodiciteEng']) : $this->nettoyer($v['periodicite']);
|
||||
?>
|
||||
|
||||
<tr class="text-center <?= ($supprime == '1') ? 'table-danger opacity-50' : ''; ?>">
|
||||
<td class="fw-bold text-nowrap"><?= datefr($this->nettoyer($v['dateEffet'])); ?></td>
|
||||
|
||||
<td class="bg-info-subtle small"><?= $plafondFamille; ?></td>
|
||||
<td class="bg-info-subtle small"><?= $this->nettoyer($v['codePeriodicitePlafondFamille']);?></td>
|
||||
<td class="bg-info-subtle small"><?= $periodicitePlafondFamille;?></td>
|
||||
<td class="bg-info-subtle small"><?= $transacFamille;?></td>
|
||||
<td class="bg-info-subtle small"><?= $this->nettoyer($v['codePeriodiciteFamille']);?></td>
|
||||
<td class="bg-info-subtle small"><?= $periodiciteFamille;?></td>
|
||||
|
||||
<td class="bg-warning-subtle small"><?= $plafond;?></td>
|
||||
<td class="bg-warning-subtle small"><?= $this->nettoyer($v['codePeriodicitePlafond']);?></td>
|
||||
<td class="bg-warning-subtle small"><?= $periodicitePlafond;?></td>
|
||||
<td class="bg-warning-subtle small"><?= $transac;?></td>
|
||||
<td class="bg-warning-subtle small"><?= $this->nettoyer($v['codePeriodicite']); ?></td>
|
||||
<td class="bg-warning-subtle small"><?= $periodicite; ?></td>
|
||||
|
||||
<td class="small fw-bold text-primary"><?= $this->nettoyer($v['codeTypeRemboursement']); ?></td>
|
||||
<td><?= $this->nettoyer($v['delaiCarenceFamilleActe']);?> m</td>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user