BSSC#91004 E-mailnotificaties fiatteren ontbreken

svn path=/Database/trunk/; revision=70644
This commit is contained in:
Jos Groot Lipman
2025-10-16 14:10:57 +00:00
parent 773494d15c
commit f0952cae61

View File

@@ -442,15 +442,9 @@ CREATE OR REPLACE PACKAGE BODY cnt AS
THEN
-- Splitsen van contract.
begin1 := p_datum;
eind1 := eind1;
IF (fac.getsetting('cnt_contract_approval') = 1 AND srtcontract_type != 6)
IF (fac.getsetting('cnt_contract_approval') = 1 AND srtcontract_type != 6) -- niet voor mantelcontracten
THEN
IF (approve_new = 1)
THEN
new_status := 3; -- gesplitst contract altijd accorderen
ELSE
new_status := 2; -- altijd op nieuw
END IF;
new_status := 2; -- altijd op nieuw(=concept)
ELSE
new_status := 0; -- direct actief
END IF;