noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 271/323: Periode : fix , the second periode i


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 271/323: Periode : fix , the second periode is wrong when opening day is asked
Date: Wed, 14 Mar 2018 17:39:03 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 92ca159b54b574781a34818ac9c1a1c37cddc1cb
Author: Dany De Bontridder <address@hidden>
Date:   Sun Feb 25 17:21:38 2018 +0100

    Periode : fix , the second periode is wrong when opening day is asked
---
 include/class/periode.class.php | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/class/periode.class.php b/include/class/periode.class.php
index 4ff4dfc..c4efd0c 100644
--- a/include/class/periode.class.php
+++ b/include/class/periode.class.php
@@ -455,7 +455,6 @@ class Periode
                     $date_end=$this->cn->get_value("select 
to_char(to_date($1,'DD.MM.YYYY')+interval '1 month'-interval '1 
day','DD.MM.YYYY')",
                             array($fdate_start));
 
-                    $date_end=sprintf('02.%02d.%d', $month, $year);
                     $this->insert($date_start, $date_end, $p_exercice);
                 }
                 // The last month, we create a one-day periode for closing



reply via email to

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