From 5b64bd910a41ce6be18c2668c55268c0debadef8 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Sun, 3 May 2020 23:37:55 -0500 Subject: [PATCH] flex structure mailer issue --- app/Console/Commands/Flex/FlexStructureCommand.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/Console/Commands/Flex/FlexStructureCommand.php b/app/Console/Commands/Flex/FlexStructureCommand.php index c7b29f7a1..27c5d4187 100644 --- a/app/Console/Commands/Flex/FlexStructureCommand.php +++ b/app/Console/Commands/Flex/FlexStructureCommand.php @@ -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:
"; - dd($structures); foreach($structures as $structure) { - $body += "System: " . $structure->system . " - " . $structure->structure_type . ": " . $structure->structure_cost . " ISK
"; + + $body .= "System: " . $structure->system . " - " . $structure->structure_type . ": " . $structure->structure_cost . " ISK
"; } - $body += "Total Cost: " . number_format($totalCost, 2,".", ","); - $body += "Please remit payment to Spatial Forces by the 3rd of the month.
"; - $body += "Sincerely,
"; - $body += "Warped Intentions Leadership
"; + $body .= "Total Cost: " . number_format($totalCost, 2,".", ","); + $body .= "Please remit payment to Spatial Forces by the 3rd of the month.
"; + $body .= "Sincerely,
"; + $body .= "Warped Intentions Leadership
"; //Dispatch the mail job $mail = new JobSendEveMail;