moon mailer
This commit is contained in:
@@ -73,7 +73,7 @@ class MoonMailerCommand extends Command
|
|||||||
|
|
||||||
//Get all contacts from the rentals group
|
//Get all contacts from the rentals group
|
||||||
$contacts = MoonRental::select('Contact')->groupBy('Contact')->get();
|
$contacts = MoonRental::select('Contact')->groupBy('Contact')->get();
|
||||||
|
dd($contacts);
|
||||||
//For each of the contacts totalize the moon rental, and create the mail to send to them,
|
//For each of the contacts totalize the moon rental, and create the mail to send to them,
|
||||||
//then update parameters of the moon
|
//then update parameters of the moon
|
||||||
foreach($contacts as $contact) {
|
foreach($contacts as $contact) {
|
||||||
|
|||||||
Reference in New Issue
Block a user