Added status column in panel box rework logic #1206
@@ -218,6 +218,7 @@ public $records = [];
|
|||||||
'panel_box_code' => $this->data['panel_box_code'] ?? null,
|
'panel_box_code' => $this->data['panel_box_code'] ?? null,
|
||||||
'inspection_lot_number' => $this->data['inspection_lot_number'] ?? null,
|
'inspection_lot_number' => $this->data['inspection_lot_number'] ?? null,
|
||||||
'rework_count' => $latestReworkRecord ? ((int) $latestReworkRecord->rework_count + 1) : 0,
|
'rework_count' => $latestReworkRecord ? ((int) $latestReworkRecord->rework_count + 1) : 0,
|
||||||
|
'status' => $this->selectForNotOk ? 'NotOk' : 'Ok',
|
||||||
'created_by' => $this->data['created_by'] ?? null,
|
'created_by' => $this->data['created_by'] ?? null,
|
||||||
'updated_by' => $this->data['updated_by'] ?? null,
|
'updated_by' => $this->data['updated_by'] ?? null,
|
||||||
]);
|
]);
|
||||||
|
|||||||
Reference in New Issue
Block a user