feat: refs #7296
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Robert Ferrús 2024-06-28 08:46:54 +02:00
parent f1f57a388d
commit ca3750ebac
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ module.exports = Self => {
quantity: quantity quantity: quantity
}, myOptions); }, myOptions);
await Self.rawSql('CALL vn.sale_calculateComponent(?, )', [newSale.id], myOptions); await Self.rawSql('CALL vn.sale_calculateComponent(?, NULL)', [newSale.id], myOptions);
await Self.rawSql('CALL vn.ticket_recalc(?, NULL)', [id], myOptions); await Self.rawSql('CALL vn.ticket_recalc(?, NULL)', [id], myOptions);
const sale = await models.Sale.findById(newSale.id, { const sale = await models.Sale.findById(newSale.id, {