diff --git a/Controleur/ControleurAjaxtraitementproformahospitalisation.php b/Controleur/ControleurAjaxtraitementproformahospitalisation.php index a4e33bce..bd377c47 100755 --- a/Controleur/ControleurAjaxtraitementproformahospitalisation.php +++ b/Controleur/ControleurAjaxtraitementproformahospitalisation.php @@ -32,7 +32,6 @@ class ControleurAjaxtraitementproformahospitalisation extends Controleur { $hospit_total = $this->examen->cumulProformaHospitalisation($idProforma); - $this->genererVueAjax(array('idProforma' => $idProforma, 'motifexamens' => $motifexamens, 'examen' => $examen, 'detailexamens' => $detailexamens, 'choix' => $choix, 'hospit_total' => $hospit_total, 'accorderTout' => $accorderTout, 'refuserTout' => $refuserTout, 'siRefus' => $siRefus)); diff --git a/Vue/Ajaxtraitementproformahospitalisation/index.php b/Vue/Ajaxtraitementproformahospitalisation/index.php index 8f8ee093..de421563 100755 --- a/Vue/Ajaxtraitementproformahospitalisation/index.php +++ b/Vue/Ajaxtraitementproformahospitalisation/index.php @@ -26,27 +26,18 @@ - [Plafond]") ?> - - - - - - - - - @@ -58,14 +49,14 @@ onClick="javascript:validertoutproformahospit('');"> - + " onClick="javascript:annulervalidertoutproformahospit('');"> - + " onClick="javascript:refusertoutproformahospit('');"> @@ -92,7 +83,6 @@ $autorisation=$this->nettoyer($detailexamen['autorisation']); $codeTarifActe=$this->nettoyer($detailexamen['codeTarifActe']); - $valeurActeManuel = $this->nettoyer($detailexamen['valeurActeManuel']); $libelleConsommable=$this->nettoyer($detailexamen['libelleConsommable']); @@ -155,8 +145,10 @@ } $idProforma = $this->nettoyer($detailexamen['idProforma']); + $acteChambre = $this->nettoyer($detailexamen['acteChambre']); + ?> @@ -170,28 +162,29 @@ ".$forfaitPlafond."" ?> - "0"): ?> + "0"): + if ($corrigerPrixProforma=="0"): + ?> + + + + + + + + + - - - - - - - - - - - - @@ -205,25 +198,23 @@ - nettoyer($detailexamen['quantite']) ?> + nettoyer($detailexamen['quantite']) ?> nettoyer($detailexamen['prixManuel'])) ?> - nettoyer($detailexamen['tm'])?> nettoyer($detailexamen['montantTm'])) ?> nettoyer($detailexamen['montantArembourser'])) ?> - nettoyer($detailexamen['depassement'])) ?> - - + + - + @@ -248,11 +239,10 @@ + - - - - +
+
',this.value)"> + @@ -300,7 +291,7 @@ - + @@ -331,5 +322,4 @@
- - \ No newline at end of file + \ No newline at end of file diff --git a/Vue/Ajaxtraitementproformahospitalisation/index_save.php b/Vue/Ajaxtraitementproformahospitalisation/index_save.php new file mode 100755 index 00000000..2fdde788 --- /dev/null +++ b/Vue/Ajaxtraitementproformahospitalisation/index_save.php @@ -0,0 +1,322 @@ +nettoyer($examen['demandeTraite']);?> +
+ + + + + + + + + + + + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + nettoyer($detailexamen['id']); + $codeTypePrestation=$this->nettoyer($detailexamen['codeTypePrestation']); + $ententePrealable=$this->nettoyer($detailexamen['ententePrealable']); + $autorisation=$this->nettoyer($detailexamen['autorisation']); + $codeTarifActe=$this->nettoyer($detailexamen['codeTarifActe']); + + + $valeurActeManuel = $this->nettoyer($detailexamen['valeurActeManuel']); + + $libelleConsommable=$this->nettoyer($detailexamen['libelleConsommable']); + + if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US") + { + $libelleActe = substr($this->nettoyer($detailexamen['libelleActeEng']),0,57); + } + else + { + $libelleActe = substr($this->nettoyer($detailexamen['libelleActe']),0,57); + } + + $codeActe = $this->nettoyer($detailexamen['codeActe']); + + if($codeActe == "CSM"){ + $libelleActe = substr($libelleConsommable,0,57); + } + + + $valeurActe = $this->nettoyer($detailexamen['valeurActe']); + + $plafondActe = $this->nettoyer($detailexamen['plafondActe']); + + $plafond = (($plafondActe == $valeurActe) && ($valeurActe > "0"))?"1":"0"; + + if ($plafondActe > "0" && $plafondActe !="9999999999"){ + $forfaitPlafond = " - [".format_N($plafondActe)."]"; + }else{ + $forfaitPlafond = ""; + } + + $prixTarif = $this->nettoyer($detailexamen['prixTarif']); + + $codeMotifDepassement = $this->nettoyer($detailexamen['codeMotifDepassement']); + + $motif = $this->nettoyer($detailexamen['motif']); + $motifEng = $this->nettoyer($detailexamen['motifEng']); + + $tarif = $this->nettoyer($detailexamen['tarif']); + + $choixValider = $this->nettoyer($detailexamen['choixValider']); + + $choixRefuser = $this->nettoyer($detailexamen['choixRefuser']); + + if($choixValider=="1"){ + $checkedValider = 'checked'; + }else{ + $checkedValider = ''; + } + + if($choixRefuser=="1"){ + $checkedRefuser = 'checked'; + }else{ + $checkedRefuser = ''; + } + + $idProforma = $this->nettoyer($detailexamen['idProforma']); + $acteChambre = $this->nettoyer($detailexamen['acteChambre']); + + ?> + + + + + + + + + + + + + "0"): ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
- [Plafond]") ?>
+ " + onClick="javascript:validertoutproformahospit('');"> + + " + onClick="javascript:annulervalidertoutproformahospit('');"> + + " + onClick="javascript:refusertoutproformahospit('');"> + + " + onClick="javascript:annulerrefusertoutproformahospit('');"> +
".$forfaitPlafond."" ?> + + + + + + + + + + nettoyer($detailexamen['quantite']) ?> nettoyer($detailexamen['prixManuel'])) ?> nettoyer($detailexamen['tm'])?> nettoyer($detailexamen['montantTm'])) ?> nettoyer($detailexamen['montantArembourser'])) ?> nettoyer($detailexamen['depassement'])) ?> + + + onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};validerunacteproformahospit('', '',this.value);" value=""> + + onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};refuserunacteproformahospit('', '',this.value);" value=""> + + disabled> + + disabled> + nettoyer($detailexamen['dateHeureReponse']),$_SESSION['lang']);?>nettoyer($detailexamen['responsableAccord']) ?>
+ + + + + + + nettoyer($motifexamen['codeReponseEntentePrealable']); + + $motifReel = $this->nettoyer($motifexamen['motifReel']); + + $motifRefusAssure = $this->nettoyer($motifexamen['motifRefusAssure']); + ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + +
+ + + +
+ + " + onClick="javascript:validerproformahospitalisation('');" style='font-size:10pt;'> + + + + + " + onClick="javascript:fermertraitementproformahospitalisation();" style='font-size:10pt;'> +
+ " + onClick="javascript:fermertraitementproformahospitalisation();" style='font-size:10pt;'> +
+
\ No newline at end of file diff --git a/Vue/Traitementproformahospitalisation/index.php b/Vue/Traitementproformahospitalisation/index.php index e7d238b7..b15fa653 100755 --- a/Vue/Traitementproformahospitalisation/index.php +++ b/Vue/Traitementproformahospitalisation/index.php @@ -376,330 +376,7 @@ $demandeTraite = $this->nettoyer($examen['demandeTraite']);
-
- - - - - - - - - - - - - -
- - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($detailexamen['id']); - $codeTypePrestation=$this->nettoyer($detailexamen['codeTypePrestation']); - $ententePrealable=$this->nettoyer($detailexamen['ententePrealable']); - $autorisation=$this->nettoyer($detailexamen['autorisation']); - $codeTarifActe=$this->nettoyer($detailexamen['codeTarifActe']); - - $valeurActeManuel = $this->nettoyer($detailexamen['valeurActeManuel']); - - $libelleConsommable=$this->nettoyer($detailexamen['libelleConsommable']); - - if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US") - { - $libelleActe = substr($this->nettoyer($detailexamen['libelleActeEng']),0,57); - } - else - { - $libelleActe = substr($this->nettoyer($detailexamen['libelleActe']),0,57); - } - - $codeActe = $this->nettoyer($detailexamen['codeActe']); - - if($codeActe == "CSM"){ - $libelleActe = substr($libelleConsommable,0,57); - } - - - $valeurActe = $this->nettoyer($detailexamen['valeurActe']); - - $plafondActe = $this->nettoyer($detailexamen['plafondActe']); - - //var_dump($plafondActe); - - - $plafond = (($plafondActe == $valeurActe) && ($valeurActe > "0"))?"1":"0"; - - if ($plafondActe > "0" && $plafondActe !="9999999999"){ - $forfaitPlafond = " - [".format_N($plafondActe)."]"; - }else{ - $forfaitPlafond = ""; - } - - $prixTarif = $this->nettoyer($detailexamen['prixTarif']); - - - $codeMotifDepassement = $this->nettoyer($detailexamen['codeMotifDepassement']); - - $motif = $this->nettoyer($detailexamen['motif']); - $motifEng = $this->nettoyer($detailexamen['motifEng']); - - $tarif = $this->nettoyer($detailexamen['tarif']); - - $choixValider = $this->nettoyer($detailexamen['choixValider']); - - $choixRefuser = $this->nettoyer($detailexamen['choixRefuser']); - - if($choixValider=="1"){ - $checkedValider = 'checked'; - }else{ - $checkedValider = ''; - } - - if($choixRefuser=="1"){ - $checkedRefuser = 'checked'; - }else{ - $checkedRefuser = ''; - } - - $idProforma = $this->nettoyer($detailexamen['idProforma']); - - $acteChambre = $this->nettoyer($detailexamen['acteChambre']); - - - ?> - - - - - - - - - - - - - "0"): - if ($corrigerPrixProforma=="0"): - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- [Plafond]") ?>
- " - onClick="javascript:validertoutproformahospit('');"> - - " - onClick="javascript:annulervalidertoutproformahospit('');"> - - " - onClick="javascript:refusertoutproformahospit('');"> - - " - onClick="javascript:annulerrefusertoutproformahospit('');"> -
".$forfaitPlafond."" ?> - - - - - - - - - - nettoyer($detailexamen['quantite']) ?> nettoyer($detailexamen['prixManuel'])) ?> nettoyer($detailexamen['tm'])?> nettoyer($detailexamen['montantTm'])) ?> nettoyer($detailexamen['montantArembourser'])) ?> nettoyer($detailexamen['depassement'])) ?> - - - onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};validerunacteproformahospit('', '',this.value);" value=""> - - onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};refuserunacteproformahospit('', '',this.value);" value=""> - - disabled> - - disabled> - nettoyer($detailexamen['dateHeureReponse']),$_SESSION['lang']);?>nettoyer($detailexamen['responsableAccord']) ?>
-
- -
- - - nettoyer($motifexamen['codeReponseEntentePrealable']); - - $motifReel = $this->nettoyer($motifexamen['motifReel']); - - $motifRefusAssure = $this->nettoyer($motifexamen['motifRefusAssure']); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
- - - -
- - - -
- - " - onClick="javascript:validerproformahospitalisation('');" style='font-size:10pt;'> - - - - - " - onClick="javascript:fermertraitementproformahospitalisation();" style='font-size:10pt;'> -
- " - onClick="javascript:fermertraitementproformahospitalisation();" style='font-size:10pt;'> -
-
+ div_examens