fix: ticket 218504 ticket_close #2938

Merged
carlosap merged 1 commits from Hotfix-Ticket-218504-ticket_Close into master 2024-09-09 10:53:20 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 88a8b4975b - Show all commits

View File

@ -85,7 +85,7 @@ BEGIN
IF(vHasDailyInvoice) AND vHasToInvoice THEN
SELECT invoiceSerial(vClientFk, vCompanyFk, 'quick') INTO vSerial;
IF NOT vSerial THEN
IF vSerial IS NULL THEN
CALL util.throw('Cannot booking without a serial');
END IF;