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); ?> -
| - - |
| = _("ID") ?> | -= _("Libellé") ?> | -= _("Garant") ?> | -= _("Taux") ?> | -= _("Territoire") ?> | -= _("Modifier") ?> | -= _("Configurer") ?> | -
|---|---|---|---|---|---|---|
| = $idBaremes ?> | -= $libelle ?> | -= $this->nettoyer($v['garant']) ?> | -= $this->nettoyer($v['tauxRemboursement']) ?> | -= $territoire ?> | -" onclick="javascript:modifier_baremepriseencharge(= $idBaremes ?>);"> | -" onclick="javascript:detail_baremepriseencharge(= $idBaremes ?>);"> | -
| ID | += _("Libellé du Barème") ?> | += _("Garant") ?> | += _("Taux (%)") ?> | += _("Territoire") ?> | += _("Actions") ?> | +
|---|---|---|---|---|---|
| = $id ?> | += $this->nettoyer($libelle) ?> | += $this->nettoyer($v['garant']) ?> | ++ + = $this->nettoyer($v['tauxRemboursement']) ?> % + + | ++ = $this->nettoyer($territoire) ?> + | +
+
+
+
+
+ |
+