Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
K
kiosqueip
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hamza Arfaoui
kiosqueip
Commits
97d856f7
Commit
97d856f7
authored
Jun 19, 2024
by
Hamza Arfaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CAF200
parent
fe3fac32
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
functions.php
pile/functions.php
+2
-5
No files found.
pile/functions.php
View file @
97d856f7
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment