ranjith-dev #327

Merged
jothi merged 3 commits from ranjith-dev into master 2026-02-11 04:48:26 +00:00
Showing only changes of commit 6cb67362d5 - Show all commits

View File

@@ -832,8 +832,8 @@ class RequestCharacteristicResource extends Resource
$prefix = "WF-{$year}{$month}{$date}-";
$lastWorkflow = RequestCharacteristic::where('work_flow_id', 'like', "{$prefix}%")
// ->where('plant_id', $plantId)
// ->where('machine_id', $MachineId)
->where('work_flow_id', 'like', "{$prefix}%")
->orderByDesc('work_flow_id')
->first();