From 036d1ad0af7c1cc1d51709d32fb42226bf3a74d2 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Tue, 8 Nov 2022 19:06:25 +0800 Subject: [PATCH] audit payments bankslips --- routes/web.php | 1 - 1 file changed, 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index 5e8ac759..0c97893f 100644 --- a/routes/web.php +++ b/routes/web.php @@ -430,7 +430,6 @@ Route::get('/po/manual/fix', function(){ Route::get('/payment/check', function(){ - dd(\App\Models\File::whereDate('created_at', '>', Carbon::parse('2022-11-08 02:00:00'))->whereDate('created_at', '>', Carbon::parse('2022-11-08 16:00:00'))->get()); $transactions = Transaction::where('type', TransactionType::PAYMENT)->where('payment_method', \App\Classes\ValueObjects\Constants\PaymentMethodType::CASH)->whereDate('created_at', '=', Carbon::today())->whereIn('status', [ApprovalStatus::PENDING_VERIFICATION, ApprovalStatus::APPROVED, ApprovalStatus::COMPLETED])->get(); foreach ($transactions as $transaction){