mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
audit payments bankslips
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user