Again changed logic in laser idle report
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 22s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 21s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 13s
Laravel Pint / pint (pull_request) Successful in 4m31s
Laravel Larastan / larastan (pull_request) Failing after 5m43s

This commit is contained in:
dhanabalan
2026-10-06 09:37:33 +05:30
parent 19fec1b2f5
commit 3221024b4a

View File

@@ -89,6 +89,7 @@ class SendLaserIdleHourReport extends Command
$motorCount = $machineRecords
->where('motor_machine_name', $machineName)
->where('motor_marked_status', 'Marked')
->filter(function ($record) {
return (float) ($record->motor_marked_physical_count ?? 0) > 0;
})
@@ -99,6 +100,7 @@ class SendLaserIdleHourReport extends Command
$pumpCount = $machineRecords
->where('pump_machine_name', $machineName)
->where('pump_marked_status', 'Marked')
->filter(function ($record) {
return (float) ($record->pump_marked_physical_count ?? 0) > 0;
})