1
0
forked from poc/pds

changed logic in laser idle report

This commit is contained in:
dhanabalan
2026-10-14 12:31:43 +05:30
parent 77ed3490a0
commit 1e850415b7

View File

@@ -122,7 +122,7 @@ class SendLaserIdleHourReport extends Command
return (float) ($record->man_marked_status ?? 0);
});
$machineDes = Configuration::where('plant_id', $plantId)->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