@php use App\Libraries\FileSystem; use App\Models\Admin\Settings; @endphp @extends('dashboardLayout.frontlayout') @section('content')
@include('user.dashboard.partials.sidebar')
...
{{isset($page) && $page['user_first_name'] ? $page['user_first_name'].' '.$page['user_last_name'] : '-' }}

{{isset($page) && $page['user_email'] ? $page['user_email'] : '-' }}

{{isset($page) && $page['user_gender'] ? ucfirst($page['user_gender']) : '-' }}

{{__('businessListing.basic_info')}}
@if($page['draft'] == 1) ... @else @if($page['status'] == 1) ... @elseif($page['status'] == 2) ... @elseif($page['status'] == 0 && $page['business_listing_type'] == 'listing_due_diligence') ... @endif @endif

{{__('businessListing.headline')}}

{{isset($page) && $page['title'] ? ucfirst($page['title']) : '-' }}

{{__('businessListing.contact_number')}}

{{isset($page['phonenumber']) && $page['phonenumber'] ? $page['phonenumber'] : '-' }}

{{__('businessListing.alt_contact_number')}}

{{isset($page['alternative_phonenumber']) && $page['alternative_phonenumber'] ? $page['alternative_phonenumber'] : '-' }}

{{__('businessListing.listing_type')}}

{{isset($page['listing_type_name']) && $page['listing_type_name'] ? ucfirst($page['listing_type_name']) : '-' }}

{{__('businessListing.email_enq')}}

{{isset($page['email']) && $page['email'] ? $page['email'] : '-' }}

{{__('businessListing.email_address')}}

{{isset($page['alternative_email']) && $page['alternative_email'] ? $page['alternative_email'] : '-' }}

{{__('businessListing.industry_type')}}

{{isset($page['business_industry_name']) && $page['business_industry_name'] ? $page['business_industry_name'] : '-' }}

{{__('businessListing.country')}}

{{isset($page['country_name']) && $page['country_name'] ? $page['country_name'] : '-' }}

{{__('businessListing.state')}}

{{isset($page['state_name']) && $page['state_name'] ? $page['state_name'] : '-' }}

{{__('businessListing.city')}}

{{isset($page['city_name']) && $page['city_name'] ? $page['city_name'] : '-' }}

{{__('businessListing.business_address')}}

{{isset($page['address']) && $page['address'] ? $page['address'] : '-' }}

{{__('businessListing.description')}}

{{isset($page['description']) && $page['description'] ? $page['description'] : '-' }}

{{__('businessListing.documents')}}
@if(isset($page['company_profile_file']) && $page['company_profile_file']) @php $companyProfileFile = json_decode($page['company_profile_file'],true) @endphp

{{__('businessListing.company_profile')}}

@foreach($companyProfileFile as $k => $cf) @if(isset($cf) && $cf && file_exists(public_path($cf))) @endif @endforeach
@endif @if(isset($page['statement_file']) && $page['statement_file']) @php $statementFile = json_decode($page['statement_file'],true) @endphp

2 Years P/L Statement

@foreach($statementFile as $j => $sf) @if(isset($sf) && $sf && file_exists(public_path($sf))) @endif @endforeach
@endif
{{__('businessListing.title_pro')}}
@if(isset($page['company_images']) && $page['company_images']) @foreach($page['company_images'] as $i => $ci) @endforeach @endif
{{__('businessListing.payments_info')}}

{{__('businessListing.payment_type')}}

@if(isset($page['business_listing_type']) && $page['business_listing_type'] == 'listing') {{'Listing'}} @elseif(isset($page['business_listing_type']) && $page['business_listing_type'] == 'listing_due_diligence') {{'Listing Due Diligence'}} @endif

{{__('businessListing.payment_method')}}

{{isset($page['transaction']) && $page['transaction']['card_type'] ? ucfirst($page['transaction']['card_type']).' Card' : '-'}}

{{__('businessListing.card_number')}}

{{isset($page['transaction']) && $page['transaction']['card_number'] ? '**** **** **** '.General::decrypt($page['transaction']['card_number']) : '-'}}

{{__('businessListing.amount')}}

{{isset($page['transaction']) && $page['transaction']['amount'] ? Settings::get('currency_symbol').''.$page['transaction']['amount'] : '-'}}

{{__('businessListing.charge_id')}}

{{ isset($page['transaction']) && $page['transaction']['charge_id'] ? $page['transaction']['charge_id'] : '-' }}

{{__('businessListing.transactions')}}

{{ isset($page['transaction']) && $page['transaction']['created'] ? date('d M, Y',strtotime($page['transaction']['created'])) : '-' }}

{{__('businessListing.status')}}

@if(isset($page['transaction']) && $page['transaction']['status'] == 1)

{{__('businessListing.pending')}}

@elseif(isset($page['transaction']) && $page['transaction']['status'] == 2)

{{__('businessListing.success')}}

@elseif(isset($page['transaction']) && $page['transaction']['status'] == '0')

{{__('businessListing.failed')}}

@else {{'-'}} @endif
@endsection