Added machine anme in configuration query #1247

Merged
jothi merged 1 commits from ranjith-dev into master 2026-10-15 04:06:04 +00:00

View File

@@ -122,7 +122,7 @@ class SendLaserIdleHourReport extends Command
return (float) ($record->man_marked_status ?? 0);
});
$machineDes = Configuration::where('plant_id', $plant->id)->where('c_type', 'MACHINE NAME')->where('c_name', $machineName)->first();
$machineDes = Configuration::where('plant_id', $plant->id)->where('c_type', 'Machine Name')->where('c_name', $machineName)->first();
$totalExpectedMilliseconds =
$machineRecords