flex structure issue

This commit is contained in:
2019-12-25 23:48:57 -06:00
parent 3af4db41ac
commit 55cba30f17

View File

@@ -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<br>";
}
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.<br>";
$body += "Sincerely,<br>";
$body += "Warped Intentions Leadership<br>";