From 510eb6e7a4cd498dd5f9be3599c0f04e46f2a5ad Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Sat, 29 Dec 2018 23:49:56 -0600 Subject: [PATCH] sendmail --- app/Console/Commands/sendmail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/sendmail.php b/app/Console/Commands/sendmail.php index 1163e3918..cbbf2ff2f 100644 --- a/app/Console/Commands/sendmail.php +++ b/app/Console/Commands/sendmail.php @@ -68,7 +68,7 @@ class SendMail extends Command $mHelper = new Mail(); //Get the full list of bills to send out - $bills = MonthlyMarketTax::where(['month' => $date->monthName, 'year' => $date->year])->get(); + $bills = MonthlyMarketTax::where(['month' => $date->month, 'year' => $date->year])->get(); //For each of the bills send a mail out foreach($bills as $bill) { //Send a mail out with the bill