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

CAF200

parent fe3fac32
......@@ -1191,9 +1191,6 @@ function getEntityColors($entites) {
} else {
$entityColors = array("red");
}
if($GLOBALS["PILE_CONF"]["RDV_SRDV_COLUMNS"] == true){
$entityColors = array("srdv", "rdv");
}
return $entityColors;
}
......@@ -1202,13 +1199,13 @@ function getAttenteColumns($agence, $attenteData, $entites, $motifs) {
$column = "";
$entityColors = getEntityColors($entites);
$comp = 0;
$headerColumns = array("srdv", "rdv");
foreach ($attenteData as $key => $columnData) {
$column .= '
<td class="pile-column attente" id="attente-column">
<div id="attente">';
$column .= "<div id='colonne1' valign='top'><span id='nbWaiting' class='nbWaiting title-" . $entityColors[$key] . "'>";
$column .= "<div id='colonne1' valign='top'><span id='nbWaiting' class='nbWaiting title-" . $headerColumns[$key] . "'>";
if (count($attenteData) == 1 && $GLOBALS["PILE_CONF"]["MULTICOLUMNS"] == false) {
// $column .= " Clients en attente";
} 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