From 5ca20f1b54bd75e3641599fde9ced36f20f9fac3 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Sat, 26 Feb 2022 16:49:15 +0800 Subject: [PATCH] send missing dos 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 175473bf..95aa5f45 100644 --- a/app/Console/Commands/EmailDoToVTCommand.php +++ b/app/Console/Commands/EmailDoToVTCommand.php @@ -61,7 +61,7 @@ class EmailDoToVTCommand extends Command $zip = new ZipArchive(); if ($zip->open($attachment, ZIPARCHIVE::CREATE | ZipArchive::OVERWRITE)) { - + Log::info('success'); $bookings = \App\Models\Booking::where('status', ApprovalStatus::COMPLETED)->whereDate('updated_at', '>=', $startDate)->whereDate('updated_at', '<=', $endDate) ->whereHas('transactions', function ($query){ return $query->where('type', TransactionType::BILL)->where('issuer', 2);