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 '';