From 8f01a0d65806bee92db56707b847925862bab1f1 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Wed, 10 Aug 2022 11:56:04 +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 be1faa3d..25dc928e 100644 --- a/routes/web.php +++ b/routes/web.php @@ -265,7 +265,7 @@ Route::get('/pending_orders', function(){ echo ''; echo ''.$booking->service->name.''; echo ''.$payment->updated_at->diffForHumans().''; - echo ''.str_word_count($booking->bank->holder_name)->wordCount() > 4 ? 'Company' : 'Personal'.''; + echo ''.str_word_count($booking->bank->holder_name) > 4 ? 'Company' : 'Personal'.''; echo ''; } echo '';