diff --git a/resources/views/pages/customer_support.blade.php b/resources/views/pages/customer_support.blade.php index 4769aae8..6a353141 100644 --- a/resources/views/pages/customer_support.blade.php +++ b/resources/views/pages/customer_support.blade.php @@ -49,22 +49,14 @@

Email Verification Status: {{ $primaryEmployee->status === 2 ? 'Verified' : 'Pending Verification'}}

Identification Verification Status: {{$identification ? ($identification->status === 2 ? 'Verified' : 'Pending Verification') : 'Not Submitted'}}

- @endif - - @if(!$booking) - @php - $bookings = $company->bookings->whereIn('status', [2, 3])->get(); - @endphp -
- @foreach($bookings as $booking) + @if(!$booking) @php - $payments = $booking->transactions()->where('type', \App\Classes\ValueObjects\Constants\TransactionType::PAYMENT)->get(); - $purchaseOrder = $booking->transactions()->where('type', \App\Classes\ValueObjects\Constants\TransactionType::PURCHASE_ORDER)->first(); + $bookings = $company->bookings->whereIn('status', [2, 3])->get(); @endphp - @endforeach -
+ @endif @endif +