customer support interface

This commit is contained in:
Omair Saleh
2023-01-24 06:01:51 +08:00
parent 92088decc7
commit c10ef41f4f
@@ -49,22 +49,14 @@
<p>Email Verification Status: <span>{{ $primaryEmployee->status === 2 ? 'Verified' : 'Pending Verification'}}</span></p>
<p>Identification Verification Status: <span>{{$identification ? ($identification->status === 2 ? 'Verified' : 'Pending Verification') : 'Not Submitted'}}</span></p>
</section>
@endif
@if(!$booking)
@php
$bookings = $company->bookings->whereIn('status', [2, 3])->get();
@endphp
<section>
@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
</section>
@endif
@endif
</main>
</div>
</div>