diff --git a/app/Console/Commands/Flex/FlexStructureCommand.php b/app/Console/Commands/Flex/FlexStructureCommand.php index 14e170d1d..57b230c9d 100644 --- a/app/Console/Commands/Flex/FlexStructureCommand.php +++ b/app/Console/Commands/Flex/FlexStructureCommand.php @@ -79,6 +79,8 @@ class FlexStructureCommand extends Command 'requestor_id' => $contact, ])->get(); + dd($structures); + //Totalize the total cost of everything $totalCost = $this->TotalizeCost($structures); @@ -88,7 +90,7 @@ class FlexStructureCommand extends Command $body += "System: " . $structure->system . " - " . $structure->structure_type . ": " . $structure->structure_cost . " ISK
"; } dd($totalCost); - $body += "Total Cost: " . $totalCost; + $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
";