diff --git a/resources/views/pages/customer_support.blade.php b/resources/views/pages/customer_support.blade.php index f7a6e6ed..1110e08c 100644 --- a/resources/views/pages/customer_support.blade.php +++ b/resources/views/pages/customer_support.blade.php @@ -1,40 +1,5 @@ @extends('layouts.base_portal') @section('inner_content') -
@@ -62,30 +27,15 @@
-
- -
@if($company) @php $employees = $company->employees; + $primaryEmployee = $employees->first(); + $identification = $company->documents->whereIn('document_type', \App\Classes\ValueObjects\Constants\DocumentType::IDENTIFICATION_DOCUMENTS)->first() @endphp
-

Customer Account

+

Customer Account

Account Type: {{$company->type === 1 ? 'Business' : 'Personal'}}

@if($company->type === 1)

Company's Name: {{$company->name}}

@endif

Customer's Name: {{$employees->pluck('name')->implode(', ')}}

@@ -94,56 +44,56 @@

Registration Date: {{$company->created_at->format('d-m-Y')}}

-

Customer Verification

-

Verification Status:

-

Verification Documents:

+

Customer Verification

+

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

+

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

@endif @if($booking)
-

Booking

+

Booking

Booking Details:

Booking Status:

-

Payment

+

Payment

Payment Details:

Payment Status:

Bank Transaction Mapping:

-

Transfer Proof

+

Transfer Proof

Transfer Details:

Transfer Status:

-

Purchase Order

+

Purchase Order

Order Details:

Order Status:

-

Invoice

+

Invoice

Invoice Details:

Invoice Status:

-

Bank Slip

+

Bank Slip

Bank Slip Details:

Bank Slip Status:

-

Bank Account

+

Bank Account

Bank Account Details:

Bank Account Status:

-

Refund

+

Refund

Refund Details:

Refund Status:

-

Supplier

+

Supplier

Supplier Details:

Supplier Status: