Added updated by column in reowrk logic
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 16s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 18s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 20s
Laravel Pint / pint (pull_request) Successful in 5m45s
Laravel Larastan / larastan (pull_request) Failing after 7m17s

This commit is contained in:
dhanabalan
2026-11-27 07:48:13 +05:30
parent 1b2708dd79
commit 03c8549564

View File

@@ -209,6 +209,7 @@ public $records = [];
}
if($latestReworkRecord){
$userName = Filament::auth()->user()?->name;
$reworkCount = $latestReworkRecord
? ((int) $latestReworkRecord->rework_count + 1)
@@ -217,6 +218,7 @@ public $records = [];
$latestReworkRecord->update([
'rework_count' => $reworkCount,
'status' => $this->selectForNotOk ? 'NotOk' : 'Ok',
'updated_by' => $userName,
]);
}
catch (\Illuminate\Database\QueryException $e) {