- fix auto update price elang

This commit is contained in:
Fadli 2022-08-21 01:51:46 +07:00
parent 1ae7966861
commit 4cc5794ea5

View File

@ -591,6 +591,7 @@ export class TransactionService {
let costInventory = product_price.price;
if (hitSupplier.harga != undefined) {
if (hitSupplier.harga != product_price.price) {
console.log("priceupdate1supplier", hitSupplier.harga)
console.log("priceupdate1normal", product_price.price)
@ -618,7 +619,7 @@ export class TransactionService {
product_price = newProductPrice;
});
}
}
try {
//TRANSACTION DATA
await this.connection.transaction(async (manager) => {