flex structure mailer issue

This commit is contained in:
2020-05-03 23:37:55 -05:00
parent c578512188
commit 5b64bd910a

View File

@@ -83,14 +83,14 @@ class FlexStructureCommand extends Command
//Build the body of the mail
$body = "Flex Structure Overhead Cost is due for the following structures:<br>";
dd($structures);
foreach($structures as $structure) {
$body += "System: " . $structure->system . " - " . $structure->structure_type . ": " . $structure->structure_cost . " ISK<br>";
$body .= "System: " . $structure->system . " - " . $structure->structure_type . ": " . $structure->structure_cost . " ISK<br>";
}
$body += "Total Cost: " . number_format($totalCost, 2,".", ",");
$body += "Please remit payment to Spatial Forces by the 3rd of the month.<br>";
$body += "Sincerely,<br>";
$body += "Warped Intentions Leadership<br>";
$body .= "Total Cost: " . number_format($totalCost, 2,".", ",");
$body .= "Please remit payment to Spatial Forces by the 3rd of the month.<br>";
$body .= "Sincerely,<br>";
$body .= "Warped Intentions Leadership<br>";
//Dispatch the mail job
$mail = new JobSendEveMail;