flex structure issue

This commit is contained in:
2019-12-25 23:52:07 -06:00
parent 2367438d2e
commit e332d4e55d

View File

@@ -74,13 +74,13 @@ class FlexStructureCommand extends Command
//For each of the contacts, send a reminder mail about the total of the structures they are paying for
foreach($contacts as $contact) {
dd($contact);
//Get all of the structures for requestor
$structures = FlexStructure::where([
'requestor_id' => $contact,
'requestor_id' => $contact->requestor_id,
])->get();
dd($structures);
//Totalize the total cost of everything
$totalCost = $this->TotalizeCost($structures);