changed logic in laser idle report
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 15s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 17s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 14s
Laravel Pint / pint (pull_request) Successful in 4m39s
Laravel Larastan / larastan (pull_request) Failing after 6m12s

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