update elusive price
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 4m55s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 42s
Build, Push and Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-05-18 10:48:12 +07:00
parent 8307b9e66d
commit bc6ae43121
2 changed files with 0 additions and 4 deletions

View File

@@ -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,

View File

@@ -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,