1
0
forked from poc/pds

Merge pull request 'added logic in cycle count' (#831) from ranjith-dev into master

Reviewed-on: poc/pds#831
This commit is contained in:
2026-07-16 10:09:46 +00:00

View File

@@ -1431,7 +1431,7 @@ class CycleCount extends Page
$serial->update([
'bin' => $bin ?? null,
'batch' => $this->batch ?? null,
'batch' => count($parts) !== 2 ? $this->batch : $serial->batch,
// 'doc_no' => $this->docNo ?? null,
'scanned_status' => 'Scanned',
'scanned_quantity' => '1',