noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 13/19: Widget : event fix date description ,


From: dwm
Subject: [Noalyss-commit] [noalyss] 13/19: Widget : event fix date description , set interval to 14 days
Date: Sat, 31 Aug 2024 17:46:29 -0400 (EDT)

sparkyx pushed a commit to branch pre-stable
in repository noalyss.

commit fc68535f11215fe9d332729357750edae8ec2b5b
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sun Aug 25 17:56:01 2024 +0200

    Widget : event fix date description , set interval to 14 days
---
 include/widget/event/event.php   | 2 +-
 include/widget/event/install.php | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/widget/event/event.php b/include/widget/event/event.php
index 63c43d410..0ec907878 100644
--- a/include/widget/event/event.php
+++ b/include/widget/event/event.php
@@ -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);
diff --git a/include/widget/event/install.php b/include/widget/event/install.php
index 9120cf054..0bc67008e 100644
--- a/include/widget/event/install.php
+++ b/include/widget/event/install.php
@@ -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'
         )



reply via email to

[Prev in Thread] Current Thread [Next in Thread]