From 5f8132ab39fa55dfc83db67117f5104ef3857ad6 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Fri, 9 Oct 2026 08:37:03 +0530 Subject: [PATCH] Added status column in panel box rework logic --- app/Livewire/PanelCheckList.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Livewire/PanelCheckList.php b/app/Livewire/PanelCheckList.php index 24638dd6..ca633dfb 100644 --- a/app/Livewire/PanelCheckList.php +++ b/app/Livewire/PanelCheckList.php @@ -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, ]);