This commit is contained in:
KANE LAZENI 2026-01-20 04:42:27 +00:00
parent c4fba9f9d5
commit 1c997e6c69
3 changed files with 12 additions and 6 deletions

View File

@ -28,7 +28,7 @@ class ControleurGcfacturescumul extends Controleur
public function index()
{
$gc = $this->gc->getListe() ;
// $gc = $this->gc->getListe() ;
$this->genererVue(array('gc' => $gc, 'periode' => $this->periode, 'exercice' => $this->exercice, 'periode2' => $this->periode2, 'exercice2' => $this->exercice2));
}

View File

@ -44,10 +44,12 @@ class Mouvementassure extends Modele {
public function getMouvementassureRhValider($codeSensMouvement, $debut, $fin)
{
$codeSensMouvement = contruireParamLike($codeSensMouvement);
$sql = 'call sp_get_mouvementassures_rh_valider(?, ?, ?, ?)';
$user = $_SESSION['login'];
$idPolice = $_SESSION['idPolice_C'];
$sql = 'call sp_get_mouvementassures_rh_valider(?, ?, ?, ?, ?)';
$resultat = $this->executerRequete($sql, array($_SESSION['idPolice_C'], $codeSensMouvement, $debut, $fin));
$resultat = $this->executerRequete($sql, array($idPolice, $codeSensMouvement, $debut, $fin, $user));
return $resultat->fetchAll(PDO::FETCH_ASSOC);
}

View File

@ -1,3 +1,7 @@
Validation
KANE
<div class="table-responsive shadow-sm rounded border animate__animated animate__fadeIn">
<table class="table table-hover align-middle mb-0 tabliste compact" style="font-size: 0.85rem;">
<thead class="table-light text-secondary">
@ -9,14 +13,14 @@
<th class="text-center border-0"><?= _("Lien") ?></th>
<th class="text-center border-0"><?= _("Saisie / Par") ?></th>
<th class="text-center border-0"><?= _("Statut") ?></th>
<th class="text-center border-0"><?= _("Validation") ?></th>
<th class="text-center border-0"><?= _("Prime Ttc") ?></th>
<th class="text-center border-0"><?= _("Choix") ?></th>
</tr>
</thead>
<tbody>
<?php foreach ($mouvementassures as $mvt):
$valide = $this->nettoyer($mvt['valide']);
$choix = $this->nettoyer($mvt['choix']);
$sensMvt = $mvt['sensMouvement']; // On suppose que '0' = Entrée, '1' = Sortie
$libelleSensMouvement = est_anglophone() ? $mvt['libelleSensMouvementEng'] : $mvt['libelleSensMouvement'];
?>