From bd9441fe156acc99dd95eda6867d5659f6e7d47c Mon Sep 17 00:00:00 2001 From: Ruud Lipper Date: Wed, 12 Oct 2016 10:27:48 +0000 Subject: [PATCH] NYBU#38051 verkeerd beschikare uren werd weergegeven svn path=/Website/branches/v2016.2/; revision=31057 --- APPL/RES/res_list_ppi.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/APPL/RES/res_list_ppi.inc b/APPL/RES/res_list_ppi.inc index b6ba71fe5f..7b756fabf8 100644 --- a/APPL/RES/res_list_ppi.inc +++ b/APPL/RES/res_list_ppi.inc @@ -219,7 +219,7 @@ function forhours(fn) + ", ((fac.Count_Work_Days(" + ora_date1 + "-1 , " + ora_date2 + "))" + (dayschedule ? "" - : " * (LEAST(COALESCE(rr1.res_ruimte_eindtijd, " + S("res_t2") + ")," + S("res_rap_t2") + ")) - GREATEST(COALESCE(rr1.res_ruimte_begintijd, " + S("res_t1") + ")," + S("res_rap_t1") + ")") + ") beschikbaar" + : " * (LEAST(COALESCE(rr1.res_ruimte_eindtijd, " + S("res_t2") + ")," + S("res_rap_t2") + ") - GREATEST(COALESCE(rr1.res_ruimte_begintijd, " + S("res_t1") + ")," + S("res_rap_t1") + ")") + ")) beschikbaar" + " FROM res_ruimte rr1, res_alg_ruimte ra " + " WHERE rr1.res_ruimte_key = ra.res_ruimte_key " + " AND ra.res_alg_ruimte_aanmaak <= " + ora_date2