1
0
forked from poc/pds

Added status column in panel box rework logic

This commit is contained in:
dhanabalan
2026-10-09 08:37:03 +05:30
parent beb9308149
commit 5f8132ab39

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,
]);