diff --git a/Controleur/ControleurKine.php b/Controleur/ControleurKine.php
index 9e6c731..5412f76 100755
--- a/Controleur/ControleurKine.php
+++ b/Controleur/ControleurKine.php
@@ -227,7 +227,7 @@ class ControleurKine extends Controleur {
'nbBonsCons' => $nbBonsCons, 'codeGestionBon' => $codeGestionBon, 'typeGestionbon' => $typeGestionbon,
'tauxCouverture' => $tauxCouverture, 'totalseances' => $totalseances, 'compteSeance' => $compteSeance,
'compteSeancePrestataire' => $compteSeancePrestataire, 'geds' => $geds, 'msgErreurGed' => $msgErreurGed,
- 'contestation' => $contestation));
+ 'contestation' => $contestation, 'prixActeModifiable' => $prixActeModifiable));
}
}
}
\ No newline at end of file
diff --git a/Controleur/ControleurKinecso.php b/Controleur/ControleurKinecso.php
index f1e3fcc..e0591c7 100755
--- a/Controleur/ControleurKinecso.php
+++ b/Controleur/ControleurKinecso.php
@@ -166,6 +166,9 @@ class ControleurKinecso extends Controleur {
unset($_FILES['fichier_upload']);
$geds = $this->ged->getgedseances();
+
+ $prixActeModifiable = $this->acte->getPrixActeModifiable();
+ $_SESSION['p_prixActeModifiable'] = $prixActeModifiable;
if($numeroBonKine=="-1")
{
@@ -228,7 +231,7 @@ class ControleurKinecso extends Controleur {
'numeroBonKineSearch' => $numeroBonKineSearch, 'nbBonsCons' => $nbBonsCons, 'tauxCouverture' => $tauxCouverture,
'codeGestionBon' => $codeGestionBon, 'typeGestionbon' => $typeGestionbon, 'totalseances' => $totalseances,
'geds' => $geds, 'msgErreurGed' => $msgErreurGed, 'compteSeance' => $compteSeance, 'compteSeancePrestataire' => $compteSeancePrestataire,
- 'contestation' => $contestation));
+ 'contestation' => $contestation, 'prixActeModifiable' => $prixActeModifiable));
}
}
}
\ No newline at end of file
diff --git a/Js/fonctions.js b/Js/fonctions.js
index 5407310..fd704a6 100755
--- a/Js/fonctions.js
+++ b/Js/fonctions.js
@@ -11677,8 +11677,6 @@ function ajaxprixseance()
donnees = 'codeActe='+codeActe+'&quantite='+quantite+'&dureeTraitement='+dureeTraitement;
donnees += '&prixSaisi='+prixSaisi;
- // alert("ajaxprixseance => "+donnees);
-
$("#infosacte").html('
' + '
');
$.ajax({
@@ -12263,7 +12261,6 @@ function afficher_facturation_seance()
$("#btn_close_pop_session").click();
$("#div_facturation_seance").html(data);
$("#quantiteSeance").focus();
- //ajaxprixseancesea();
},
complete: function(data) {
$("#numeroBonSeance_C").val($("#numeroBonSeance_info").val());
@@ -12282,6 +12279,7 @@ function ajaxprixseancesea()
$("#totalActe_info").val("0");
$("#montantTm_info").val("0");
$("#aRembourser_info").val("0");
+ $("#depassement_info").val("0");
v_msg="Veuillez s\u00e9lectionner un act!";
v_msgEng="Please select an act!";
@@ -12298,16 +12296,7 @@ function ajaxprixseancesea()
if(quantite==0)
{
$("#quantiteSeance").val(1);
-
quantite = 1;
- /*
- div_quantite.focus();
- v_msg="Veuillez saisir le nombre de s\u00e9ances!";
- v_msgEng="Please enter the number of sessions!";
- alert_ebene(v_msg, v_msgEng);
-
- return;
- */
}
nbRestant = $("#nbRestant").val();
@@ -12315,17 +12304,19 @@ function ajaxprixseancesea()
if(quantite>nbRestant)
{
- // div_quantite.focus();
v_msg="Vous ne pouvez pas d\u00e9passer "+nbRestant+" s\u00e9ances!";
v_msgEng="Only "+nbRestant+" sessions are possible!";
alert_ebene(v_msg, v_msgEng);
-
- // return;
quantite = 0;
}
-
+
+ prixSaisi = $("#prixSaisi").val();
donnees = 'codeActe='+codeActe+'&quantite='+quantite;
+ donnees += '&prixSaisi='+prixSaisi;
+ alert("ajaxprixseancesea => "+donnees);
+ return;
+
$("#infosacte").html('' + '
');
@@ -28610,8 +28601,6 @@ function modifier_prix_seance() {
prixModifiable = $('#prixModifiable').val();
$('#prixSaisi').val(prixModifiable);
$('#prixActe').val(prixModifiable);
- prixModifiable = $('#prixModifiable').val();
- prixSaisi = $('#prixSaisi').val();
ajaxprixseance();
}
@@ -28826,3 +28815,14 @@ function no_presciption()
});
}
}
+
+function modifier_prix_seance_kine() {
+ alert("modifier_prix_seance_kine");
+ return;
+
+ prixModifiable = $('#prixModifiable').val();
+ $('#prixSaisi').val(prixModifiable);
+ $('#prixActe').val(prixModifiable);
+
+ ajaxprixseancesea();
+}
diff --git a/Vue/Ajaxfacturatioseancesea/index.php b/Vue/Ajaxfacturatioseancesea/index.php
index 099f7fe..636bb83 100755
--- a/Vue/Ajaxfacturatioseancesea/index.php
+++ b/Vue/Ajaxfacturatioseancesea/index.php
@@ -1,135 +1,143 @@
-
- nettoyer($prescription['facture']);
- $nbRestantOld = $this->nettoyer($prescription['nbRestantOld']);
- $codeActeSeance = $this->nettoyer($prescription['codeActeSeance']);
- $numeroBonSeance = $this->nettoyer($prescription['numeroBonSeance']);
- $_SESSION['p_numeroBonSeance_C'] = $numeroBonSeance;
-
- $codeGestionBon = $this->nettoyer($prescription['codeGestionBon']);
-
- if( isset($_SESSION['p_actesHarmonises']) && ($_SESSION['p_actesHarmonises']=="1") )
- {
- $actesHarmonises = true;
- }
- else
- {
- $actesHarmonises = false;
- }
-
- $codeMotifDepassement = $this->nettoyer($prescription['codeMotifDepassement']);
+nettoyer($prescription['facture']);
+ $nbRestantOld = $this->nettoyer($prescription['nbRestantOld']);
+ $codeActeSeance = $this->nettoyer($prescription['codeActeSeance']);
+ $numeroBonSeance = $this->nettoyer($prescription['numeroBonSeance']);
+ $_SESSION['p_numeroBonSeance_C'] = $numeroBonSeance;
- $motif = $this->nettoyer($prescription['motif']);
- $motifEng = $this->nettoyer($prescription['motifEng']);
+ $codeGestionBon = $this->nettoyer($prescription['codeGestionBon']);
+
+ if( isset($_SESSION['p_actesHarmonises']) && ($_SESSION['p_actesHarmonises']=="1") )
+ {
+ $actesHarmonises = true;
+ }
+ else
+ {
+ $actesHarmonises = false;
+ }
- $tarif = $this->nettoyer($prescription['tarif']);
+ $codeMotifDepassement = $this->nettoyer($prescription['codeMotifDepassement']);
+
+ $motif = $this->nettoyer($prescription['motif']);
+ $motifEng = $this->nettoyer($prescription['motifEng']);
+
+ $tarif = $this->nettoyer($prescription['tarif']);
+
+ $libelleMotif = $motifStatut['libelle'];
- $libelleMotif = $motifStatut['libelle'];
-
- if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US")
- {
- $libelleMotif = $motifStatut['libelleEng'];
- }
-
- $codeActe = $prescription['codeActePrescription'];
-
-
- ?>
+ if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US")
+ {
+ $libelleMotif = $motifStatut['libelleEng'];
+ }
+
+ $codeActe = $prescription['codeActePrescription'];
+
+ $prixActeModifiable = $_SESSION['p_prixActeModifiable'];
-
-
-
-
-
-
+ $valeurActe = $this->nettoyer($prescription['valeurActeSeance']);
-
-
-
+ $prixActe = $valeurActe;
+
+?>
-
+
+
+
+
+
+
-
\ No newline at end of file
diff --git a/Vue/Kine/index.php b/Vue/Kine/index.php
index 0dc04f3..36debb9 100755
--- a/Vue/Kine/index.php
+++ b/Vue/Kine/index.php
@@ -239,7 +239,6 @@
-
@@ -266,18 +265,13 @@
-
- |
-
-
+
+ |
+
-
- |
-
+
+ |
+
diff --git a/Vue/Prescriptionseance/index.php b/Vue/Prescriptionseance/index.php
index 13c967d..1029b9b 100755
--- a/Vue/Prescriptionseance/index.php
+++ b/Vue/Prescriptionseance/index.php
@@ -92,7 +92,7 @@
|
+ value="= 'TAUX DE COUVERTURE : '.$tauxCouverture ?>" readonly >
|
@@ -117,7 +117,7 @@
"0" or $facture=="1") : ?>
-