debug do email to vt

This commit is contained in:
omair saleh
2021-12-12 22:01:34 +08:00
parent 2c77bcee65
commit 04eca9c88e
@@ -66,6 +66,7 @@ class EmailDoToVTCommand extends Command
$zip = new ZipArchive();
if ($zip->open($attachment, ZIPARCHIVE::CREATE | ZipArchive::OVERWRITE)) {
echo 'yes';
$bookings = \App\Models\Booking::where('status', ApprovalStatus::COMPLETED)->whereDate('updated_at', Carbon::yesterday())
->whereHas('transactions', function ($query){
return $query->where('type', TransactionType::BILL)->where('issuer', 2);