flex structure issue
This commit is contained in:
@@ -71,9 +71,11 @@ class FlexStructureCommand extends Command
|
|||||||
|
|
||||||
//Get all of the contacts for the flex structures
|
//Get all of the contacts for the flex structures
|
||||||
$contacts = FlexStructure::select('requestor_id')->orderBy('requestor_id')->get();
|
$contacts = FlexStructure::select('requestor_id')->orderBy('requestor_id')->get();
|
||||||
dd($contacts);
|
|
||||||
//For each of the contacts, send a reminder mail about the total of the structures they are paying for
|
//For each of the contacts, send a reminder mail about the total of the structures they are paying for
|
||||||
foreach($contacts as $contact) {
|
foreach($contacts as $contact) {
|
||||||
|
|
||||||
|
dd($contact);
|
||||||
//Get all of the structures for requestor
|
//Get all of the structures for requestor
|
||||||
$structures = FlexStructure::where([
|
$structures = FlexStructure::where([
|
||||||
'requestor_id' => $contact,
|
'requestor_id' => $contact,
|
||||||
|
|||||||
Reference in New Issue
Block a user