Added serila number in method confirm serila update in stock data livewire page #473

Merged
jothi merged 1 commits from ranjith-dev into master 2026-03-11 07:35:46 +00:00
Showing only changes of commit 6dff4fb77e - Show all commits

View File

@@ -209,12 +209,13 @@ class StockDataTable extends Component
}
}
public function confirmSerialFGUpdate($plantId, $location, $bin, $sNo, $stickerMasterId)
public function confirmSerialFGUpdate($plantId, $location, $bin, $serial_number, $stickerMasterId)
{
$sNo = $serial_number;
$record = NotInStock::where('plant_id', $plantId)
->where('location', $location)
->where('sticker_master_id', $stickerMasterId)
->where('serial_number', $sNo)
->where('bin', $bin)
->first();
@@ -225,7 +226,7 @@ class StockDataTable extends Component
'location' => $location,
'bin' => $bin,
'sticker_master_id' => $stickerMasterId,
'type' => '1',
'type' => '0',
'serial_number' => $sNo ?? null,
'batch' => $batch ?? null,
'doc_no' => $docNo ?? null,