fix: transaction
This commit is contained in:
parent
62225606b0
commit
890f82bfec
|
@ -576,16 +576,16 @@ export class TransactionService {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
coa_id: coaCostOfSales.id,
|
coa_id: coaCostOfSales.id,
|
||||||
debit: product_price.price,
|
debit: costInventory,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
coa_id: coaAccount.id,
|
coa_id: coaAccount.id,
|
||||||
debit: product_price.mark_up_price + product_price.price,
|
debit: product_price.mark_up_price + costInventory,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// eslint-disable-next-line camelcase
|
// eslint-disable-next-line camelcase
|
||||||
coa_id: coaSales.id,
|
coa_id: coaSales.id,
|
||||||
credit: product_price.mark_up_price + product_price.price,
|
credit: product_price.mark_up_price + costInventory,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user