@if(isset($information))
{{--*/ $policy_number = $information->policy_number /*--}}
@else
{{--*/ $policy_number = '' /*--}}
@endif
@if(isset($information->product_name))
{{--*/ $product_name = $information->product_name /*--}}
@else
{{--*/ $product_name = '' /*--}}
@endif
@if(isset($information->insurer))
{{--*/ $insurer = $information->insurer /*--}}
@else
{{--*/ $insurer = '' /*--}}
@endif
@if($information->status == 0)
@endif
{{$product_name.' - '.$policy_number}}
Rejected!
Comment: {{$information->comments_for_rejection}}
{!! Form::open(array('url' => 'account/update-completed-lead')) !!}
{{ Form::hidden('id', $information->id)}}
{!! Form::label('Policy Number') !!} :
{{$information->policy_number}}
{!! Form::label('Product Name') !!} :
{{$information->product_name}}
{!! Form::label('Insurer') !!} :
{{$information->insurer}}
{!! Form::label('Date Of Birth ') !!} :
{{date('d-m-Y', strtotime($information->dob))}}
{!! Form::label('Occupation') !!} :
{{$information->occupation}}
{!! 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') !!} :
{{$information->monthlycost}}
{!! Form::label('Excess period') !!} :
@if($information->typeofcover == 'AS')
@php
$excessperiod = '';
switch ($information->excessperiod)
{
case 0:
case 1:
$excessperiod = ' 1 Day';
break;
case 7:
$excessperiod = ' 1 Week';
break;
case 14:
$excessperiod = ' 2 Weeks';
break;
case 30:
$excessperiod = ' 4 Weeks';
break;
case 60:
$excessperiod = ' 8 Weeks';
break;
case 91:
$excessperiod = ' 13 Weeks';
break;
case 182:
$excessperiod = ' 26 Weeks';
break;
case 364:
$excessperiod = ' 52 Weeks';
break;
case 392:
$excessperiod = ' 56 Weeks';
break;
case 728:
$excess_period="104 Weeks";
break;
case 784:
$excess_period="112 Weeks";
break;
default:
echo "Back to Day 1";
}
@endphp
@else
@if($information->excessperiod == 1)
{{--*/ $excessperiod = ' Back to Day 1' /*--}}
@elseif(!empty($information->excessperiod) )
{{--*/ $excessperiod = $information->excessperiod.' days' /*--}}
@else
{{--*/ $excessperiod = '' /*--}}
@endif
@endif
{{$excessperiod}}
{!! 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('Increasing Benefit ') !!} :
{{$information->increasing_benefit}}
{!! Form::label('Premise Name') !!} :
{{$information->premiseName}}
{!! 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') !!} :
{{title_case(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}}
{!! Form::label('Salary') !!} :
{{$information->salary}}
@if(!empty($questions))
@endif
{{$questions->q1}}
{{$questions->q2}}
{{$questions->q4}}
{{$questions->q5}}
{{$questions->q6}}
{{$questions->q7}}
{{$questions->q8}}
@if($questions->q9 == 'Kg')
{{$questions->q9_message.''}} Kgs
@else {{$questions->q9_message.''}} Lbs @endif
@else {{$questions->q9_message.''}} Lbs @endif
Available date:
{{$questions->q10_date}}
Preferred time: {{$questions->q10_time}}
Preferred time: {{$questions->q10_time}}