update elusive price
All checks were successful
All checks were successful
This commit is contained in:
@@ -233,7 +233,6 @@ function ($attribute, $value, $fail) use ($request) {
|
||||
$stockData[] = [
|
||||
'business_id' => $business_id,
|
||||
'product_id' => $product->id,
|
||||
'exclusive_price' => $stock['exclusive_price'] ?? 0,
|
||||
'batch_no' => $stock['batch_no'] ?? null,
|
||||
'warehouse_id' => $stock['warehouse_id'] ?? null,
|
||||
'productStock' => $stock['productStock'] ?? 0,
|
||||
@@ -431,7 +430,6 @@ function ($attribute, $value, $fail) use ($request) {
|
||||
'batch_no' => $stock['batch_no'] ?? null,
|
||||
'warehouse_id' => $stock['warehouse_id'] ?? null,
|
||||
'productStock' => $stock['productStock'] ?? 0,
|
||||
'exclusive_price' => $stock['exclusive_price'] ?? 0,
|
||||
'productPurchasePrice' =>$stock['inclusive_price'] ?? 0,
|
||||
'profit_percent' => $stock['profit_percent'] ?? 0,
|
||||
'productSalePrice' => $stock['productSalePrice'] ?? 0,
|
||||
|
||||
@@ -247,7 +247,6 @@ public function store(Request $request)
|
||||
'productPurchasePrice' => $fromStock->productPurchasePrice,
|
||||
'profit_percent' => $fromStock->profit_percent,
|
||||
'productSalePrice' => $fromStock->productSalePrice,
|
||||
'exclusive_price' => $fromStock->exclusive_price,
|
||||
'productWholeSalePrice' => $fromStock->productWholeSalePrice,
|
||||
'productDealerPrice' => $fromStock->productDealerPrice,
|
||||
'mfg_date' => $fromStock->mfg_date,
|
||||
@@ -454,7 +453,6 @@ public function update(Request $request, $id)
|
||||
'warehouse_id' => $toWh,
|
||||
'productStock' => 0,
|
||||
'productPurchasePrice' => $fromStock->productPurchasePrice,
|
||||
'exclusive_price' => $fromStock->exclusive_price,
|
||||
'profit_percent' => $fromStock->profit_percent,
|
||||
'productSalePrice' => $fromStock->productSalePrice,
|
||||
'productWholeSalePrice' => $fromStock->productWholeSalePrice,
|
||||
|
||||
Reference in New Issue
Block a user