Compare commits
No commits in common. "848dbf2c805c81a921c62b113ea9634e7341a0d3" and "58b70c53f870d308b365722f9367ad185eb6c002" have entirely different histories.
848dbf2c80
...
58b70c53f8
@ -128,14 +128,14 @@ class StoreProductPriceLogic extends BaseLogic
|
||||
'purchase' => $find['purchase'],
|
||||
'cost' => $find['cost'],
|
||||
'vip_price' => $find['vip_price'],
|
||||
'price' => $find['price'],
|
||||
'price' => $find['vip_price'],
|
||||
'ot_price' => $find['price']
|
||||
]);
|
||||
StoreBranchProduct::where('product_id', $find['product_id'])->update([
|
||||
'purchase' => $find['purchase'],
|
||||
'cost' => $find['cost'],
|
||||
'vip_price' => $find['vip_price'],
|
||||
'price' => $find['price'],
|
||||
'price' => $find['vip_price'],
|
||||
'ot_price' => $find['price']
|
||||
]);
|
||||
|
||||
@ -209,14 +209,14 @@ class StoreProductPriceLogic extends BaseLogic
|
||||
'purchase' => $find['purchase'] ?? 0,
|
||||
'cost' => $find['cost'] ?? 0,
|
||||
'vip_price' => $find['vip_price'] ?? 0,
|
||||
'price' => $find['price'] ?? 0,
|
||||
'price' => $find['vip_price'] ?? 0,
|
||||
'ot_price' => $find['price'] ?? 0,
|
||||
]);
|
||||
StoreBranchProduct::where('product_id', $find['product_id'])->update([
|
||||
'purchase' => $find['purchase'] ?? 0,
|
||||
'cost' => $find['cost'] ?? 0,
|
||||
'vip_price' => $find['vip_price'] ?? 0,
|
||||
'price' => $find['price'] ?? 0,
|
||||
'price' => $find['vip_price'] ?? 0,
|
||||
'ot_price' => $find['price'] ?? 0,
|
||||
]);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user