Added status column in panel box rework logic #1206

Merged
jothi merged 1 commits from ranjith-dev into master 2026-10-09 03:07:20 +00:00

View File

@@ -218,6 +218,7 @@ public $records = [];
'panel_box_code' => $this->data['panel_box_code'] ?? null,
'inspection_lot_number' => $this->data['inspection_lot_number'] ?? null,
'rework_count' => $latestReworkRecord ? ((int) $latestReworkRecord->rework_count + 1) : 0,
'status' => $this->selectForNotOk ? 'NotOk' : 'Ok',
'created_by' => $this->data['created_by'] ?? null,
'updated_by' => $this->data['updated_by'] ?? null,
]);