From 3dd5137296f8cd6019b8964525bd84439d74a4e7 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Wed, 10 Aug 2022 12:32:23 +0800 Subject: [PATCH] list pending orders in table format --- routes/web.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/routes/web.php b/routes/web.php index 58f71f05..fded650f 100644 --- a/routes/web.php +++ b/routes/web.php @@ -268,10 +268,12 @@ Route::get('/pending_orders', function(){ echo ''.$payment->updated_at->format('d-M-y').''; echo ''.$booking->marking.''; echo ''.\App\Classes\ValueObjects\Constants\PaymentMethodType::PAYMENT_METHODS_ID[$payment->payment_method].''; - echo ''.$payment->currency->short_code.' '.$payment->amount.''; + echo ''.$payment->currency->short_code.''; + echo ''.$payment->amount.''; echo ''.$booking->company->reference.''; echo ''; - echo ''.$payment->original_currency->short_code.' '.$payment->original_amount.''; + echo ''.$payment->original_currency->short_code.''; + echo ''.$payment->original_amount.''; echo ''; echo ''.$booking->service->name.''; echo ''.$payment->updated_at->diffForHumans().'';