Compare commits
2 Commits
80d24b7448
...
1dba08f5da
| Author | SHA1 | Date | |
|---|---|---|---|
| 1dba08f5da | |||
|
|
6dff4fb77e |
@@ -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)
|
$record = NotInStock::where('plant_id', $plantId)
|
||||||
->where('location', $location)
|
->where('location', $location)
|
||||||
->where('sticker_master_id', $stickerMasterId)
|
->where('sticker_master_id', $stickerMasterId)
|
||||||
|
->where('serial_number', $sNo)
|
||||||
->where('bin', $bin)
|
->where('bin', $bin)
|
||||||
->first();
|
->first();
|
||||||
|
|
||||||
@@ -225,7 +226,7 @@ class StockDataTable extends Component
|
|||||||
'location' => $location,
|
'location' => $location,
|
||||||
'bin' => $bin,
|
'bin' => $bin,
|
||||||
'sticker_master_id' => $stickerMasterId,
|
'sticker_master_id' => $stickerMasterId,
|
||||||
'type' => '1',
|
'type' => '0',
|
||||||
'serial_number' => $sNo ?? null,
|
'serial_number' => $sNo ?? null,
|
||||||
'batch' => $batch ?? null,
|
'batch' => $batch ?? null,
|
||||||
'doc_no' => $docNo ?? null,
|
'doc_no' => $docNo ?? null,
|
||||||
|
|||||||
Reference in New Issue
Block a user