From fa3af84e634b7b2ba084bb0184add2bd9167b339 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Wed, 10 Aug 2022 11:14:55 +0800 Subject: [PATCH] list pending orders in table format --- routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index 31a18170..e39c7229 100644 --- a/routes/web.php +++ b/routes/web.php @@ -254,7 +254,7 @@ Route::get('/pending_orders', function(){ foreach ($payments as $payment){ $booking = $payment->owner; echo ''; - echo ''.$payment->updated_at.''; + 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->amount.' '.$payment->currency->short_code.'';