This commit is contained in:
parent
87e4a78092
commit
1fff3aa681
|
@ -70,7 +70,7 @@ module.exports = Self => {
|
|||
quantity: quantity
|
||||
}, myOptions);
|
||||
|
||||
await Self.rawSql('CALL vn.sale_calculateComponent(?, NULL)', [newSale.id], myOptions);
|
||||
await Self.rawSql('CALL vn.sale_calculateComponent(?, ?)', [newSale.id, 'renewPrices'], myOptions);
|
||||
await Self.rawSql('CALL vn.ticket_recalc(?, NULL)', [id], myOptions);
|
||||
|
||||
const sale = await models.Sale.findById(newSale.id, {
|
||||
|
|
Loading…
Reference in New Issue