Merge pull request 'fix: ticket 218504 ticket_close' (!2938) from Hotfix-Ticket-218504-ticket_Close into master
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #2938
Reviewed-by: Guillermo Bonet <guillermo@verdnatura.es>
This commit is contained in:
Carlos Andrés 2024-09-09 10:53:19 +00:00
commit 804d10894b
1 changed files with 1 additions and 1 deletions

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;