@extends('layouts.frontend') @section('title', 'View Policy') @section('pageCss') @stop @section('content')
@if(isset($policy_prefix)) @else @endif @if(isset($policy_prefix)) @else @endif @if(isset($information->product_name)) @else @endif @if(isset($information->insurer)) @else @endif
@if(Auth::user()->role == 2) @else @endif

@if($product_name != '' && $policy_number != '') {{$product_name}} - {{$policy_number}} @else {{$information->title.' '.$information->fname.' '.$information->lname}} @endif

@if($information->status == 0)

Rejected!

Comment: {{$information->comments_for_rejection}}

@endif
{!! Form::open(array('url' => 'account/update-completed-lead')) !!}
{{ Form::hidden('id', $information->id)}}
{!! Form::label('Policy Number') !!} :
{{$policy_prefix.$information->policy_number}}
{!! Form::label('Product Name') !!} :
{{$product_name}}
{!! Form::label('Insurer') !!} :
{{$insurer}}
{!! Form::label('Increasing Benefit ') !!} :
{{$information->increasing_benefit}}
{!! Form::label('Date Of Birth ') !!} :
{{$information->dob}}
{!! Form::label('Occupation') !!} :
{{$information->occupation}}
{!! Form::label('Premise Name') !!} :
{{$information->premiseName}}
{!! Form::label('Address') !!} :
{{$address}}
{!! Form::label('Telephone') !!} :
{{$information->telephone}}
{!! Form::label('Type Of Cover') !!} :
{{$information->typeofcover}}
{!! Form::label('Monthly Commitment') !!} :
{{$information->monthlycommitment}}
{!! Form::label('Monthly Benefit') !!} :
{{$information->monthlybenefit}}
{!! Form::label('Monthly Cost') !!} :
£{{ number_format((float)str_replace(',','',$information->monthlycost), 2, '.', '') }}
{!! Form::label('Excess period') !!} :
{{$excess_period}}
{!! Form::label('Salary') !!} :
{{$information->salary}}
{!! Form::label('Account Number') !!} :
{{$information->accountnumber}}
{!! Form::label('IBAN') !!} :
{{$information->iban}}
{!! Form::label('Bank Bic') !!} :
{{$information->bankbic}}
{!! Form::label('Branch Bic') !!} :
{{$information->branchbic}}
{!! Form::label('Town') !!} :
{{$information->town}}
{!! Form::label('Bank Phone') !!} :
{{$information->bank_phone}}
{!! Form::label('Name') !!} :
{{$information->title.' '.$information->fname.' '.$information->lname}}
{!! Form::label('Employee Status') !!} :
{{$information->emp_status}}
{!! Form::label('Employer Name ') !!} :
{{$information->employer_name}}
{!! Form::label('Postcode') !!} :
{{$information->postcode}}
{!! Form::label('Email') !!} :
{{$information->email}}
{!! Form::label('Insurance Startdate') !!} :
{{date('d-m-Y', strtotime($information->insurance_startdate))}}
{!! Form::label('Insurance Enddate') !!} :
{{date('d-m-Y', strtotime($information->insurance_enddate))}}
{!! Form::label('Type of Protection') !!} :
{{ucwords(str_replace('_',' ',$information->typeofprotection))}}
{!! Form::label('Age') !!} :
{{$information->age}}
{!! Form::label('Benefit Period') !!} :
@if($information->benefit_period == 6)
6 Months
@elseif($information->benefit_period == 12)
12 Months
@elseif($information->benefit_period == 18)
18 Months
@else
@endif
{!! Form::label('Cover') !!} :
{{$information->cover}}
{!! Form::label('Account Name') !!} :
{{$information->accountname}}
{!! Form::label('Sortcode') !!} :
{{$information->sortcode}}
{!! Form::label('Bank') !!} :
{{$information->bank}}
{!! Form::label('Branch') !!} :
{{$information->branch}}
{!! Form::label('Branch Address') !!} :
{{$information->branch_address}}
{!! Form::label('Bank Postcode') !!} :
{{$information->bank_postcode}}
{!! Form::label('Affiliate Id') !!} :
{{$information->affid}}
{!! Form::label('Smoker') !!} :
{{$information->smoker}}
{!! Form::label('Lead Source Field') !!} :
{{$information->lead_source_field}}
@if(!empty($web_questions))
{{$web_questions->q1}}
{{$web_questions->q2}}
{{$web_questions->q4}}
{{$web_questions->q5}}
{{$web_questions->q6}}
{{$web_questions->q7}}
{{$web_questions->q8}}
@if($web_questions->q9 == 'Kg') {{$web_questions->q9_message.''}}
@else {{$web_questions->q9_message.''}}
@endif

Available date: {{$web_questions->q10_date}}
Preferred time: {{$web_questions->q10_time}}
@endif
@if(isset($productQuestions) && $underwriting_questions) @endif
@stop @section('pageBottomJs') @stop