@extends('layout.user') @section('content')

Profile

{!! csrf_field() !!}
@if($user->image != null)
@else @if(!empty($user->lat) && !empty($user->lng))
@else
@endif @endif

Additional Information

@foreach($policies as $policy)
@php $ext = ''; if(isset($policy->photo->image_path)){ $ext = pathinfo($policy->photo->image_path, PATHINFO_EXTENSION); } @endphp
Policy: {{$policy->name}}
@if(isset($policy->photo->image_path)) @php $ext = pathinfo($policy->photo->image_path, PATHINFO_EXTENSION); @endphp @if($ext == 'pdf') @else
@endif @endif

{{$policy->company_name}}

{{$policy->company_address}}
Start Date : {{\Carbon\Carbon::createFromTimestamp(strtotime($policy->start_date))->format('m-d-Y')}}
End Date : {{\Carbon\Carbon::createFromTimestamp(strtotime($policy->end_date))->format('m-d-Y')}}
{{-- {{$policy->agent_name}}--}}
{{$policy->agent_name}}
{{$policy->agent_phone}}
{{$policy->agent_email}}

@endforeach @include('modal.360_view_modal') @include('modal.add_new_policy') @include('modal.edit_policy')
@include('modal.document') @endsection @section('js_file') @endsection