diff --git a/Vue/Ajaxchargeractesmedicaux/index.php b/Vue/Ajaxchargeractesmedicaux/index.php
index a979986..d85d1e6 100755
--- a/Vue/Ajaxchargeractesmedicaux/index.php
+++ b/Vue/Ajaxchargeractesmedicaux/index.php
@@ -4,15 +4,24 @@ if(!empty($actes)) {
",$v["libelle"]);
-
- if (isset($tab[2]) && ($tab[2] == "Garanti" || $tab[2] == "Guaranteed")){
- $style = "background-color: red; color:white;";
- }elseif (isset($tab[3]) && ($tab[3] == "Demander Accord" || $tab[3] == "Request Approval")){
- $style = "background-color: yellow;";
+ if(est_anglophone()){
+ if (isset($tab[1]) && $tab[1] != "Guaranteed"){
+ $style = "background-color: red; color:white;";
+ }elseif (isset($tab[2]) && $tab[2] == "Request Approval"){
+ $style = "background-color: yellow;";
+ }else{
+ $style = "background-color: white;";
+ }
}else{
- $style = "background-color: white;";
+ if (isset($tab[1]) && $tab[1] != "Garanti"){
+ $style = "background-color: red; color:white;";
+ }elseif (isset($tab[2]) && $tab[2] == "Demander Accord"){
+ $style = "background-color: yellow;";
+ }else{
+ $style = "background-color: white;";
+ }
}
+
?>
- ');add_selected_acte_medicaux(' ".$v["libelle"]; ?>');">