Merge pull request 'added table data empty validation in laser idle report' (#1160) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 15s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 15s
Reviewed-on: #1160
This commit was merged in pull request #1160.
This commit is contained in:
@@ -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