From c10ef41f4f0aa943a3369b3bfa80f4144927e3e9 Mon Sep 17 00:00:00 2001 From: Omair Saleh Date: Tue, 24 Jan 2023 06:01:51 +0800 Subject: [PATCH] customer support interface --- resources/views/pages/customer_support.blade.php | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) 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 +