added logic in cycle count
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 15s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 17s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 14s
Laravel Pint / pint (pull_request) Successful in 3m36s
Laravel Larastan / larastan (pull_request) Failing after 3m59s

This commit is contained in:
dhanabalan
2026-07-16 15:39:29 +05:30
parent 947aacb074
commit fdc0aed31c

View File

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