diff --git a/routes/web.php b/routes/web.php
index 25dc928e..e9a2b6b5 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -254,6 +254,7 @@ Route::get('/pending_orders', function(){
$i = 0;
foreach ($payments as $payment){
$booking = $payment->owner;
+ $bankType = str_word_count($booking->bank->holder_name) > 4 ? 'Company' : 'Personal';
echo '
';
echo '| '.$payment->updated_at->format('d-M-y').' | ';
echo ''.$booking->marking.' | ';
@@ -265,7 +266,7 @@ Route::get('/pending_orders', function(){
echo ' | ';
echo ''.$booking->service->name.' | ';
echo ''.$payment->updated_at->diffForHumans().' | ';
- echo ''.str_word_count($booking->bank->holder_name) > 4 ? 'Company' : 'Personal'.' | ';
+ echo ''.$bankType.' | ';
echo '
';
}
echo '';