This commit is contained in:
KANE LAZENI 2026-03-10 01:22:20 +00:00
parent 9bc17aff6b
commit 906cb1954a
4 changed files with 11 additions and 20 deletions

View File

@ -27,29 +27,18 @@ class ControleurAjaxprixacte extends Controleur {
$statut = $this->garantie->getstatutacte($idBeneficiaire,$codeActe,$codeGarantie);
$baremesolde = $this->garantie->getbaremesoldeacte($idBeneficiaire,$codeActe,$codeGarantie,$datePrestation);
$tMacte = $this->acte->ticketModerateurDefinitif($codeGarantie,$codeActe,$datePrestation);
$codeTypeConsultation = $this->acte->gettype_consultation($codeActe);
//09-01-2023
$tmDerogation = $this->acte->getTmDerogation($codeGarantie);
//01-02-2023
$codeTypeRemboursement = $this->acte->getCodeTypeRemboursement($codeGarantie);
if($tmDerogation == "1000"){
$tm = $tMacte;
}else{
@ -105,8 +94,6 @@ class ControleurAjaxprixacte extends Controleur {
$fraisReelBase = $prixBase;
//$montantTm = round(($fraisReel*$tm)/100);
// prise en compte du forfait TM du barème
$montantTm = round(($fraisReel*$tm)/100)+$forfaitTm;
@ -144,7 +131,6 @@ class ControleurAjaxprixacte extends Controleur {
}
}
$this->genererVueAjax(array('prixActe' => $prixActe, 'montantTm' => $montantTm, 'aRembourser' => $aRembourser,
'prixBase' => $prixBase, 'depassement' => $depassement, 'baremesolde' => $baremesolde, 'tarif' => $tarif,
'codeTypeConsultation' => $codeTypeConsultation, 'motif' => $motif
@ -155,5 +141,4 @@ class ControleurAjaxprixacte extends Controleur {
{
$this->genererVueAjax();
}
}

View File

@ -1843,7 +1843,6 @@ function ajaxprixacte()
prixSaisi = $('#prixSaisi').val();
prixModifiable = $('#prixModifiable').val();
donnees = 'codeActe='+codeActe+'&datePrestation='+datePrestation;
donnees += '&prixSaisi='+prixSaisi;
donnees += '&prixModifiable='+prixModifiable;
@ -28750,5 +28749,10 @@ async function envoyer_demande_reconnaissance_faciale() {
}
function modifier_prix_acte() {
alert("modifier_prix_acte");
prixSaisi = $('#prixSaisi').val();
prixModifiable = $('#prixModifiable').val();
alert("prixSaisi = "+prixSaisi+" ; prixModifiable = "+prixModifiable);
// initialiser_prix_acte();
}

View File

@ -3,6 +3,8 @@
<input class="sr-only" type="number" id="aRembourser" name="aRembourser" value="0">
<input class="sr-only" type="number" id="delaiCarenceActe" name="delaiCarenceActe" value="0">
<input class="sr-only" type="text" id="ententeprealable" name="ententeprealable" value="0">
<input class="sr-only" type="text" id="prixSaisi" name="prixSaisi" value="0">
<?php
$prixActeConsultation = isset($_SESSION['prixActeConsultation'])? $_SESSION['prixActeConsultation']:"0";
$montantTmConsultation = isset($_SESSION['montantTmConsultation'])? $_SESSION['montantTmConsultation']:"0";
@ -12,7 +14,7 @@
<tbody>
<tr>
<td width="15%" > <?= _("Prix Acte") ?> </td>
<td width="20%" > <input class="form-control" style="background-color: rgb(190,190,190);text-align: center; font-size:10pt;'" type="text" value="0" readonly> </td>
<td width="20%" > <input class="form-control" style="background-color: rgb(190,190,190);text-align: center; font-size:10pt;'" type="number" id="prixModifiable" name="prixModifiable" value="0" readonly> </td>
<td width="15%" align="center"> <?= _("Montant T M") ?> </td>
<td width="20%" > <input class="form-control" style="background-color: rgb(190,190,190);text-align: center; font-size:10pt;'" type="text" value="0" readonly ></td>

View File

@ -909,7 +909,7 @@
<!--<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.css" integrity="sha512-3pIirOrwegjM6erE5gPSwkUzO+3cTjpnV9lexlNZqvupR64iZBnOOTiiLPb9M36zpMScbmUNIcHUqKD47M719g==" crossorigin="anonymous" referrerpolicy="no-referrer" />-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js" integrity="sha512-VEd+nq25CkR676O+pLBnDW09R7VQX9Mdiij052gVCp5yVH3jGtH70Ho/UUv4mJDsEdTvqRCFZg0NKGiojGnUCw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="Js/fonctions.js?ver=2026.03.10.04"></script>
<script src="Js/fonctions.js?ver=2026.03.10.05"></script>
<script src="Bootstrap/js/bootstrap.min.js"></script>
<script src="https://unpkg.com/vue@3/dist/vue.global.prod.js"></script>