From e36e997844dd27541cb3abea0284d5fe2cf717ac Mon Sep 17 00:00:00 2001 From: robert Date: Wed, 24 Apr 2024 08:04:28 +0200 Subject: [PATCH] feat: refs #6223 ticketCalculateClon --- db/routines/vn/procedures/ticketCalculateClon.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/routines/vn/procedures/ticketCalculateClon.sql b/db/routines/vn/procedures/ticketCalculateClon.sql index 7ded84f45..a56491590 100644 --- a/db/routines/vn/procedures/ticketCalculateClon.sql +++ b/db/routines/vn/procedures/ticketCalculateClon.sql @@ -29,7 +29,7 @@ BEGIN FROM sale WHERE ticketFk = vTicketNew AND price > 0; - CALL sale_recalcComponent('imbalance'); + CALL sale_recalcComponent('buyerDiscount'); DROP TEMPORARY TABLE IF EXISTS tmp.recalculateSales;