From a57486a0af2d5237b389536a3d9ef7acd0e398ba Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Mon, 16 Mar 2026 10:04:59 +0000 Subject: [PATCH] df --- Vue/Ajaxfiltretabproduit/index.php | 176 +++++++++++++++++------------ Vue/Produits/index.php | 68 +++++++---- 2 files changed, 148 insertions(+), 96 deletions(-) diff --git a/Vue/Ajaxfiltretabproduit/index.php b/Vue/Ajaxfiltretabproduit/index.php index e2429585..742b858c 100755 --- a/Vue/Ajaxfiltretabproduit/index.php +++ b/Vue/Ajaxfiltretabproduit/index.php @@ -1,81 +1,107 @@ - - - - -
+
+
+ + + +
- + - - - - - - - - - - - - - - nettoyer($produit['id']); - $codeModecalculPrime = $this->nettoyer($produit['codeModecalculPrime']); - $libelleProduit = $this->nettoyer($produit['libelle']); - $modeprime = $this->nettoyer($produit['modeprime']); - - if (est_anglophone()){ - $libelleProduit = $this->nettoyer($produit['libelleEng']); - $modeprime = $this->nettoyer($produit['modeprimeEng']); - } - - $produitArchive = $this->nettoyer($produit['produitArchive']); - $dansBareme = $this->nettoyer($produit['dansBareme']); - $aGarantie = $this->nettoyer($produit['aGarantie']); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($produit['codeProduit']) ?> " onClick="javascript:consulter_produit();"> " onClick="javascript:de_archiver_produit('', '');"> " onClick="javascript:modifier_produit();"> " onClick="javascript:archiver_produit('');"> " onClick="javascript:garanties_produit();">
+
+
+
+ + + + + + + + + + + + nettoyer($produit['id']); + $codeModecalculPrime = $this->nettoyer($produit['codeModecalculPrime']); + $libelleProduit = est_anglophone() ? $this->nettoyer($produit['libelleEng']) : $this->nettoyer($produit['libelle']); + $modeprime = est_anglophone() ? $this->nettoyer($produit['modeprimeEng']) : $this->nettoyer($produit['modeprime']); + + $isArchive = ($this->nettoyer($produit['produitArchive']) == '1'); + $dansBareme = $this->nettoyer($produit['dansBareme']); + $aGarantie = ($this->nettoyer($produit['aGarantie']) == '1'); + + // Style spécifique pour les types 'TA' + $rowClass = ($codeModecalculPrime == 'TA') ? 'bg-warning-ghost' : ''; + ?> + + + + + + + + + + +
nettoyer($produit['codeProduit']) ?> +
+ + + +
+ + +
+ + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/Vue/Produits/index.php b/Vue/Produits/index.php index 826ca309..7c749e08 100755 --- a/Vue/Produits/index.php +++ b/Vue/Produits/index.php @@ -1,25 +1,51 @@ -titre = "INTER SANTE - Produits"; -$superUser = $_SESSION['superUser']; + - +
+ +
+
+
+
+ +
+
+

+

+
+
+ +
+
- - - - - - - - -
- -
-
- + + +
+
+
+
+ +
+
+
+ + +
+
+
+
+
+ +
+ +
+ + \ No newline at end of file