@extends('layouts.pdf') @section('content')
@include('admin.partials.project-header')

{{__('lang.investor_detail')}}

{{-- @dd(loadAsset('asset/investor/document/'.$investor->document)) --}}
@if (file_exists(public_path('asset/investor/document/'.$investor->document)) && $investor->document != null) @endif
{{__('lang.details')}}
{{__('lang.name')}} {{ $investor->name ?? '-' }}
{{__('lang.phone_number')}} {{ $investor->phone ??'-' }} {{__('lang.cnic')}} {{ $investor->cnic ?? '-' }}
{{__('lang.address')}} {{ $branch->address ?? '-' }}
{{__('lang.next_of_kin_name')}} {{ $investor->next_of_kin_name ?? '-' }}
{{__('lang.next_of_kin_cnic')}} {{ $investor->next_of_kin_cnic ?? '-' }} {{__('lang.emergency_contact')}} {{ $investor->emergency_contact ?? '-' }}
{{__('lang.bank_account_no')}} {{ $investor->bank_account_no ?? '-' }}
@if($branch != null)
@if ($branch->hand_over_date != null) @else @endif @if ($branch->company != null) @endif
{{__('lang.project_details')}}
{{__('lang.name')}} {{ $branch->name }} {{__('lang.project_type')}} {{ str_replace('_', ' ', $branch->project_type) }}
{{__('lang.land_area')}} {{ $branch->land_area }} {{__('lang.launch_date')}} {{ date(config('settings.date_format'), strtotime(trim(str_replace('/', '-', $branch->launching_date)))) }}
{{__('lang.facing_type')}} {{ $branch->facing ?? '-' }} {{__('lang.hand_over_date')}} {{ date(config('settings.date_format'), strtotime(trim(str_replace('/', '-', $branch->hand_over_date)))) }} -
{{__('lang.company_name')}} {{ $branch->company->name ?? '-' }} {{__('lang.company_share')}} {{ $branch->total_share }} %
{{__('lang.location')}} {{ $branch->location }}
@endif @endsection