test #2456

Merged
juan merged 9 commits from test into dev 2024-05-15 06:57:06 +00:00
1 changed files with 3 additions and 1 deletions
Showing only changes of commit adaba6ecfb - Show all commits

View File

@ -56,7 +56,9 @@ BEGIN
typeFk,
clientFk,
companyFk,
IF (marginComponents IS NULL, 0, CAST(marginComponents + amount + surcharge - total AS DECIMAL(10, 3)))
IF (marginComponents IS NULL,
0,
CAST(marginComponents + amount + surcharge - total AS DECIMAL(10, 3)))
FROM calculatedSales;
END$$
DELIMITER ;