From 3d2867324243a22c44d6be91c515ca79f94da944 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Wed, 24 Aug 2022 16:07:27 +0800 Subject: [PATCH] manual payments list --- routes/web.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/routes/web.php b/routes/web.php index 78514b07..a06ba1d2 100644 --- a/routes/web.php +++ b/routes/web.php @@ -361,3 +361,17 @@ Route::get('/wallets/active', function(){ echo ''; }); +Route::get('/payments/manual', function(){ + $payments = Transaction::where('type', TransactionType::PAYMENT)->where('owner_type', Booking::class)->get(); + + echo ''; + foreach ($payments as $payment){ + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + } + echo '
'.$payment->documents()->first()->created_at.''.$payment->owner->marking.''.$payment->amount.'
'; +}); +