Added log info in laser idle report #1179

Merged
jothi merged 1 commits from ranjith-dev into master 2026-10-06 04:22:32 +00:00
Showing only changes of commit c2a30e0c7d - Show all commits

View File

@@ -110,6 +110,18 @@ class SendLaserIdleHourReport extends Command
// return (float) ($record->pump_marked_physical_count ?? 0);
// });
\Log::info('Laser Idle Pump Debug', [
'plant_id' => $plant->id,
'plant' => $plant->name,
'machine' => $machineName,
'pump_rows' => $machineRecords->count(),
'pump_sum' => $pumpCount,
'pump_values' => $machineRecords
->pluck('pump_marked_physical_count')
->countBy()
->toArray(),
]);
$namePlateCount = $machineRecords
->where('name_plate_machine_name', $machineName)
->where('name_plate_marked_status', 'Marked')