1
0
forked from poc/pds

Merge pull request 'changed logic in laser idle report' (#1242) from ranjith-dev into master

Reviewed-on: poc/pds#1242
This commit is contained in:
2026-10-14 07:02:10 +00:00

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