+ nettoyer($feuillemaladie['libelleAffectionEng']);
+ $raisonconsultation = $this->nettoyer($feuillemaladie['raisonconsultationEng']);
+ } else {
+ $libelleAffection = $this->nettoyer($feuillemaladie['libelleAffection']);
+ $raisonconsultation = $this->nettoyer($feuillemaladie['raisonconsultation']);
+ }
+
+ if($AffectionVisible != "1") {
+ $libelleAffection = $this->nettoyer($feuillemaladie['codeAffection']);
+ }
+ ?>
- $codeAffection = $this->nettoyer($feuillemaladie['codeAffection']);
+
+
+
+
+
+
= $this->nettoyer($feuillemaladie['numeroFeuilleMaladie']) ?>
+
+
+
+
= dateLang($this->nettoyer($feuillemaladie['dateConsultation'])) ?>
+
+
+
+
= $this->nettoyer($feuillemaladie['prestataire']) ?>
+
+
+
+
= $this->nettoyer($feuillemaladie['medecinConsultation']) ?>
+
+
- if (est_anglophone())
- {
- $libelleAffection = $this->nettoyer($feuillemaladie['libelleAffectionEng']);
- $raisonconsultation = $this->nettoyer($feuillemaladie['raisonconsultationEng']);
- }
- else
- {
- $libelleAffection = $this->nettoyer($feuillemaladie['libelleAffection']);
- $raisonconsultation = $this->nettoyer($feuillemaladie['raisonconsultation']);
- }
-
- $AffectionVisible = $_SESSION['AffectionVisible'];
-
- if($AffectionVisible!="1")
- {
- $libelleAffection = $codeAffection;
- }
- ?>
-
" disabled >
-
-
-
-
-
-
- Date
- Diagnostic
- User
- = _("Suppression") ?>
-
-
- User
- Date
-
-
-
-
- nettoyer($diagnostic['id']);
- $supprime = $this->nettoyer($diagnostic['supprime']);
-
- $codeAffection = $this->nettoyer($diagnostic['codeAffection']);
-
- if (est_anglophone())
- {
- $libelleAffection = $this->nettoyer($diagnostic['libelleAffectionEng'])." => ".$codeAffection;
- }
- else
- {
- $libelleAffection = $this->nettoyer($diagnostic['libelleAffection'])." => ".$codeAffection;
- }
-
- $AffectionVisible = $_SESSION['AffectionVisible'];
- if($AffectionVisible!="1")
- {
- $libelleAffection = $codeAffection;
- }
- ?>
-
-
-
-
-
- = dateheureLang($this->nettoyer($diagnostic['dateSysteme'])) ?>
- = $libelleAffection ?>
- = $this->nettoyer($diagnostic['codeUtilisateur']) ?>
-
- = $this->nettoyer($diagnostic['userSuppression']) ?>
- = dateheureLang($this->nettoyer($diagnostic['heueSuppression'])) ?>
-
-
-
-
-
-
+
\ No newline at end of file
diff --git a/Vue/Ajaxfactureconspop/geds.php b/Vue/Ajaxfactureconspop/geds.php
index 5f051df..ef98615 100644
--- a/Vue/Ajaxfactureconspop/geds.php
+++ b/Vue/Ajaxfactureconspop/geds.php
@@ -1,29 +1,75 @@
-
+
+
+
+
-
-
-
-
- Date
- = _("Document GED") ?>
- = _("Télécharger") ?>
-
-
-
- nettoyer($ged['idGed']);
- $cheminFichier = $this->nettoyer($ged['cheminFichier']);
- ?>
-
- = dateheureLang($this->nettoyer($ged['dateSysteme'])) ?>
- = $this->nettoyer($ged['nomOrigine']) ?>
-
- = _("Télécharger") ?>
-
-
-
-
-
-
+
+
+
+
+ = _("Date d'ajout") ?>
+ = _("Nom du document") ?>
+ = _("Action") ?>
+
+
+
+
+
+
+ = _("Aucun document numérisé pour cette facture.") ?>
+
+
+
+ nettoyer($ged['idGed']);
+ $cheminFichier = $this->nettoyer($ged['cheminFichier']);
+ $nomFichier = $this->nettoyer($ged['nomOrigine']);
+
+ // Détection de l'icône selon l'extension
+ $extension = strtolower(pathinfo($nomFichier, PATHINFO_EXTENSION));
+ $icon = "fa-file-lines";
+ if(in_array($extension, ['jpg', 'jpeg', 'png'])) $icon = "fa-file-image text-info";
+ if($extension == 'pdf') $icon = "fa-file-pdf text-danger";
+ ?>
+
+
+ = dateLang($this->nettoyer($ged['dateSysteme'])) ?>
+
+
+
+
+
+
+ = $nomFichier ?>
+
+
+
+
+
+ ">
+ = _("Ouvrir") ?>
+
+
+
+
+
+
+
+
+
+
+
-
+
\ No newline at end of file
diff --git a/Vue/Ajaxfactureconspop/medicaments.php b/Vue/Ajaxfactureconspop/medicaments.php
index eb8774e..8f6ac98 100644
--- a/Vue/Ajaxfactureconspop/medicaments.php
+++ b/Vue/Ajaxfactureconspop/medicaments.php
@@ -1,52 +1,85 @@
-
-
+
+
-
" disabled >
+
+
+ = _("Médicaments Livrés") ?>
+
-
-
-
- Date
- = _("Médicament") ?>
- = _("Valeur") ?>
- = _("Qtité") ?>
- = _("Frais") ?>
- = _("T M") ?>
- = _("A Remb") ?>
-
-
-
+
+
+
+
+ = _("Date") ?>
+ = _("Désignation Médicament") ?>
+ = _("PU") ?>
+ = _("Qté") ?>
+ = _("Frais Réels") ?>
+ = _("T.M") ?>
+ = _("A Rembourser") ?>
+
+
+
+ nettoyer($medicament['ententePrealable']);
+ $libelle = $this->nettoyer($medicament['libelleMedicament']);
+ $code = $this->nettoyer($medicament['codeMedicament']);
- nettoyer($medicament['ententePrealable']);
- $libelleMedicament = $this->nettoyer($medicament['libelleMedicament']);
- $codeMedicament = $this->nettoyer($medicament['codeMedicament']);
+ if($actVisible != "1") { $libelle = $code; }
- if($actVisible!="1")
- {
- $libelleMedicament = $codeMedicament;
- }
- ?>
-
-
-
-
-
-
-
-
-
- = dateheureLang($this->nettoyer($medicament['dateSysteme'])) ?>
- = $libelleMedicament?>
- = format_N($this->nettoyer($medicament['valeurActe'])) ?>
- = $this->nettoyer($medicament['quantite']) ?>
- = format_N($this->nettoyer($medicament['fraisReel'])) ?>
- = format_N($this->nettoyer($medicament['montantTm'])) ?>
- = format_N($this->nettoyer($medicament['montantArembourser'])) ?>
-
-
-
-
-
+ // Logique de statut pour l'entente préalable
+ $statusLabel = "";
+ $rowClass = "";
+
+ switch($entente) {
+ case '1': // Accordé
+ $statusLabel = ' ';
+ break;
+ case '2': // En attente / Attention
+ $statusLabel = ' ';
+ break;
+ case '9': // Refusé
+ $statusLabel = ' ';
+ $rowClass = "table-danger opacity-75";
+ break;
+ }
+ ?>
+
+
+ = dateheureLang($this->nettoyer($medicament['dateSysteme'])) ?>
+
+
+
+
+ = format_N($this->nettoyer($medicament['valeurActe'])) ?>
+ = $this->nettoyer($medicament['quantite']) ?>
+ = format_N($this->nettoyer($medicament['fraisReel'])) ?>
+ = format_N($this->nettoyer($medicament['montantTm'])) ?>
+
+ = format_N($this->nettoyer($medicament['montantArembourser'])) ?>
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Vue/Ajaxfactureconspop/prestationactes.php b/Vue/Ajaxfactureconspop/prestationactes.php
index 20c3665..1bd3da3 100644
--- a/Vue/Ajaxfactureconspop/prestationactes.php
+++ b/Vue/Ajaxfactureconspop/prestationactes.php
@@ -1,66 +1,105 @@
-
-
+
+
-
" disabled >
+
+
+ = _("Prestations de la facture") ?>
+
-
-
-
-
- Date
- = _("Acte") ?>
- = _("Valeur") ?>
- = _("Qtité") ?>
- = _("Frais") ?>
- = _("T M") ?>
- = _("A Remb") ?>
- Val
-
-
-
+
+
+
+
+ = _("Date / Heure") ?>
+ = _("Type") ?>
+ = _("Désignation de l'acte") ?>
+ = _("P.U / Valeur") ?>
+ = _("Qté") ?>
+ = _("Frais Réels") ?>
+ = _("Part Patient") ?>
+ = _("A Rembourser") ?>
+ Val.
+
+
+
+ nettoyer($prestation['codeTypePrestation']);
+ $entente = $this->nettoyer($prestation['ententePrealable']);
+ $auto = $this->nettoyer($prestation['autorisation']);
+ $valide = $this->nettoyer($prestation['valide']);
+
+ $codeActe = $this->nettoyer($prestation['codeActe']);
+ $libelleActe = est_anglophone() ? $this->nettoyer($prestation['libelleActeEng']) : $this->nettoyer($prestation['libelleActe']);
- nettoyer($prestation['codeTypePrestation']);
- $ententePrealable = $this->nettoyer($prestation['ententePrealable']);
- $autorisation = $this->nettoyer($prestation['autorisation']);
-
- $codeActe = $this->nettoyer($prestation['codeActe']);
- if (est_anglophone())
- {
- $libelleActe = $this->nettoyer($prestation['libelleActeEng']);
- }
- else
- {
- $libelleActe = $this->nettoyer($prestation['libelleActe']);
- }
+ if($actVisible != "1") { $libelleActe = $codeActe; }
- if($actVisible!="1")
- {
- $libelleActe = $codeActe;
- }
- ?>
-
-
-
-
-
-
-
-
-
- = dateheureLang($this->nettoyer($prestation['dateSysteme'])) ?>
- = $codeTypePrestation ?>
- = $libelleActe ?>
- = format_N($this->nettoyer($prestation['valeurActe'])) ?>
- = $this->nettoyer($prestation['quantite']) ?>
- = format_N($this->nettoyer($prestation['fraisReel'])) ?>
- = format_N($this->nettoyer($prestation['montantTm'])) ?>
- = format_N($this->nettoyer($prestation['montantArembourser'])) ?>
- = $this->nettoyer($prestation['valide']) ?>
-
-
-
-
-
+ // Logique de statut (Entente ou Autorisation)
+ $rowClass = "";
+ $statusIcon = "";
+
+ if($entente == '9' || $auto == '9') {
+ $rowClass = "table-danger opacity-75";
+ $statusIcon = ' ';
+ } elseif($entente == '2' || $auto == '2') {
+ $rowClass = "table-warning bg-opacity-10";
+ $statusIcon = ' ';
+ } elseif($entente == '1' || $auto == '1') {
+ $statusIcon = ' ';
+ }
+ ?>
+
+
+ = dateheureLang($this->nettoyer($prestation['dateSysteme'])) ?>
+
+
+ = $codeType ?>
+
+
+
+ = $statusIcon ?>
+
+ = $libelleActe ?>
+
+
+
+
+
+
+ = format_N($this->nettoyer($prestation['valeurActe'])) ?>
+ = $this->nettoyer($prestation['quantite']) ?>
+ = format_N($this->nettoyer($prestation['fraisReel'])) ?>
+ = format_N($this->nettoyer($prestation['montantTm'])) ?>
+
+ = format_N($this->nettoyer($prestation['montantArembourser'])) ?>
+
+
+
+
+
+ = $valide ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Vue/Ajaxfactureconspop/verres.php b/Vue/Ajaxfactureconspop/verres.php
index b48a6c0..3488484 100644
--- a/Vue/Ajaxfactureconspop/verres.php
+++ b/Vue/Ajaxfactureconspop/verres.php
@@ -1,35 +1,74 @@
-
-
+
+
-
" disabled >
+
+
+ = _("Équipements Optiques / Verres") ?>
+
-
-
-
- Date
- = _("Verres") ?>
- = _("Valeur") ?>
-
-
-
+
+
+
+
+ = _("Date de livraison") ?>
+ = _("Description des verres") ?>
+ = _("Valeur (Tarif)") ?>
+
+
+
+
+
+
+ = _("Aucun verre enregistré sur cette facture.") ?>
+
+
+
+ nettoyer($verre['libelleVerre']);
+ $codeOptique = $this->nettoyer($verre['codeOptique']);
- nettoyer($verre['libelleVerre']);
- $codeOptique = $this->nettoyer($verre['codeOptique']);
+ // Gestion de la confidentialité (Masquage du libellé si actVisible != 1)
+ if($actVisible != "1") {
+ $displayTitle = $codeOptique;
+ $subTitle = "";
+ } else {
+ $displayTitle = $libelleVerre;
+ $subTitle = '';
+ }
+ ?>
+
+
+ = dateLang($this->nettoyer($verre['dateSysteme'])) ?>
+
+
+
+
+
+
+
+
+ = $displayTitle ?>
+ = $subTitle ?>
+
+
+
+
+ = format_N($this->nettoyer($verre['valeurActe'])) ?>
+
+
+
+
+
+
+
+
- if($actVisible!="1")
- {
- $libelleVerre = $codeOptique;
- }
- ?>
-
- = dateheureLang($this->nettoyer($verre['dateSysteme'])) ?>
- = $libelleVerre?>
- = format_N($this->nettoyer($verre['valeurActe'])) ?>
-
-
-
-
-
+
\ No newline at end of file
diff --git a/Vue/gabarit.php b/Vue/gabarit.php
index 983a11b..00c0279 100755
--- a/Vue/gabarit.php
+++ b/Vue/gabarit.php
@@ -634,7 +634,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte'];
-
+