Ajout filtre pour les actions du jour
This commit is contained in:
parent
19fac3c1ec
commit
83bacb2e40
@ -134,6 +134,11 @@ if ($type)
|
||||
$sql .= " AND c.id = $type";
|
||||
}
|
||||
|
||||
if ($time == "today")
|
||||
{
|
||||
$sql .= " AND date_format(a.datea, '%d%m%Y') = ".strftime("%d%m%Y",time());
|
||||
}
|
||||
|
||||
if ($socid)
|
||||
{
|
||||
$sql .= " AND s.idp = $socid";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user