diff --git a/Js/fonctions.js b/Js/fonctions.js index 5dbe2eca..afd481cd 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -86927,7 +86927,12 @@ function filtreproduitbareme() { data: { codeGcAssureur: codeGcAssureur }, success: function(data) { $('#div_produit').html(data); - actualiserSelectPicker('#codeProduit', true); + if (typeof actualiserSelectPicker === 'function') { + actualiserSelectPicker('#codeProduit', true); // true pour donner le focus + } else { + // Fallback si la fonction n'est pas chargée + $('#codeProduit').selectpicker('refresh'); + } } }); } diff --git a/Vue/Ajaxbaremeproduit/index.php b/Vue/Ajaxbaremeproduit/index.php index 6de19ac4..c5981f5b 100755 --- a/Vue/Ajaxbaremeproduit/index.php +++ b/Vue/Ajaxbaremeproduit/index.php @@ -1,70 +1,58 @@ titre = "INTER SANTE - Barème de prise en charge initial"; - - - $nbreTotal = count($baremes); - - if($nbreTotal < 10){ - $nbreTotal = '0'.$nbreTotal; - }else{ - $nbreTotal = format_N($nbreTotal); - } + $nbreTotal = count($baremes); + $displayTotal = ($nbreTotal < 10) ? '0'.$nbreTotal : format_N($nbreTotal); ?> - - - - -
+
+ + + +
- - - - - - - - - - - - - - - - nettoyer($v['id']); - - $observation = $this->nettoyer($v['observationBareme']); - - if(!empty($observation)){ - $libelle = $observation; - }else{ - $libelle = $this->nettoyer($v['libelle']); - } - - $archiver = $this->nettoyer($v['archiver']); - $nbBaremeCollege = $this->nettoyer($v['nbBaremeCollege']); - - $dansCollege = ($nbBaremeCollege=="0") ? "Non" : "Oui"; - $territoire = $this->nettoyer($v['territoire']); - - if (est_anglophone()){ - $territoire = $this->nettoyer($v['territoireEng']); - } - ?> - - - - - - - - - - - -
nettoyer($v['garant']) ?> nettoyer($v['tauxRemboursement']) ?> " onclick="javascript:modifier_baremepriseencharge();"> " onclick="javascript:detail_baremepriseencharge();">
\ No newline at end of file +
+
+ + + + + + + + + + + + + nettoyer($v['id']); + $libelle = !empty($v['observationBareme']) ? $v['observationBareme'] : $v['libelle']; + $territoire = est_anglophone() ? $v['territoireEng'] : $v['territoire']; + ?> + + + + + + + + + + +
ID
nettoyer($libelle) ?>nettoyer($v['garant']) ?> + + nettoyer($v['tauxRemboursement']) ?> % + + + nettoyer($territoire) ?> + +
+ + +
+
+
+
\ No newline at end of file diff --git a/Vue/Ajaxfiltreproduitbareme/index.php b/Vue/Ajaxfiltreproduitbareme/index.php index 79149176..7ae63165 100755 --- a/Vue/Ajaxfiltreproduitbareme/index.php +++ b/Vue/Ajaxfiltreproduitbareme/index.php @@ -1,8 +1,32 @@ - + + +