@extends('layouts.front_vertical_menu') @section('customcss') @endsection @section('pagecontent')

@lang('frontsistema.datos_personales.title')

@if($account->account_type == 'business')
@lang('sistema.client.entity_detail')
@lang('sistema.client.registered_name'):* {{ ($business_detail->registered_name) ? $business_detail->registered_name : "-" }}
@lang('frontsistema.datos_personales.registered_name_error')
@lang('sistema.client.type_of_entity'):* {{ ($business_detail->business_type) ? $business_detail->business_type : '-' }}
@lang('frontsistema.datos_personales.type_entity_error')
@lang('sistema.client.authorised_signatories1'):* {{ ($business_detail->authorised_signatories1) ? $business_detail->authorised_signatories1 : '-' }}
@lang('frontsistema.datos_personales.auth_signatory_error')
@lang('sistema.client.authorised_signatories2'):* {{ ($business_detail->authorised_signatories2) ? $business_detail->authorised_signatories2 : '-' }}
@lang('frontsistema.datos_personales.auth_signatory_error')
@lang('sistema.client.registration_number'):* {{ ($business_detail->registration_number) ? $business_detail->registration_number : '-' }}
@lang('frontsistema.datos_personales.registration_no_err')
@lang('sistema.client.incorporation_date'):* {{ \Carbon\Carbon::parse($business_detail->incorporation_date)->format('d/m/Y') }}
@lang('sistema.client.incorporation_date_valid')
@lang('sistema.client.incorporation_place'):* {{ ($business_detail->incorporation_place) ? $business_detail->incorporation_place : '-' }}
@lang('frontsistema.datos_personales.incorporation_plac_er')
@lang('sistema.client.entity_country'):* @foreach($countries as $country) {{ ($business_detail->country == $country->id) ? $country->name : ''}} @endforeach
@lang('frontsistema.datos_personales.country_error')
@lang('sistema.client.entity_state'):* {{ ($business_detail->state_name) ? $business_detail->state_name : '-' }}
@lang('frontsistema.datos_personales.state_error')
@lang('sistema.client.entity_city'):* {{ ($business_detail->city_name) ? $business_detail->city_name : '-' }}
@lang('frontsistema.datos_personales.city_error')
@lang('sistema.client.entity_address'):* {{ (($business_detail->address) ? $business_detail->address : '-') }}
@lang('frontsistema.datos_personales.address_error')
@lang('sistema.client.entity_county'):* {{ ($business_detail->county) ? $business_detail->county : '-' }}
@lang('frontsistema.datos_personales.county_error')
@lang('sistema.client.entity_zip_code'):* {{ ($business_detail->zip_code) ? $business_detail->zip_code : '-' }}
@lang('frontsistema.datos_personales.zip_code_error')
@lang('sistema.branches.branches'):* @if(isset($branches) && count($branches)>0) @foreach($branches as $branch_id => $branch_name) {{ ($business_detail->branch_id == $branch_id) ? $branch_name : '' }} @endforeach @else - @endif
@lang('frontsistema.datos_personales.branch_error')
@lang('sistema.client.entity_industry_type'): {{ ($business_detail->industry_type) ? $business_detail->industry_type : '-' }}
@lang('frontsistema.datos_personales.industry_type_error')
@lang('sistema.client.entity_employees'): {{ ($business_detail->employees) ? $business_detail->employees : '-' }}
@lang('frontsistema.datos_personales.employee_no_error')
@lang('sistema.client.entity_webiste'): {{ ($business_detail->webiste) ? $business_detail->webiste : '-' }}
@lang('frontsistema.datos_personales.website_error')
@lang('sistema.client.entity_telephone1'):* {{ ($business_detail->telephone1) ? $business_detail->telephone1 : '-' }}
@lang('frontsistema.datos_personales.telephone_error')
@lang('sistema.client.entity_telephone2'): {{ ($business_detail->telephone2) ? $business_detail->telephone2 : '-' }}
@lang('frontsistema.datos_personales.telephone_error')
@lang('sistema.client.entity_telephone3'): {{ ($business_detail->telephone3) ? $business_detail->telephone3 : '-' }}
@lang('frontsistema.datos_personales.telephone_error')
@lang('sistema.client.entity_email1'):* {{ ($business_detail->email1) ? $business_detail->email1 : '-' }}
@lang('frontsistema.datos_personales.email_error')
@lang('sistema.client.entity_email2'): {{ ($business_detail->email2) ? $business_detail->email2 : '-' }}
@lang('frontsistema.datos_personales.email_error')
@endif @if(count($account->clients) > 0) @php $i = 1; @endphp @foreach($account->clients as $client)
@lang('sistema.client.account_holder_information') @if(count($account->clients) > 1 ) {{ "(".$i.")" }} @endif
@lang('sistema.client.first_name'):* {{ ($client->first_name) ? $client->first_name : "-" }}
@lang('frontsistema.datos_personales.first_name_error')
@lang('sistema.client.middle_name'):* {{ ($client->middle_name) ? $client->middle_name : "-" }}
@lang('frontsistema.datos_personales.middle_name_error')
@lang('sistema.client.surname1'):* {{ ($client->surname1) ? $client->surname1 : "-" }}
@lang('frontsistema.datos_personales.surname_error')
@lang('sistema.client.surname2'):* {{ ($client->surname2) ? $client->surname2 : "-" }}
@lang('frontsistema.datos_personales.surname_error')
@lang('sistema.client.dob'):* {{ \Carbon\Carbon::parse($client->dob)->format('d/m/Y') }}
@lang('sistema.client.gender'):* {{ ($client->gender == 'Male') ? __('sistema.client.male') : '' }} {{ ($client->gender == 'Female') ? __('sistema.client.female') : '' }}
@lang('frontsistema.datos_personales.gender_error')
@lang('sistema.client.birth_place'):* {{ ($client->birth_place) ? $client->birth_place : "-" }}
@lang('frontsistema.datos_personales.birthplace_error')
@lang('sistema.client.birth_country'):* @foreach($countries as $country) {{ ($client->birth_country == $country->id) ? $country->name : ''}} @endforeach
@lang('frontsistema.datos_personales.birth_country_error')
@lang('sistema.client.nationality'):* {{ ($client->nationality) ? $client->nationality : "-" }}
@lang('frontsistema.datos_personales.nationality_error')
@if($account->account_type != 'business')
@lang('sistema.client.address'):* {{ ($client->address) ? $client->address : "-" }}
@lang('frontsistema.datos_personales.address_error')
@lang('sistema.client.country'):* @foreach($countries as $country) {{ ($client->country == $country->id) ? $country->name : ''}} @endforeach
@lang('frontsistema.datos_personales.country_error')
@lang('sistema.client.state'):* @php $client_state_name = $client->state; @endphp {{ ($client_state_name) ? $client_state_name : "-" }}
@lang('frontsistema.datos_personales.state_error')
@lang('sistema.client.city'):* @php $client_city_name = $client->city; @endphp {{ ($client_city_name) ? $client_city_name : "-" }}
@lang('frontsistema.datos_personales.city_error')
@lang('sistema.client.zip_code'):* {{ ($client->zip_code) ? $client->zip_code : "-" }}
@lang('frontsistema.datos_personales.zip_code_error')
@lang('sistema.client.county'):* {{ ($client->county) ? $client->county : "-" }}
@lang('frontsistema.datos_personales.county_error')
@lang('sistema.branches.branches'):* @if(isset($branches) && count($branches)>0) @foreach($branches as $branch_id => $branch_name) {{ ($client->branch_id == $branch_id) ? $branch_name : '' }} @endforeach @else - @endif
@lang('frontsistema.datos_personales.branch_error')
@lang('sistema.client.company'): {{ ($client->company) ? $client->company : "-" }}
@lang('frontsistema.datos_personales.company_error')
@lang('sistema.client.industry_type'): {{ ($client->industry_type) ? $client->industry_type : "-" }}
@lang('frontsistema.datos_personales.industry_type_error')
@lang('sistema.client.occupation'): {{ ($client->occupation) ? $client->occupation : "-" }}
@lang('frontsistema.datos_personales.occupation_error')
@lang('sistema.client.marrital_status'): {{ ($client->marrital_status) ? $client->marrital_status : "-" }}
@lang('frontsistema.datos_personales.marital_status_error')
@lang('sistema.client.spouse_name'): {{ ($client->spouse_name) ? $client->spouse_name : "-" }}
@lang('frontsistema.datos_personales.spouse_name_error')
@endif
@lang('sistema.client.telephone1'):* {{ ($client->telephone1) ? $client->telephone1 : "-" }}
@lang('frontsistema.datos_personales.telephone_error')
@lang('sistema.client.telephone2'): {{ ($client->telephone2) ? $client->telephone2 : "-" }}
@lang('frontsistema.datos_personales.telephone_error')
@if($account->account_type != 'business')
@lang('sistema.client.telephone3'): {{ ($client->telephone3) ? $client->telephone3 : "-" }}
@lang('frontsistema.datos_personales.telephone_error')
@endif
@lang('sistema.client.email1'):* {{ ($client->email1) ? $client->email1 : "-" }}
@lang('frontsistema.datos_personales.email_error')
@lang('sistema.client.email2'): {{ ($client->email2) ? $client->email2 : "-" }}
@lang('frontsistema.datos_personales.email_error')
@php $i++; @endphp @endforeach @endif @if(count($account_beneficiaries) > 0)
@lang('sistema.client.beneficiaries')
@php $i = 1; @endphp @foreach($account_beneficiaries as $value)
@lang('sistema.client.beneficiary_name') ({{$i}}):* {{ ($value->name) ? $value->name : "-" }}
@lang('frontsistema.datos_personales.name_error')
@lang('sistema.client.beneficiary_percentage') ({{$i}}):* @if($i != 1) @endif {{ ($value->percentage) ? $value->percentage : "-" }}
@lang('frontsistema.datos_personales.percentage_error')
@php $i++; @endphp @endforeach
@endif @if($account->credit_line_facility == 'Yes')
@lang('frontsistema.datos_personales.references')
@php $i = 0; @endphp @for($i = 0; $i < 3; $i++)
@lang('sistema.client.reference1_name') ({{$i+1}}):{!!($i == 0) ? '*' : ''!!} {{ (isset($account_references[$i]) && isset($account_references[$i]->name)) ? $account_references[$i]->name : '-' }}
@lang('frontsistema.datos_personales.name_error')
@lang('sistema.client.reference1_relationship') ({{$i+1}}):{!!($i == 0) ? '*' : ''!!} {{ (isset($account_references[$i]) && isset($account_references[$i]->relationship)) ? $account_references[$i]->relationship : '-' }}
@lang('frontsistema.datos_personales.relation_error')
@lang('sistema.client.reference1_telephone') ({{$i+1}}):{!!($i == 0) ? '*' : ''!!} {{ (isset($account_references[$i]) && isset($account_references[$i]->telephone)) ? $account_references[$i]->telephone : '-' }}
@lang('frontsistema.datos_personales.telephone_error')
@endfor
@endif
@lang('frontsistema.datos_personales.regulatory_label')
@lang('frontsistema.datos_personales.regulatory_error')
@lang('frontsistema.datos_personales.regulatory_error')
@lang('frontsistema.datos_personales.regulatory_error')
@lang('frontsistema.btn_cancel')
@php $arr['label1'] = array('type'=>'text','value'=>'val','label_en'=>'eng','label_es'=>'spanish'); //dd($arr); @endphp @endsection @section('customjs') @endsection