This commit is contained in:
KANE LAZENI 2026-04-21 03:46:33 +00:00
parent 610be49ad5
commit d88b9384aa
5 changed files with 5 additions and 28 deletions

View File

@ -22,7 +22,6 @@ class ControleurAjaxstatutacte extends Controleur {
$codeGarantie = $this->acte->getGarantieActe($codeActe);
$csrf_token = trim($this->requete->getParametreFormulaire("csrf_token"));
if (!Csrf::validateToken($csrf_token)) {
@ -30,7 +29,7 @@ class ControleurAjaxstatutacte extends Controleur {
$statut = "99";
$motif = $this->garantie->getlibellemotifdepassement($statut);
$this->genererVueAjax(array(
'statut' => $statut,
'motif' => $motif,

View File

@ -23469,7 +23469,7 @@ function enregistrer_consultation()
var libelleMotif = $("#libelleMotif").val();
var libelleMotifEng = $("#libelleMotifEng").val();
alert("statut => "+statut);
// alert("statut => "+statut);
if(statut != "1")
{
@ -28844,6 +28844,6 @@ function charger_csrf_token(v_data)
}else{
v_data += '&csrf_token=' + csrf_token;
}
alert("charger_csrf_token => "+v_data);
// alert("charger_csrf_token => "+v_data);
return v_data;
}

View File

@ -5,8 +5,6 @@
if (est_anglophone()){
$libelleDerogation = $motif['libelleEng'];
}
//
//var_dump($_SESSION["proforma"]);
?>
<INPUT class="sr-only" id="statut" name="statut" type="text" value="<?= $statut;?>">
<INPUT class="sr-only" id="libelleMotif" name="libelleMotif" type="text" value="<?= $motif['libelle'];?>">
@ -22,12 +20,6 @@
<td>
<a href="javascript:enregistrerdemandederogationbareme('<?=$codeDerogation;?>','<?=$libelleDerogation?>', '<?=$codeActe?>', '<?=$codeGarantie?>', '<?=$derogationAccorde?>');" id="link_derogation"> <?= _("Cliquez ici pour envoyer une demande de dérogation à ".$_SESSION['p_nomSociete'].".")?> </a>
</td>
<!--
<td></td>
<td align="right">
<a class="link_derogation" href="#" ><?= _("Historique Dérogations")?></a>
</td>
-->
</tr>
</tbody>
</table>
@ -38,12 +30,6 @@
<td>
<a class="link_derogation" href="javascript:enregistrerdemandederogationbareme('<?=$codeDerogation;?>','<?=$libelleDerogation?>', '<?=$codeActe?>', '<?=$codeGarantie?>', '<?=$derogationAccorde?>');" id="link_derogation"> <?= _("La demande de dérogation est en cours de traitement. Veuillez patienter! => Actualiser...")?> </a>
</td>
<!--
<td></td>
<td align="right">
<a class="link_derogation" href="#"><?= _("Historique Demandes Dérogation")?></a>
</td>
-->
</tr>
</tbody>
</table>
@ -55,16 +41,9 @@
<a class="link_derogation" href="javascript:enregistrerdemandederogationbareme('<?=$codeDerogation;?>','<?=$libelleDerogation?>', '<?=$codeActe?>', '<?=$codeGarantie?>', '<?=$derogationAccorde?>');" id="link_derogation_refusee"> <?= _("La demande de dérogation a été refusée. Vous ne pouvez pas faire cet acte à partir du système...")?> </a>
</td>
<td></td>
<!--
<td align="right" >
<a class="link_derogation" href="#"><?= _("Historique Demandes Dérogation")?></a>
</td>
-->
</tr>
</tbody>
</table>
<?php endif; ?>
<?php endif; ?>
<?php endif; ?>

View File

@ -445,8 +445,7 @@
<input class="sr-only" type="text" id="ententePrealable" name="ententePrealable" value="0">
<!-- <input type="hidden" id="csrf_token" name="csrf_token" value="<?= htmlspecialchars($token) ?>"> -->
<input class="form-control" type="text" id="csrf_token" name="csrf_token" value="<?= htmlspecialchars($token) ?>">
<input type="hidden" id="csrf_token" name="csrf_token" value="<?= htmlspecialchars($token) ?>">
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>

View File

@ -902,7 +902,7 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/toastr@2.1.4/build/toastr.min.css" crossorigin="anonymous" />
<script src="https://cdn.jsdelivr.net/npm/toastr@2.1.4/build/toastr.min.js" crossorigin="anonymous"></script>
<script src="Js/fonctions.js?ver=2026.04.21.01"></script>
<script src="Js/fonctions.js?ver=2026.04.21.02"></script>
<script src="Bootstrap/js/bootstrap.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vue@3/dist/vue.global.prod.js"></script>