added table data empty validation in laser idle report #1160
@@ -161,6 +161,10 @@ class SendLaserIdleHourReport extends Command
|
||||
}
|
||||
}
|
||||
|
||||
if (empty($tableData)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$mail = new LaserIdleMail($scheduleType, $tableData);
|
||||
|
||||
// $contentVars = $mail->content()->with;
|
||||
|
||||
Reference in New Issue
Block a user