From 5d668791f937706a9a235f18acff1bbd47753fc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Fri, 14 Apr 2023 14:37:52 +0200 Subject: [PATCH] =?UTF-8?q?Projektphase=20in=20der=20Zeiterfassung=20werde?= =?UTF-8?q?n=20tempor=C3=A4r=207=20Monate=20in=20die=20Vergangenheit=20anz?= =?UTF-8?q?gezeigt=20um=20die=20Erfassung=20von=20alten=20Eintr=C3=A4gen?= =?UTF-8?q?=20zu=20erm=C3=B6glichen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/projektphase.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/projektphase.class.php b/include/projektphase.class.php index 4e3c38b7c..c1cd8322c 100644 --- a/include/projektphase.class.php +++ b/include/projektphase.class.php @@ -718,10 +718,10 @@ class projektphase extends basis_db ( ( (tbl_projekt.beginn<=now() or tbl_projekt.beginn is null) - AND (tbl_projekt.ende + interval '1 month 1 day' >=now() OR tbl_projekt.ende is null) + AND (tbl_projekt.ende + interval '7 month 1 day' >=now() OR tbl_projekt.ende is null) ) AND ( (tbl_projektphase.start<=now() or tbl_projektphase.start is null) - AND (tbl_projektphase.ende + interval '1 month 1 day' >=now() OR tbl_projektphase.ende is null) + AND (tbl_projektphase.ende + interval '7 month 1 day' >=now() OR tbl_projektphase.ende is null) ) ) AND mitarbeiter_uid=" . $this->db_add_param($mitarbeiter_uid); @@ -787,10 +787,10 @@ class projektphase extends basis_db ( ( (tbl_projekt.beginn<=now() or tbl_projekt.beginn is null) - AND (tbl_projekt.ende + interval '1 month 1 day' >=now() OR tbl_projekt.ende is null) + AND (tbl_projekt.ende + interval '7 month 1 day' >=now() OR tbl_projekt.ende is null) ) AND ( (tbl_projektphase.start<=now() or tbl_projektphase.start is null) - AND (tbl_projektphase.ende + interval '1 month 1 day' >=now() OR tbl_projektphase.ende is null) + AND (tbl_projektphase.ende + interval '7 month 1 day' >=now() OR tbl_projektphase.ende is null) ) ) AND mitarbeiter_uid = ".$this->db_add_param($mitarbeiter_uid)."