a
This commit is contained in:
parent
47aa3d8f73
commit
49926579a2
|
|
@ -65,7 +65,6 @@ class ControleurAjaxselectactesmedicauxhospitalisation extends Controleur {
|
|||
|
||||
$tauxCouverture = (100-$tm)."%";//$this->acte->tauxCouverture($tMGarantie);
|
||||
|
||||
|
||||
if($codeActe == ""){
|
||||
$plafondActeHospit = "9999999999";
|
||||
$plafondActeHospitFamille = "9999999999";
|
||||
|
|
@ -93,12 +92,10 @@ class ControleurAjaxselectactesmedicauxhospitalisation extends Controleur {
|
|||
$this->garantie->baremesolde($idBeneficiaire,$codeActe,$codeGarantie,$numeroFeuilleMaladie);
|
||||
$baremesolde = $this->garantie->getbaremesolde($idBeneficiaire,$codeActe,$codeGarantie,$numeroFeuilleMaladie);
|
||||
|
||||
|
||||
$soldeConsommation = $baremesolde['soldeConsommation'] - $hospit_total['montantArembourser'];
|
||||
|
||||
$prixChambre = $this->prestation->getprixchambrehospitalisation($numeroFeuilleMaladie, $codePrestataire);
|
||||
|
||||
|
||||
$prestations = $this->prestation->getactesmedicauxhospitalisation($numeroFeuilleMaladie, $codePrestataire);
|
||||
$prestations_total = $this->prestation->getactesmedicauxhospitalisation_total($numeroFeuilleMaladie, $codePrestataire);
|
||||
|
||||
|
|
@ -110,12 +107,14 @@ class ControleurAjaxselectactesmedicauxhospitalisation extends Controleur {
|
|||
|
||||
$nbreActesSansPrix = $this->prestation->getNbreActesSansPrix($numeroFeuilleMaladie, $feuillemaladie['idProlongation']);
|
||||
|
||||
$prixActeModifiable = $_SESSION['p_prixActeModifiable'];
|
||||
|
||||
$this->genererVueAjax(array('feuillemaladie' => $feuillemaladie, 'prestations' => $prestations,
|
||||
'prestations_total' => $prestations_total, 'plafondHospitalisation' => $plafondHospitalisation,
|
||||
'tauxCouverture' => $tauxCouverture, 'act_periodicite' => $periodicite, 'act_periodiciteEng' => $periodiciteEng,
|
||||
'typeHospitalisation' => $typeHospitalisation, 'soldeConsommation' => $soldeConsommation, 'hospit_total' => $hospit_total,
|
||||
'nbreTotalActes' => $nbreTotalActes, 'plafondActeHospit' => $plafondActeHospit, 'listeProlongations' => $listeProlongations,
|
||||
'nbreActesSansPrix' => $nbreActesSansPrix, 'prixChambre' => $prixChambre));
|
||||
'nbreActesSansPrix' => $nbreActesSansPrix, 'prixChambre' => $prixChambre, 'prixActeModifiable' => $prixActeModifiable));
|
||||
}
|
||||
|
||||
public function enregistreractemedical()
|
||||
|
|
|
|||
174
Js/fonctions.js
174
Js/fonctions.js
|
|
@ -5369,16 +5369,11 @@ function facturer_cso(user_id)
|
|||
type: 'POST',
|
||||
data: donnees_substitut,
|
||||
success: function(data) {
|
||||
// KANE 17/03/2025 => ne pas envoyer de SMS d'alerte de facturation
|
||||
// preparesms_adherent(typeSms);
|
||||
},
|
||||
error: function(data) {
|
||||
},
|
||||
complete: function()
|
||||
{
|
||||
// KANE 17/03/2025 => ne pas envoyer de mail d'alerte de facturation
|
||||
// preparemail_adherent(typeSms);
|
||||
|
||||
v_msg="Facturation d\u00e9finitive effectu\u00e9e avec succès!";
|
||||
v_msgEng="Final invoicing successfully completed!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
|
@ -15600,56 +15595,6 @@ function ajax_maj_qte_acte_miseenobservation(idDetail, quantite, controle)
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
function ajax_maj_prix_acte_hospitalisation(idPrestationactes, valeurActe, controle)
|
||||
{
|
||||
|
||||
valeurActe=valeurActe.replace(",",".");
|
||||
controle.value=valeurActe;
|
||||
|
||||
valeurActe=valeurActe.replace(/ /g,"");
|
||||
valeurActe=parseInt(valeurActe.replace(",","."),10);
|
||||
controle.value=valeurActe;
|
||||
|
||||
if(controle_numerique(controle))
|
||||
{
|
||||
/*
|
||||
if(valeurActe==0)
|
||||
{
|
||||
controle.focus();
|
||||
v_msg="Veuillez saisir le prix!";
|
||||
v_msgEng="Please enter the price!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
return;
|
||||
}
|
||||
*/
|
||||
donnees = 'idPrestationactes='+idPrestationactes+"&valeurActe="+valeurActe;
|
||||
|
||||
//donnee_a_affciher = "";
|
||||
|
||||
//$("#div_prestations").html('<div style="text-align:center; color: #4caf50 ; font-size:14px;"><span><i class="fa fa-spinner fa-spin fa-5x" >' + '</span></div>');
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxselectactesmedicauxhospitalisation/majvaleuracte/",
|
||||
type: 'POST',
|
||||
data: donnees,
|
||||
success: function(data) {
|
||||
//prestations_hospitalisation();
|
||||
},
|
||||
error: function(data) {
|
||||
},
|
||||
complete: function() {
|
||||
|
||||
ajaxactespossibles_selection_hospitalisation();
|
||||
//afficherPlafondHospitalisation();
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Valide la sélection d'un acte médical avec vérification des prérequis
|
||||
* et gestion des ententes préalables si nécessaire.
|
||||
|
|
@ -15820,52 +15765,6 @@ async function supprimer_acte_medical_hospitalisation(idPrestationactes, codeTyp
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
function ajax_maj_qte_acte_hospitalisation(idPrestationactes, quantite, controle)
|
||||
{
|
||||
quantite=quantite.replace(",",".");
|
||||
controle.value=quantite;
|
||||
|
||||
if(controle_numerique(controle))
|
||||
{
|
||||
if(quantite==0)
|
||||
{
|
||||
controle.focus();
|
||||
v_msg="Veuillez saisir la quantit\u00e9!";
|
||||
v_msgEng="Please enter the quantity!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
donnees = 'idPrestationactes='+idPrestationactes+"&quantite="+quantite;
|
||||
|
||||
//donnee_a_affciher = "";
|
||||
|
||||
donnees = 'idPrestationactes='+idPrestationactes+"&quantite="+quantite;
|
||||
|
||||
|
||||
//$("#div_prestations").html('<div style="text-align:center; color: #4caf50 ; font-size:14px;"><span><i class="fa fa-spinner fa-spin fa-5x" >' + '</span></div>');
|
||||
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxselectactesmedicauxhospitalisation/majquantite/",
|
||||
type: 'POST',
|
||||
data: donnees,
|
||||
success: function(data) {
|
||||
//prestations_hospitalisation();
|
||||
},
|
||||
error: function(data) {
|
||||
},
|
||||
complete: function() {
|
||||
ajaxactespossibles_selection_hospitalisation();
|
||||
//afficherPlafondHospitalisation();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function prestations_hospitalisation(){
|
||||
|
||||
$.ajax({
|
||||
|
|
@ -28821,3 +28720,76 @@ function ajaxprixseancesea()
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
function ajax_maj_qte_acte_hospitalisation(idPrestationactes, quantite, controle)
|
||||
{
|
||||
quantite=quantite.replace(",",".");
|
||||
controle.value=quantite;
|
||||
|
||||
if(controle_numerique(controle))
|
||||
{
|
||||
if(quantite==0)
|
||||
{
|
||||
controle.focus();
|
||||
v_msg="Veuillez saisir la quantit\u00e9!";
|
||||
v_msgEng="Please enter the quantity!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
donnees = 'idPrestationactes='+idPrestationactes+"&quantite="+quantite;
|
||||
|
||||
//donnee_a_affciher = "";
|
||||
|
||||
donnees = 'idPrestationactes='+idPrestationactes+"&quantite="+quantite;
|
||||
|
||||
|
||||
//$("#div_prestations").html('<div style="text-align:center; color: #4caf50 ; font-size:14px;"><span><i class="fa fa-spinner fa-spin fa-5x" >' + '</span></div>');
|
||||
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxselectactesmedicauxhospitalisation/majquantite/",
|
||||
type: 'POST',
|
||||
data: donnees,
|
||||
success: function(data) {
|
||||
//prestations_hospitalisation();
|
||||
},
|
||||
error: function(data) {
|
||||
},
|
||||
complete: function() {
|
||||
ajaxactespossibles_selection_hospitalisation();
|
||||
//afficherPlafondHospitalisation();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function ajax_maj_prix_acte_hospitalisation(idPrestationactes, valeurActe, controle)
|
||||
{
|
||||
valeurActe=valeurActe.replace(",",".");
|
||||
controle.value=valeurActe;
|
||||
|
||||
valeurActe=valeurActe.replace(/ /g,"");
|
||||
valeurActe=parseInt(valeurActe.replace(",","."),10);
|
||||
controle.value=valeurActe;
|
||||
|
||||
if(controle_numerique(controle))
|
||||
{
|
||||
donnees = 'idPrestationactes='+idPrestationactes+"&valeurActe="+valeurActe;
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxselectactesmedicauxhospitalisation/majvaleuracte/",
|
||||
type: 'POST',
|
||||
data: donnees,
|
||||
success: function(data) {
|
||||
},
|
||||
error: function(data) {
|
||||
},
|
||||
complete: function() {
|
||||
|
||||
ajaxactespossibles_selection_hospitalisation();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
9
Js/fonctions.min.js
vendored
9
Js/fonctions.min.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -46,11 +46,10 @@
|
|||
|
||||
$tmHospitalisation = $this->nettoyer($feuillemaladie['tmHospitalisation']);
|
||||
$typeHospitInit = $typeHospitInit =='' ? $typeHospit: $typeHospitInit;
|
||||
|
||||
|
||||
$totalHospitalisation = $hospit_total['fraisReel'];
|
||||
|
||||
$avisHospitalisation = $this->nettoyer($feuillemaladie['avisHospitalisation']);
|
||||
|
||||
$prixActeModifiable = $_SESSION['p_prixActeModifiable'];
|
||||
?>
|
||||
|
||||
<input class="sr-only" id="avisHospitalisation" name="avisHospitalisation" type="text" value= "<?= $avisHospitalisation; ?>" >
|
||||
|
|
@ -240,7 +239,7 @@
|
|||
<th width="5%" style='text-align:center'> <?= _("Suppr") ?> </th>
|
||||
<th style="text-align:center"> <?= _("Acte <b> - [Plafond]</b>") ?> </th>
|
||||
<th width="5%" style="text-align:center"> <?= _("Accord") ?> </th>
|
||||
<th style="text-align:center"> <?= _("PU Réclamé KANE") ?> </th>
|
||||
<th style="text-align:center"> <?= _("PU Réclamé AJAX") ?> </th>
|
||||
<th style="text-align:center"> <?= _("PU Appliqué") ?> </th>
|
||||
<th width="5%" style="text-align:center"> <?= _("Qté") ?> </th>
|
||||
<th style="text-align:center"> <?= _("PT Réclamé") ?> </th>
|
||||
|
|
@ -291,10 +290,7 @@
|
|||
$ententePrealable=$this->nettoyer($prestation['ententePrealable']);
|
||||
$autorisation=$this->nettoyer($prestation['autorisation']);
|
||||
$codeTarifActe=$this->nettoyer($prestation['codeTarifActe']);
|
||||
|
||||
|
||||
$valeurActeManuel = $this->nettoyer($prestation['valeurActeManuel']);
|
||||
|
||||
$libelleConsommable=$this->nettoyer($prestation['libelleConsommable']);
|
||||
|
||||
if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US")
|
||||
|
|
@ -320,9 +316,6 @@
|
|||
|
||||
$plafondActe = $this->nettoyer($prestation['plafondActe']);
|
||||
|
||||
//var_dump($plafondActe);
|
||||
|
||||
|
||||
$plafond = (($plafondActe == $valeurActe) && ($valeurActe > "0"))?"1":"0";
|
||||
|
||||
if ($plafondActe > "0" && $plafondActe !="9999999999"){
|
||||
|
|
@ -333,16 +326,11 @@
|
|||
|
||||
$prixTarif = $this->nettoyer($prestation['prixTarif']);
|
||||
|
||||
//var_dump($tarif);
|
||||
|
||||
if($modeSaisieFacture=="1")
|
||||
{
|
||||
$supprimable = "1";
|
||||
//$facture = '0';
|
||||
}
|
||||
|
||||
//sp_p_miseaniveau_hospitalisation
|
||||
|
||||
$codeMotifDepassement = $this->nettoyer($prestation['codeMotifDepassement']);
|
||||
|
||||
$motif = $this->nettoyer($prestation['motif']);
|
||||
|
|
@ -354,7 +342,6 @@
|
|||
|
||||
$acteChambre = $this->nettoyer($prestation['acteChambre']);
|
||||
|
||||
//var_dump($codeMotifDepassement);
|
||||
?>
|
||||
<tr valign="top">
|
||||
<?php if ($supprimable=="0" || $facture=='1' || $bonCaduc=='1' || $ententePrealable=='1'): ?>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<script src="Bootstrap/js/jquery.min.js"></script>
|
||||
<script src="Bootstrap/js/jquery-1.9.1.min.js"></script>
|
||||
<script src="Bootstrap/js/jquery-ui.js"></script>
|
||||
<script src="Js/fonctions.js?ver=2023.03.19.325"></script>
|
||||
<script src="Js/fonctions.js?ver=2026.03.14.00"></script>
|
||||
|
||||
<?php $this->titre = "INTER-SANTE - Hospitalisation";
|
||||
$numeroBonHospitalisation = $feuillemaladie['numeroBonHospitalisation'];
|
||||
|
|
@ -26,7 +26,6 @@
|
|||
|
||||
}
|
||||
|
||||
|
||||
if($derniereDateProlongation=="0"){
|
||||
$dateFinHospitProlongation = date('d/m/Y', strtotime($dateFinHospit. ' + 1 days'));
|
||||
}else{
|
||||
|
|
@ -62,21 +61,6 @@
|
|||
|
||||
$avisHospitalisation = $feuillemaladie['avisHospitalisation'];
|
||||
|
||||
//var_dump($optionHospitalisation);
|
||||
/*
|
||||
if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US")
|
||||
{
|
||||
$typeHospitInit = $this->nettoyer($feuillemaladie['typeHospitInitEng']);
|
||||
$typeHospit = $this->nettoyer($feuillemaladie['typeHospitEng']);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
$typeHospitInit = $this->nettoyer($feuillemaladie['typeHospitInit']);
|
||||
$typeHospit = $this->nettoyer($feuillemaladie['typeHospit']);
|
||||
|
||||
}
|
||||
*/
|
||||
$codeLienParente = $_SESSION['p_codeLienParente_C'];
|
||||
$sexe = $_SESSION['p_sexe_C'];
|
||||
|
||||
|
|
@ -95,8 +79,8 @@
|
|||
$legende = ($optionHospitalisation=="option-1") ? "Hospitalisation Médicale" : "Hospitalisation Chirurgicale";
|
||||
}
|
||||
|
||||
|
||||
|
||||
$prixActeModifiable = $_SESSION['p_prixActeModifiable'];
|
||||
echo "prixActeModifiable => $prixActeModifiable";
|
||||
?>
|
||||
|
||||
<input class="sr-only" id="avisHospitalisation" name="avisHospitalisation" type="text" value= "<?= $avisHospitalisation; ?>" >
|
||||
|
|
@ -723,7 +707,7 @@
|
|||
<th width="5%" style='text-align:center'> <?= _("Suppr") ?> </th>
|
||||
<th style="text-align:center"> <?= _("Acte <b> - [Plafond]</b>") ?> </th>
|
||||
<th width="5%" style="text-align:center"> <?= _("Accord") ?> </th>
|
||||
<th style="text-align:center"> <?= _("PU Réclamé Chambre") ?> </th>
|
||||
<th style="text-align:center"> <?= _("PU Réclamé") ?> </th>
|
||||
<th style="text-align:center"> <?= _("PU Appliqué") ?> </th>
|
||||
<th width="5%" style="text-align:center"> <?= _("Qté") ?> </th>
|
||||
<th style="text-align:center"> <?= _("PT Réclamé") ?> </th>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user