a
This commit is contained in:
parent
f45d3b98db
commit
619233cb92
|
|
@ -39,11 +39,12 @@ class ControleurAjaxprestationsprolongation extends Controleur {
|
||||||
$noChambrePro = $this->prestation->getNumeroChambrePro($idProlongation);
|
$noChambrePro = $this->prestation->getNumeroChambrePro($idProlongation);
|
||||||
$nbreActesSansPrix = $this->prestation->getNbreActesSansPrix($numeroFeuilleMaladie, $idProlongation);
|
$nbreActesSansPrix = $this->prestation->getNbreActesSansPrix($numeroFeuilleMaladie, $idProlongation);
|
||||||
|
|
||||||
|
$prixActeModifiable = $_SESSION['p_prixActeModifiable'];
|
||||||
|
|
||||||
$this->genererVueAjax(array('prolongations' => $prolongations, 'prolongations_total' => $prolongations_total,
|
$this->genererVueAjax(array('prolongations' => $prolongations, 'prolongations_total' => $prolongations_total,
|
||||||
'feuillemaladie' => $feuillemaladie, 'nbreActeEntentePrealable' => $nbreActeEntentePrealable, 'listeProlongations' => $listeProlongations,
|
'feuillemaladie' => $feuillemaladie, 'nbreActeEntentePrealable' => $nbreActeEntentePrealable, 'listeProlongations' => $listeProlongations,
|
||||||
'prixChambreProlongation' => $prixChambreProlongation, 'idProlongation' => $idProlongation, 'nbreActesSansPrix' => $nbreActesSansPrix,
|
'prixChambreProlongation' => $prixChambreProlongation, 'idProlongation' => $idProlongation, 'nbreActesSansPrix' => $nbreActesSansPrix,
|
||||||
'noChambrePro' => $noChambrePro));
|
'noChambrePro' => $noChambrePro, 'prixActeModifiable' => $prixActeModifiable));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -13,8 +13,7 @@ class ControleurAjaxselectactesmedicauxhospitalisation extends Controleur {
|
||||||
private $prestation;
|
private $prestation;
|
||||||
private $garantie;
|
private $garantie;
|
||||||
|
|
||||||
|
public function __construct() {
|
||||||
public function __construct() {
|
|
||||||
$this->feuillemaladie = new Feuillemaladie();
|
$this->feuillemaladie = new Feuillemaladie();
|
||||||
$this->acte = new Detailtarifacte();
|
$this->acte = new Detailtarifacte();
|
||||||
$this->prestation = new Prestationactes();
|
$this->prestation = new Prestationactes();
|
||||||
|
|
@ -45,8 +44,6 @@ class ControleurAjaxselectactesmedicauxhospitalisation extends Controleur {
|
||||||
|
|
||||||
$hospit_total = $this->prestation->gethospitalisation_total($numeroFeuilleMaladie);
|
$hospit_total = $this->prestation->gethospitalisation_total($numeroFeuilleMaladie);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if($feuillemaladie['optionHospitalisation'] == "option-1"){
|
if($feuillemaladie['optionHospitalisation'] == "option-1"){
|
||||||
$codeActe = "HHM";
|
$codeActe = "HHM";
|
||||||
$plafondHospitalisation = $_SESSION['p_bareme']['gar_forfaitPlafondBeneficiaire'];
|
$plafondHospitalisation = $_SESSION['p_bareme']['gar_forfaitPlafondBeneficiaire'];
|
||||||
|
|
@ -195,15 +192,10 @@ class ControleurAjaxselectactesmedicauxhospitalisation extends Controleur {
|
||||||
$numeroChambre = $this->requete->getParametreFormulaire("numeroChambre");
|
$numeroChambre = $this->requete->getParametreFormulaire("numeroChambre");
|
||||||
|
|
||||||
$this->prestation->validerhospitalisation();
|
$this->prestation->validerhospitalisation();
|
||||||
|
|
||||||
// $this->executerAction("index");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function supprimeacte()
|
public function supprimeacte()
|
||||||
{
|
{
|
||||||
|
|
||||||
$this->prestation->supprimeactesansprix();
|
$this->prestation->supprimeactesansprix();
|
||||||
|
|
||||||
// $this->executerAction("index");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -41,10 +41,7 @@
|
||||||
$bonCaduc = "0";
|
$bonCaduc = "0";
|
||||||
}
|
}
|
||||||
|
|
||||||
//var_dump($facture);
|
$prixActeModifiable = $_SESSION['p_prixActeModifiable'];
|
||||||
//var_dump($bonCaduc);
|
|
||||||
//$totalHospitalisation = $prestations_total['fraisReel'];
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<input class="sr-only" id="nbreActeEntentePrealable" name="nbreActeEntentePrealable" type="text" value= "<?= $nbreActeEntentePrealable; ?>" >
|
<input class="sr-only" id="nbreActeEntentePrealable" name="nbreActeEntentePrealable" type="text" value= "<?= $nbreActeEntentePrealable; ?>" >
|
||||||
|
|
@ -54,8 +51,6 @@
|
||||||
<input class="sr-only" id="nbreActesSansPrixPro" name="nbreActesSansPrixPro" type="text" value= "<?= $nbreActesSansPrix; ?>" >
|
<input class="sr-only" id="nbreActesSansPrixPro" name="nbreActesSansPrixPro" type="text" value= "<?= $nbreActesSansPrix; ?>" >
|
||||||
<input class="sr-only" id="noChambrePro" name="noChambrePro" type="text" value= "<?= $noChambrePro; ?>" >
|
<input class="sr-only" id="noChambrePro" name="noChambrePro" type="text" value= "<?= $noChambrePro; ?>" >
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:10pt;">
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:10pt;">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
@ -91,9 +86,9 @@
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php if($prolongations_total_reclame == "0"): ?>
|
<?php if($prolongations_total_reclame == "0"): ?>
|
||||||
<tr style='background-color:white'>
|
<tr style='background-color:white'>
|
||||||
<td colspan="13" height="8"></td>
|
<td colspan="13" height="8"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="13" style="background-color:yellow">
|
<td colspan="13" style="background-color:yellow">
|
||||||
<marquee behavior="scroll" direction="left" scrollamount="10" style="background-color:yellow; color:red; font-size:12pt">
|
<marquee behavior="scroll" direction="left" scrollamount="10" style="background-color:yellow; color:red; font-size:12pt">
|
||||||
|
|
@ -115,10 +110,8 @@
|
||||||
$ententePrealable=$this->nettoyer($prolongation['ententePrealable']);
|
$ententePrealable=$this->nettoyer($prolongation['ententePrealable']);
|
||||||
$autorisation=$this->nettoyer($prolongation['autorisation']);
|
$autorisation=$this->nettoyer($prolongation['autorisation']);
|
||||||
$codeTarifActe=$this->nettoyer($prolongation['codeTarifActe']);
|
$codeTarifActe=$this->nettoyer($prolongation['codeTarifActe']);
|
||||||
|
|
||||||
$libelleConsommable=$this->nettoyer($prolongation['libelleConsommable']);
|
|
||||||
|
|
||||||
$valeurActeManuel = $this->nettoyer($prolongation['valeurActeManuel']);
|
$valeurActeManuel = $this->nettoyer($prolongation['valeurActeManuel']);
|
||||||
|
$libelleConsommable=$this->nettoyer($prolongation['libelleConsommable']);
|
||||||
|
|
||||||
if($valeurActeManuel == "0" ){
|
if($valeurActeManuel == "0" ){
|
||||||
$valeurActeManuel = $this->nettoyer($prolongation['prixPrestataire']);
|
$valeurActeManuel = $this->nettoyer($prolongation['prixPrestataire']);
|
||||||
|
|
@ -143,6 +136,7 @@
|
||||||
{
|
{
|
||||||
$libelleActe = $codeActe;
|
$libelleActe = $codeActe;
|
||||||
}
|
}
|
||||||
|
|
||||||
$valeurActe = $this->nettoyer($prolongation['valeurActe']);
|
$valeurActe = $this->nettoyer($prolongation['valeurActe']);
|
||||||
|
|
||||||
$plafondActe = $this->nettoyer($prolongation['plafondActe']);
|
$plafondActe = $this->nettoyer($prolongation['plafondActe']);
|
||||||
|
|
@ -157,10 +151,8 @@
|
||||||
$forfaitPlafond = "";
|
$forfaitPlafond = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
|
||||||
$prixTarif = $this->nettoyer($prolongation['prixTarif']);
|
$prixTarif = $this->nettoyer($prolongation['prixTarif']);
|
||||||
|
|
||||||
//var_dump($codeTarifActe!="CHAMB" && $valeurActe=="0");
|
|
||||||
$codeMotifDepassement = $this->nettoyer($prolongation['codeMotifDepassement']);
|
$codeMotifDepassement = $this->nettoyer($prolongation['codeMotifDepassement']);
|
||||||
|
|
||||||
$motif = $this->nettoyer($prolongation['motif']);
|
$motif = $this->nettoyer($prolongation['motif']);
|
||||||
|
|
@ -172,8 +164,6 @@
|
||||||
|
|
||||||
$acteChambre = $this->nettoyer($prolongation['acteChambre']);
|
$acteChambre = $this->nettoyer($prolongation['acteChambre']);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
|
|
||||||
<?php if ($supprimable=="0" || $facture=='1' || $bonCaduc=='1' || $ententePrealable=='1'): ?>
|
<?php if ($supprimable=="0" || $facture=='1' || $bonCaduc=='1' || $ententePrealable=='1'): ?>
|
||||||
|
|
@ -196,28 +186,26 @@
|
||||||
|
|
||||||
<?php if($ententePrealable<>"0"): ?>
|
<?php if($ententePrealable<>"0"): ?>
|
||||||
<?php if($ententePrealable=='2'): ?>
|
<?php if($ententePrealable=='2'): ?>
|
||||||
<td align='center' style="background-color: yellow;"> <input type="checkbox" checked disabled> </td>
|
<td align='center' style="background-color: yellow;"> <input type="checkbox" checked disabled> </td>
|
||||||
<?php elseif($ententePrealable=='1'): ?>
|
<?php elseif($ententePrealable=='1'): ?>
|
||||||
<td align='center' style="background-color: #00ff00;"> <input type="checkbox" checked disabled> </td>
|
<td align='center' style="background-color: #00ff00;"> <input type="checkbox" checked disabled> </td>
|
||||||
<?php elseif($ententePrealable=='9'): ?>
|
<?php elseif($ententePrealable=='9'): ?>
|
||||||
<td align='center' style="background-color: red;color:white;"> <input type="checkbox" checked disabled> </td>
|
<td align='center' style="background-color: red;color:white;"> <input type="checkbox" checked disabled> </td>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<td align='center'> <input type="checkbox" checked disabled> </td>
|
<td align='center'> <input type="checkbox" checked disabled> </td>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<td align='center' > <input type="checkbox" disabled></td>
|
<td align='center' > <input type="checkbox" disabled></td>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<td align='center'>
|
<td align='center'>
|
||||||
<?php if($facture=='1' || $bonCaduc=='1' || $idProlongationFeuille != $idProlongation || $prixModifiableEnHospit == "0"): ?>
|
<?php if($prixActeModifiable=="0" || $facture=='1' || $bonCaduc=='1' || $idProlongationFeuille != $idProlongation || $prixModifiableEnHospit == "0"): ?>
|
||||||
<button type="button" class="span_link" title="<?= _("Voir le tarif appliqué") ?>" onClick='javascript:tarif_applique("<?= $tarif ?>");'>
|
<button type="button" class="span_link" title="<?= _("Voir le tarif appliqué") ?>" onClick='javascript:tarif_applique("<?= $tarif ?>");'>
|
||||||
<?= format_N($valeurActeManuel) ?>
|
<?= format_N($valeurActeManuel) ?>
|
||||||
</button>
|
</button>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<td align='center' width="13%">
|
<INPUT style='text-align:center' class="form-control" TYPE="text" value="<?= format_N($valeurActeManuel) ?>"
|
||||||
<INPUT style='text-align:center' class="form-control" TYPE="text" value="<?= format_N($valeurActeManuel) ?>"
|
onChange="ajax_maj_prix_acte_hospitalisation('<?=$idPrestationactes?>', this.value, this);" onBlur="formatMonetaire(this);" onkeyup="controle_numerique(this);" onfocus="formatNumerique(this);">
|
||||||
onChange="ajax_maj_prix_acte_hospitalisation('<?=$idPrestationactes?>', this.value, this);" onBlur="formatMonetaire(this);" onkeyup="controle_numerique(this);" onfocus="formatNumerique(this);">
|
|
||||||
</td>
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -267,9 +267,9 @@
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php if($prestation_total_reclame == "0"): ?>
|
<?php if($prestation_total_reclame == "0"): ?>
|
||||||
<tr style='background-color:white'>
|
<tr style='background-color:white'>
|
||||||
<td colspan="13" height="8"></td>
|
<td colspan="13" height="8"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="13" style="background-color:yellow">
|
<td colspan="13" style="background-color:yellow">
|
||||||
<marquee behavior="scroll" direction="left" scrollamount="10" style="background-color:yellow; color:red; font-size:12pt">
|
<marquee behavior="scroll" direction="left" scrollamount="10" style="background-color:yellow; color:red; font-size:12pt">
|
||||||
|
|
@ -312,6 +312,7 @@
|
||||||
{
|
{
|
||||||
$libelleActe = $codeActe;
|
$libelleActe = $codeActe;
|
||||||
}
|
}
|
||||||
|
|
||||||
$valeurActe = $this->nettoyer($prestation['valeurActe']);
|
$valeurActe = $this->nettoyer($prestation['valeurActe']);
|
||||||
|
|
||||||
$plafondActe = $this->nettoyer($prestation['plafondActe']);
|
$plafondActe = $this->nettoyer($prestation['plafondActe']);
|
||||||
|
|
@ -341,7 +342,6 @@
|
||||||
$prixModifiableEnHospit = $this->nettoyer($prestation['tarif']);
|
$prixModifiableEnHospit = $this->nettoyer($prestation['tarif']);
|
||||||
|
|
||||||
$acteChambre = $this->nettoyer($prestation['acteChambre']);
|
$acteChambre = $this->nettoyer($prestation['acteChambre']);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<?php if ($supprimable=="0" || $facture=='1' || $bonCaduc=='1' || $ententePrealable=='1'): ?>
|
<?php if ($supprimable=="0" || $facture=='1' || $bonCaduc=='1' || $ententePrealable=='1'): ?>
|
||||||
|
|
@ -360,13 +360,13 @@
|
||||||
|
|
||||||
<?php if($ententePrealable<>"0"): ?>
|
<?php if($ententePrealable<>"0"): ?>
|
||||||
<?php if($ententePrealable=='2'): ?>
|
<?php if($ententePrealable=='2'): ?>
|
||||||
<td align='center' style="background-color: yellow;"> <input type="checkbox" checked disabled> </td>
|
<td align='center' style="background-color: yellow;"> <input type="checkbox" checked disabled> </td>
|
||||||
<?php elseif($ententePrealable=='1'): ?>
|
<?php elseif($ententePrealable=='1'): ?>
|
||||||
<td align='center' style="background-color: #00ff00;"> <input type="checkbox" checked disabled> </td>
|
<td align='center' style="background-color: #00ff00;"> <input type="checkbox" checked disabled> </td>
|
||||||
<?php elseif($ententePrealable=='9'): ?>
|
<?php elseif($ententePrealable=='9'): ?>
|
||||||
<td align='center' style="background-color: red;color:white;"> <input type="checkbox" checked disabled> </td>
|
<td align='center' style="background-color: red;color:white;"> <input type="checkbox" checked disabled> </td>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<td align='center'> <input type="checkbox" checked disabled> </td>
|
<td align='center'> <input type="checkbox" checked disabled> </td>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<td align='center' > <input type="checkbox" disabled></td>
|
<td align='center' > <input type="checkbox" disabled></td>
|
||||||
|
|
@ -400,15 +400,16 @@
|
||||||
<td align='center'> <?= format_N($this->nettoyer($prestation['montantTm'])) ?></td>
|
<td align='center'> <?= format_N($this->nettoyer($prestation['montantTm'])) ?></td>
|
||||||
<td align='center'> <?= format_N($this->nettoyer($prestation['montantArembourser'])) ?></td>
|
<td align='center'> <?= format_N($this->nettoyer($prestation['montantArembourser'])) ?></td>
|
||||||
<td align='center'> <?= format_N($this->nettoyer($prestation['depassement'])) ?></td>
|
<td align='center'> <?= format_N($this->nettoyer($prestation['depassement'])) ?></td>
|
||||||
<?php if($codeMotifDepassement!=''): ?>
|
<?php if($codeMotifDepassement!=''): ?>
|
||||||
<td align='center'>
|
<td align='center'>
|
||||||
<button type="button" class="btn btn-info" title="Voir le motif du dépassement..." onClick='javascript:alert_ebene("<?= $motif ?>","<?= $motifEng ?>");'>
|
<button type="button" class="btn btn-info" title="Voir le motif du dépassement..." onClick='javascript:alert_ebene("<?= $motif ?>","<?= $motifEng ?>");'>
|
||||||
<?= $codeMotifDepassement ?>
|
<?= $codeMotifDepassement ?>
|
||||||
</button>
|
</button>
|
||||||
</td>
|
</td>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<td > </td>
|
<td > </td>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
<td > KANE INITIAL </td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<tr style='background-color:white'>
|
<tr style='background-color:white'>
|
||||||
|
|
|
||||||
|
|
@ -908,7 +908,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" />-->
|
<!--<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="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.14.06"></script>
|
<script src="Js/fonctions.js?ver=2026.03.14.07"></script>
|
||||||
<script src="Bootstrap/js/bootstrap.min.js"></script>
|
<script src="Bootstrap/js/bootstrap.min.js"></script>
|
||||||
|
|
||||||
<script src="https://unpkg.com/vue@3/dist/vue.global.prod.js"></script>
|
<script src="https://unpkg.com/vue@3/dist/vue.global.prod.js"></script>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user