Merge branch 'development' into 'devops-production'
fix: transaction See merge request empatnusabangsa/ppob/ppob-backend!131
This commit is contained in:
commit
eae9f001a9
|
@ -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