a
This commit is contained in:
parent
87233c2ded
commit
6868f99bd0
|
|
@ -68,7 +68,7 @@ class ControleurAjaxprixacte extends Controleur {
|
|||
|
||||
$infosActe = $this->acte->get_infos_acte($codeActe, $datePrestation, $prixSaisi);
|
||||
|
||||
var_dump($infosActe);
|
||||
// var_dump($infosActe);
|
||||
// exit;
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1781,12 +1781,11 @@ function ajaxinfosacte()
|
|||
function ajaxprixacte()
|
||||
{
|
||||
codeGestionBon = $("#codeGestionBon").val();
|
||||
|
||||
|
||||
codeActe = $("#codeActe").val();
|
||||
codeMedecin = $('#codeMedecin').val();
|
||||
codeSpecialite = $('#codeMedecin').val();
|
||||
|
||||
|
||||
if (codeActe<=" ")
|
||||
{
|
||||
v_msg="Veuillez s\u00e9lectionner un acte!";
|
||||
|
|
@ -1842,9 +1841,12 @@ function ajaxprixacte()
|
|||
}
|
||||
|
||||
prixSaisi = $('#prixSaisi').val();
|
||||
prixModifiable = $('#prixModifiable').val();
|
||||
|
||||
|
||||
donnees = 'codeActe='+codeActe+'&datePrestation='+datePrestation;
|
||||
donnees += '&prixSaisi='+prixSaisi;
|
||||
donnees += '&prixModifiable='+prixModifiable;
|
||||
|
||||
alert(donnees);
|
||||
|
||||
|
|
@ -1858,7 +1860,7 @@ function ajaxprixacte()
|
|||
},
|
||||
success: function(data) {
|
||||
$("#infosacte").html(data);
|
||||
$('#div_test_gabarit').html($("#infosacte").html());
|
||||
// $('#div_test_gabarit').html($("#infosacte").html());
|
||||
$("#numeroBon").val("");
|
||||
$("#codeRaisonConsultation").focus();
|
||||
$("#msgErreur").html("");
|
||||
|
|
|
|||
|
|
@ -23,153 +23,167 @@
|
|||
|
||||
$prixActeModifiable = $_SESSION['p_prixActeModifiable'];
|
||||
?>
|
||||
<div id="infosacte" style='font-size:10pt;'>
|
||||
<input class="sr-only" type="text" id="prixActe" name="prixActe" value="<?= $prixActe ?>">
|
||||
<input class="sr-only" type="text" id="prixBase" name="prixBase" value="<?= $prixBase ?>">
|
||||
<input class="sr-only" type="text" id="montantTm" name="montantTm" value="<?= $montantTm ?>">
|
||||
<input class="sr-only" type="text" id="aRembourser" name="aRembourser" value="<?= $aRembourser ?>">
|
||||
<input class="sr-only" type="text" id="depassement" name="depassement" value="<?= $depassement ?>">
|
||||
|
||||
<input class="sr-only" type="text" id="codeTypeConsultation" name="codeTypeConsultation" value="<?= $codeTypeConsultation ?>">
|
||||
|
||||
<div id="div_statutacte">
|
||||
|
||||
</div>
|
||||
|
||||
<?php
|
||||
//var_dump($depassement);
|
||||
?>
|
||||
|
||||
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
|
||||
<tbody>
|
||||
<tr>
|
||||
<?php if($soldeConsommation <= "0") : ?>
|
||||
<td width="15%" >
|
||||
<?= _("Solde plafond") ?>
|
||||
</td>
|
||||
<td align="center" width="20%">
|
||||
<INPUT class="form-control" TYPE="text" Value="<?= format_N($soldeConsommation); ?>" readonly style='font-size:14pt; font-weight:bold; color: red; text-align:center;' >
|
||||
</td>
|
||||
<?php else: ?>
|
||||
<td width="15%" >
|
||||
|
||||
</td>
|
||||
<td align="center" width="20%">
|
||||
<INPUT class="form-control" TYPE="text" Value="" readonly style='font-size:10pt; text-align:center;' >
|
||||
</td>
|
||||
<?php endif; ?>
|
||||
<input class="sr-only" type="text" id="prixActe" name="prixActe" value="<?= $prixActe ?>">
|
||||
<input class="sr-only" type="text" id="prixBase" name="prixBase" value="<?= $prixBase ?>">
|
||||
<input class="sr-only" type="text" id="montantTm" name="montantTm" value="<?= $montantTm ?>">
|
||||
<input class="sr-only" type="text" id="aRembourser" name="aRembourser" value="<?= $aRembourser ?>">
|
||||
<input class="sr-only" type="text" id="depassement" name="depassement" value="<?= $depassement ?>">
|
||||
<input class="sr-only" type="text" id="prixSaisi" name="prixSaisi" value="<?= $prixActe ?>">
|
||||
|
||||
<input class="sr-only" type="text" id="codeTypeConsultation" name="codeTypeConsultation" value="<?= $codeTypeConsultation ?>">
|
||||
|
||||
<div id="div_statutacte">
|
||||
|
||||
</div>
|
||||
|
||||
<?php
|
||||
//var_dump($depassement);
|
||||
?>
|
||||
|
||||
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
|
||||
<tbody>
|
||||
<tr>
|
||||
<?php if($soldeConsommation <= "0") : ?>
|
||||
<td width="15%" >
|
||||
<?= _("Solde plafond") ?>
|
||||
</td>
|
||||
<td align="center" width="20%">
|
||||
<INPUT class="form-control" TYPE="text" Value="<?= format_N($soldeConsommation); ?>" readonly style='font-size:14pt; font-weight:bold; color: red; text-align:center;' >
|
||||
</td>
|
||||
<?php else: ?>
|
||||
<td width="15%" >
|
||||
|
||||
</td>
|
||||
<td align="center" width="20%">
|
||||
<INPUT class="form-control" TYPE="text" Value="" readonly style='font-size:10pt; text-align:center;' >
|
||||
</td>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if($soldeNbreTransaction <= "0") : ?>
|
||||
<td width="15%" align="center" >
|
||||
<?= _("Solde nombre prestation") ?>
|
||||
</td>
|
||||
|
||||
<td align="center" width="20%">
|
||||
<INPUT class="form-control" TYPE="text" Value="<?= $soldeNbreTransaction ?>" readonly style='font-size:14pt; font-weight:bold; color: red; text-align:center;' >
|
||||
</td>
|
||||
|
||||
<?php else: ?>
|
||||
<td width="15%" align="center" >
|
||||
|
||||
</td>
|
||||
|
||||
<td align="center" width="20%">
|
||||
<INPUT class="form-control" TYPE="text" Value="" readonly style='font-size:10pt; text-align:center;' >
|
||||
</td>
|
||||
<?php endif; ?>
|
||||
<?php if($_SESSION['p_bareme']['bareme_forfaitTm'] > "0"):?>
|
||||
<td width="15%" align="center" >
|
||||
<?= _("Ticket Modérateur (Forfait)") ?>
|
||||
</td>
|
||||
<td width="20%">
|
||||
<input class="form-control" style="text-align: center; font-size:10pt;'" type="text" value="<?= format_N($forfaitTm) ?>" disabled >
|
||||
</td>
|
||||
<?php else:?>
|
||||
<td width="15%" align="center" >
|
||||
<?= _("Ticket Modérateur (%)") ?>
|
||||
</td>
|
||||
<td width="20%">
|
||||
<input class="form-control" style="text-align: center; font-size:10pt;'" type="number" value="<?= round($_SESSION['p_bareme']['bareme_ticketModerateur']) ?>" disabled >
|
||||
</td>
|
||||
<?php endif;?>
|
||||
</tr>
|
||||
|
||||
<?php if($soldeNbreTransaction <= "0") : ?>
|
||||
<td width="15%" align="center" >
|
||||
<?= _("Solde nombre prestation") ?>
|
||||
|
||||
<tr>
|
||||
<?php if($depassement>"0") : ?>
|
||||
<td width="15%" style="font-weight:bold;">
|
||||
<input class="form-control" style="border:none; background-color:transparent !important;" type="text" value="" readonly >
|
||||
<input class="form-control" style="border:none; background-color:transparent !important;;" type="text" value="" readonly >
|
||||
<?= _("Réclamé") ?>
|
||||
</td>
|
||||
|
||||
<td align="center" width="20%">
|
||||
<INPUT class="form-control" TYPE="text" Value="<?= $soldeNbreTransaction ?>" readonly style='font-size:14pt; font-weight:bold; color: red; text-align:center;' >
|
||||
</td>
|
||||
|
||||
<?php else: ?>
|
||||
<td width="15%" align="center" >
|
||||
|
||||
</td>
|
||||
|
||||
<td align="center" width="20%">
|
||||
<INPUT class="form-control" TYPE="text" Value="" readonly style='font-size:10pt; text-align:center;' >
|
||||
</td>
|
||||
<?php endif; ?>
|
||||
<?php if($_SESSION['p_bareme']['bareme_forfaitTm'] > "0"):?>
|
||||
<td width="15%" align="center" >
|
||||
<?= _("Ticket Modérateur (Forfait)") ?>
|
||||
</td>
|
||||
<td width="20%">
|
||||
<input class="form-control" style="text-align: center; font-size:10pt;'" type="text" value="<?= format_N($forfaitTm) ?>" disabled >
|
||||
</td>
|
||||
<?php else:?>
|
||||
<td width="15%" align="center" >
|
||||
<?= _("Ticket Modérateur (%)") ?>
|
||||
</td>
|
||||
<td width="20%">
|
||||
<input class="form-control" style="text-align: center; font-size:10pt;'" type="number" value="<?= round($_SESSION['p_bareme']['bareme_ticketModerateur']) ?>" disabled >
|
||||
</td>
|
||||
<?php endif;?>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<?php if($depassement>"0") : ?>
|
||||
<td width="15%" style="font-weight:bold;">
|
||||
<input class="form-control" style="border:none; background-color:transparent !important;" type="text" value="" readonly >
|
||||
<input class="form-control" style="border:none; background-color:transparent !important;;" type="text" value="" readonly >
|
||||
<?= _("Réclamé") ?>
|
||||
</td>
|
||||
<td width="20%" >
|
||||
<input class="form-control" style="border:none; background-color:transparent !important;" type="text" value="" readonly >
|
||||
<input class="form-control" style="border:none; background-color:transparent !important;" type="text" value="" readonly >
|
||||
|
||||
<?php if($prixActeModifiable=="1") : ?>
|
||||
<input class="form-control" type="number" id="prixSaisi" name="prixSaisi" value="<?= $prixActe ?>" onchange="modifier_prix_acte();" >
|
||||
<?php else: ?>
|
||||
<button id="prixActe_info" name="prixActe_info" TYPE="button" class="form-control button" style="text-align: center; font-size:10pt; font-weight:bold; background-color:#5f9ea0; color:white;" title="<?= _("Voir le tarif appliqué") ?>" onclick='javascript:tarif_applique("<?=$tarif ?>");'>
|
||||
<i class="fa fa-hand-pointer-o pull-right" ></i>
|
||||
<?= format_N($prixActe + 100000) ?>
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td width="20%" >
|
||||
<input class="form-control" style="border:none; background-color:transparent !important;" type="text" value="" readonly >
|
||||
<input class="form-control" style="border:none; background-color:transparent !important;" type="text" value="" readonly >
|
||||
|
||||
<td width="15%" align="center">
|
||||
<input class="form-control" style="text-align: center; font-size:10pt; border:none; background-color:transparent !important;" type="text" value="<?= _("Montant TM") ?>" readonly >
|
||||
<input class="form-control" style="text-align: center; font-size:10pt; border:none; background-color:transparent !important;;" type="text" value="<?= _("Dépassement") ?>" readonly >
|
||||
<input class="form-control" style="text-align: center; font-size:10pt; font-weight:bold; border:none; background-color:transparent !important;;" type="text" value="<?= _("Part Assuré") ?>" readonly >
|
||||
</td>
|
||||
<td width="20%" >
|
||||
<input class="form-control" style="text-align: center; font-size:10pt;" type="text" value="<?= format_N($montantTm) ?>" readonly >
|
||||
<input id="depassement_info" name="depassement_info" class="form-control" style="text-align: center; font-size:10pt;" type="text" value="<?= format_N($depassement) ?>" readonly >
|
||||
<input id="partassure_info" name="partassure_info" class="form-control" style="text-align: center; font-size:10pt; font-weight:bold; background-color:#ba74d4 !important; color:white;" type="text" value="<?= format_N($montantTm+$depassement) ?>" readonly >
|
||||
</td>
|
||||
|
||||
<td width="15%" align="center" style="font-weight:bold;">
|
||||
<input class="form-control" style="border:none; background-color:transparent !important;" type="text" value="" readonly >
|
||||
<input class="form-control" style="border:none; background-color:transparent !important;;" type="text" value="" readonly >
|
||||
<?= _("A Rembourser") ?>
|
||||
</td>
|
||||
<td width="20%" >
|
||||
<input class="form-control" style="border:none; background-color:transparent !important;" type="text" value="" readonly >
|
||||
<input class="form-control" style="border:none; background-color:transparent !important;" type="text" value="" readonly >
|
||||
<input id="aRembourser_info" name="aRembourser_info" class="form-control" style="text-align: center; font-size:10pt; font-weight:bold;" type="text" value="<?= format_N($aRembourser) ?>" readonly >
|
||||
</td>
|
||||
<?php else: ?>
|
||||
<td width="15%" style="font-weight:bold;"> <?= _("Réclamé") ?> </td>
|
||||
<td width="20%" >
|
||||
<?php if($prixActeModifiable=="1") : ?>
|
||||
<input class="form-control" type="number" id="prixSaisi" name="prixSaisi" value="<?= $prixActe ?>" onchange="modifier_prix_acte();" >
|
||||
<?php else: ?>
|
||||
<?php if($prixActeModifiable=="1") : ?>
|
||||
<input class="form-control" type="number" id="prixModifiable" name="prixModifiable" value="<?= $prixActe ?>" onchange="modifier_prix_acte();" >
|
||||
|
||||
<button id="prixActe_info" name="prixActe_info" TYPE="button" class="sr-only" style="text-align: center; font-size:10pt; font-weight:bold; background-color:#5f9ea0; color:white;" >
|
||||
<i class="fa fa-hand-pointer-o pull-right" ></i>
|
||||
<?= format_N($prixActe) ?>
|
||||
</button>
|
||||
<?php else: ?>
|
||||
<button id="prixActe_info" name="prixActe_info" TYPE="button" class="form-control button" style="text-align: center; font-size:10pt; font-weight:bold; background-color:#5f9ea0; color:white;" title="<?= _("Voir le tarif appliqué") ?>" onclick='javascript:tarif_applique("<?=$tarif ?>");'>
|
||||
<i class="fa fa-hand-pointer-o pull-right" ></i>
|
||||
<?= format_N($prixActe) ?>
|
||||
</button>
|
||||
<input class="sr-only" type="number" id="prixModifiable" name="prixModifiable" value="<?= $prixActe ?>" >
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
|
||||
<td width="15%" align="center">
|
||||
<input class="form-control" style="text-align: center; font-size:10pt; border:none; background-color:transparent !important;" type="text" value="<?= _("Montant TM") ?>" readonly >
|
||||
<input class="form-control" style="text-align: center; font-size:10pt; border:none; background-color:transparent !important;;" type="text" value="<?= _("Dépassement") ?>" readonly >
|
||||
<input class="form-control" style="text-align: center; font-size:10pt; font-weight:bold; border:none; background-color:transparent !important;;" type="text" value="<?= _("Part Assuré") ?>" readonly >
|
||||
</td>
|
||||
<td width="20%" >
|
||||
<input class="form-control" style="text-align: center; font-size:10pt;" type="text" value="<?= format_N($montantTm) ?>" readonly >
|
||||
<input id="depassement_info" name="depassement_info" class="form-control" style="text-align: center; font-size:10pt;" type="text" value="<?= format_N($depassement) ?>" readonly >
|
||||
<input id="partassure_info" name="partassure_info" class="form-control" style="text-align: center; font-size:10pt; font-weight:bold; background-color:#ba74d4 !important; color:white;" type="text" value="<?= format_N($montantTm+$depassement) ?>" readonly >
|
||||
</td>
|
||||
|
||||
<td width="15%" align="center" style="font-weight:bold;">
|
||||
<input class="form-control" style="border:none; background-color:transparent !important;" type="text" value="" readonly >
|
||||
<input class="form-control" style="border:none; background-color:transparent !important;;" type="text" value="" readonly >
|
||||
<?= _("A Rembourser") ?>
|
||||
</td>
|
||||
<td width="20%" >
|
||||
<input class="form-control" style="border:none; background-color:transparent !important;" type="text" value="" readonly >
|
||||
<input class="form-control" style="border:none; background-color:transparent !important;" type="text" value="" readonly >
|
||||
<input id="aRembourser_info" name="aRembourser_info" class="form-control" style="text-align: center; font-size:10pt; font-weight:bold;" type="text" value="<?= format_N($aRembourser) ?>" readonly >
|
||||
</td>
|
||||
<?php else: ?>
|
||||
<td width="15%" style="font-weight:bold;"> <?= _("Réclamé") ?> </td>
|
||||
<td width="20%" >
|
||||
<?php if($prixActeModifiable=="1") : ?>
|
||||
<input class="form-control" type="number" id="prixModifiable" name="prixModifiable" value="<?= $prixActe ?>" onchange="modifier_prix_acte();" >
|
||||
|
||||
<button id="prixActe_info" name="prixActe_info" TYPE="button" class="sr-only">
|
||||
<i class="fa fa-hand-pointer-o pull-right" ></i>
|
||||
<?= format_N($prixActe) ?>
|
||||
</button>
|
||||
|
||||
<?php else: ?>
|
||||
<button id="prixActe_info" name="prixActe_info" TYPE="button" class="form-control span_link" style="text-align: center; font-size:10pt; font-weight:bold;" title="<?= _("Voir le tarif appliqué") ?>" onclick='javascript:tarif_applique("<?=$tarif ?>");'>
|
||||
<i class="fa fa-hand-pointer-o pull-right" ></i>
|
||||
<?= format_N($prixActe) ?>
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
|
||||
</td>
|
||||
|
||||
<td width="15%" align="center" style="font-weight:bold;"> <?= _("Part assuré") ?> </td>
|
||||
<td width="20%" > <input id="montantTm_info" name="montantTm_info" class="form-control" style="text-align: center; font-size:10pt; font-weight:bold; color:red;" type="text" value="<?= format_N($montantTm) ?>" readonly ></td>
|
||||
<input class="sr-only" type="number" id="prixModifiable" name="prixModifiable" value="<?= $prixActe ?>" >
|
||||
|
||||
<td width="15%" align="center" style="font-weight:bold;"> <?= _("A Rembourser") ?> </td>
|
||||
<td width="20%" > <input id="aRembourser_info" name="aRembourser_info" class="form-control" style="text-align: center; font-size:10pt; font-weight:bold;" type="text" value="<?= format_N($aRembourser) ?>" readonly ></td>
|
||||
<?php endif; ?>
|
||||
</tr>
|
||||
|
||||
<?php if($depassement>"0") : ?>
|
||||
<tr>
|
||||
<td ><?= _("Motif Dépassement") ?></td>
|
||||
<td colspan="5">
|
||||
<input class="form-control" style="text-align: center; font-size:10pt; font-weight:bold; background-color:red !important; color:white;" type="text" value="<?= $motif ?>" readonly >
|
||||
<?php endif; ?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
<td width="15%" align="center" style="font-weight:bold;"> <?= _("Part assuré") ?> </td>
|
||||
<td width="20%" > <input id="montantTm_info" name="montantTm_info" class="form-control" style="text-align: center; font-size:10pt; font-weight:bold; color:red;" type="text" value="<?= format_N($montantTm) ?>" readonly ></td>
|
||||
|
||||
<td width="15%" align="center" style="font-weight:bold;"> <?= _("A Rembourser") ?> </td>
|
||||
<td width="20%" > <input id="aRembourser_info" name="aRembourser_info" class="form-control" style="text-align: center; font-size:10pt; font-weight:bold;" type="text" value="<?= format_N($aRembourser) ?>" readonly ></td>
|
||||
<?php endif; ?>
|
||||
</tr>
|
||||
|
||||
<?php if($depassement>"0") : ?>
|
||||
<tr>
|
||||
<td ><?= _("Motif Dépassement") ?></td>
|
||||
<td colspan="5">
|
||||
<input class="form-control" style="text-align: center; font-size:10pt; font-weight:bold; background-color:red !important; color:white;" type="text" value="<?= $motif ?>" readonly >
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -509,7 +509,7 @@ p_prixActeModifiable
|
|||
<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="<?= 98989 ?>">
|
||||
<input class="sr-only" type="text" id="prixSaisi" name="prixSaisi" value="0">
|
||||
|
||||
<?php
|
||||
$prixActeConsultation = isset($_SESSION['prixActeConsultation'])? $_SESSION['prixActeConsultation']:"0";
|
||||
|
|
@ -520,7 +520,7 @@ p_prixActeModifiable
|
|||
<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="number" id="prixSaisi" name="prixSaisi" value="99999" 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="prixSai" name="prixSaisi" value="99999" 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>
|
||||
|
|
|
|||
|
|
@ -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.00"></script>
|
||||
<script src="Js/fonctions.js?ver=2026.03.10.01"></script>
|
||||
<script src="Bootstrap/js/bootstrap.min.js"></script>
|
||||
|
||||
<script src="https://unpkg.com/vue@3/dist/vue.global.prod.js"></script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user