Widget : event fix date description , set interval to 14 days

This commit is contained in:
sparkyx 2024-08-25 17:56:01 +02:00
parent 801ff0c499
commit fc68535f11
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@ class Event extends Widget
left join vw_fiche_attr on (f_id=f_id_dest)
where
ag_state not in (1,4)
and to_char(ag_remind_date,'DDMMYYYY')<=to_char(now()+interval '7 days','DDMMYYYY')
and to_char(ag_remind_date,'DDMMYYYY')<=to_char(now()+interval '14 days','DDMMYYYY')
and ". \Follow_Up::sql_security_filter($this->db,'R')
." order by ag_remind_date asc";
$array=$this->db->get_array($sql);

View file

@ -26,7 +26,7 @@ global $cn;
$cn->exec_sql("insert into widget_dashboard (wd_code,wd_description,wd_parameter,wd_name) values ($1,$2,$3,$4)",
array (
'event'
,'Affiche les actions à venir et celles en retards'
,'Affiche les actions dont la date limite est à moins de 14 jours '
,0
,'A faire'
)