Commit 97d856f7 authored by Hamza Arfaoui's avatar Hamza Arfaoui

CAF200

parent fe3fac32
...@@ -1191,9 +1191,6 @@ function getEntityColors($entites) { ...@@ -1191,9 +1191,6 @@ function getEntityColors($entites) {
} else { } else {
$entityColors = array("red"); $entityColors = array("red");
} }
if($GLOBALS["PILE_CONF"]["RDV_SRDV_COLUMNS"] == true){
$entityColors = array("srdv", "rdv");
}
return $entityColors; return $entityColors;
} }
...@@ -1202,13 +1199,13 @@ function getAttenteColumns($agence, $attenteData, $entites, $motifs) { ...@@ -1202,13 +1199,13 @@ function getAttenteColumns($agence, $attenteData, $entites, $motifs) {
$column = ""; $column = "";
$entityColors = getEntityColors($entites); $entityColors = getEntityColors($entites);
$comp = 0; $comp = 0;
$headerColumns = array("srdv", "rdv");
foreach ($attenteData as $key => $columnData) { foreach ($attenteData as $key => $columnData) {
$column .= ' $column .= '
<td class="pile-column attente" id="attente-column"> <td class="pile-column attente" id="attente-column">
<div id="attente">'; <div id="attente">';
$column .= "<div id='colonne1' valign='top'><span id='nbWaiting' class='nbWaiting title-" . $headerColumns[$key] . "'>";
$column .= "<div id='colonne1' valign='top'><span id='nbWaiting' class='nbWaiting title-" . $entityColors[$key] . "'>";
if (count($attenteData) == 1 && $GLOBALS["PILE_CONF"]["MULTICOLUMNS"] == false) { if (count($attenteData) == 1 && $GLOBALS["PILE_CONF"]["MULTICOLUMNS"] == false) {
// $column .= " Clients en attente"; // $column .= " Clients en attente";
} else if ($GLOBALS["PILE_CONF"]["RDV_SRDV_COLUMNS"] == true) { } else if ($GLOBALS["PILE_CONF"]["RDV_SRDV_COLUMNS"] == true) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment