a
This commit is contained in:
parent
75e8455fd8
commit
333b03d5bf
|
|
@ -37,17 +37,9 @@ class ControleurAjaxmouvementassurevalider extends Controleur {
|
|||
$this->mouvementassure->selectionner_mouvement_rh_tout($codeSensMouvement, $debut, $fin, $choix);
|
||||
}
|
||||
|
||||
public function validerselection()
|
||||
public function valider()
|
||||
{
|
||||
$this->mouvementassure->valider_factures_gc_non_sel();
|
||||
|
||||
$idGcReglement = $_SESSION['idGcReglement'];
|
||||
|
||||
$reglement = $this->mouvementassure->getgcreglement($idGcReglement);
|
||||
|
||||
$composante = $this->mouvementassure->getListeCompsanteReglement();
|
||||
|
||||
$this->genererVueAjax(array('reglement' => $reglement, 'composante' => $composante));
|
||||
$this->mouvementassure->valider_mouvements_rh();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -45374,20 +45374,18 @@ function selectionner_mouvement_rh_tout(choix)
|
|||
function valider_mouvement_rh()
|
||||
{
|
||||
v_url = $("#racineWeb").val()+"Ajaxmouvementassurevalider/valider/";
|
||||
alert(v_url);
|
||||
return;
|
||||
|
||||
$.ajax({
|
||||
url: v_url,
|
||||
type: 'POST',
|
||||
success: function(data) {
|
||||
alert(data);
|
||||
$('#div_test_gabarit').html(data);
|
||||
// alert(data);
|
||||
// $('#div_test_gabarit').html(data);
|
||||
},
|
||||
error: function(data) {
|
||||
},
|
||||
complete: function() {
|
||||
// window.location.assign($("#racineWeb" ).val()+"Mouvementsrh/");
|
||||
window.location.assign($("#racineWeb" ).val()+"Mouvementsrh/");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -99,15 +99,14 @@ class Mouvementassure extends Modele {
|
|||
}
|
||||
|
||||
|
||||
public function valider_factures_gc_non_sel()
|
||||
public function valider_mouvements_rh()
|
||||
{
|
||||
$idGcReglement = $_SESSION['idGcReglement'];
|
||||
$idSaisie = $_SESSION['idSaisie'];
|
||||
$user = $_SESSION['login'];
|
||||
$user = $_SESSION['login'];
|
||||
$idPolice = $_SESSION['idPolice_C'];
|
||||
|
||||
$sql = 'call sp_r_valider_selection_factures_gc(?, ?, ?)';
|
||||
$sql = 'call sp_r_valider_mouvements_rh(?, ?)';
|
||||
|
||||
$this->executerRequete($sql, array($idGcReglement, $idSaisie, $user));
|
||||
$this->executerRequete($sql, array($idPolice, $user));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -261,7 +261,7 @@ controlerPlafondBeneficiaire : <?= $_SESSION['controlerPlafondBeneficiaire'] ?>
|
|||
<script src="Js/datepicker-fr.js"></script>
|
||||
<?php endif; ?>
|
||||
|
||||
<script src="Js/fonctions.js?ver=2026.01.20.19"></script>
|
||||
<script src="Js/fonctions.js?ver=2026.01.20.20"></script>
|
||||
|
||||
<script src="<?= $_SESSION['dossierSociete'].'/Js/societe.js' ?>" > </script>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user