From 2a685a1ea2445d27100a798da69faeb5603fdbb7 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Thu, 25 Nov 2021 00:55:48 +0800 Subject: [PATCH] add command for sending do to vt --- app/Console/Commands/EmailDoToVTCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/EmailDoToVTCommand.php b/app/Console/Commands/EmailDoToVTCommand.php index 807f9ecc..ce99ddcf 100644 --- a/app/Console/Commands/EmailDoToVTCommand.php +++ b/app/Console/Commands/EmailDoToVTCommand.php @@ -67,7 +67,7 @@ class EmailDoToVTCommand extends Command ->whereHas('transactions', function ($query){ return $query->where('type', TransactionType::BILL)->where('issuer', 2); })->get(); -dd(count($bookings)); + if(!$bookings){ return; } foreach ($bookings as $booking) {