flex structure mailer issue
This commit is contained in:
@@ -83,14 +83,14 @@ class FlexStructureCommand extends Command
|
|||||||
|
|
||||||
//Build the body of the mail
|
//Build the body of the mail
|
||||||
$body = "Flex Structure Overhead Cost is due for the following structures:<br>";
|
$body = "Flex Structure Overhead Cost is due for the following structures:<br>";
|
||||||
dd($structures);
|
|
||||||
foreach($structures as $structure) {
|
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 .= "Total Cost: " . number_format($totalCost, 2,".", ",");
|
||||||
$body += "Please remit payment to Spatial Forces by the 3rd of the month.<br>";
|
$body .= "Please remit payment to Spatial Forces by the 3rd of the month.<br>";
|
||||||
$body += "Sincerely,<br>";
|
$body .= "Sincerely,<br>";
|
||||||
$body += "Warped Intentions Leadership<br>";
|
$body .= "Warped Intentions Leadership<br>";
|
||||||
|
|
||||||
//Dispatch the mail job
|
//Dispatch the mail job
|
||||||
$mail = new JobSendEveMail;
|
$mail = new JobSendEveMail;
|
||||||
|
|||||||
Reference in New Issue
Block a user