- fix auto update price elang
This commit is contained in:
parent
1ae7966861
commit
4cc5794ea5
|
@ -591,6 +591,7 @@ export class TransactionService {
|
||||||
|
|
||||||
let costInventory = product_price.price;
|
let costInventory = product_price.price;
|
||||||
|
|
||||||
|
if (hitSupplier.harga != undefined) {
|
||||||
if (hitSupplier.harga != product_price.price) {
|
if (hitSupplier.harga != product_price.price) {
|
||||||
console.log("priceupdate1supplier", hitSupplier.harga)
|
console.log("priceupdate1supplier", hitSupplier.harga)
|
||||||
console.log("priceupdate1normal", product_price.price)
|
console.log("priceupdate1normal", product_price.price)
|
||||||
|
@ -618,7 +619,7 @@ export class TransactionService {
|
||||||
product_price = newProductPrice;
|
product_price = newProductPrice;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
//TRANSACTION DATA
|
//TRANSACTION DATA
|
||||||
await this.connection.transaction(async (manager) => {
|
await this.connection.transaction(async (manager) => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user