@extends('layouts.app') @section('content')
Location:
  {{ $location->location_description }}
@if ($errors->has('message'))
{{ $errors->first('message') }}
@endif
{{ csrf_field() }}
Search Policy
@if ($errors->has('policyno')) {{ $errors->first('policyno') }} @endif
@if ($errors->has('certificateno')) {{ $errors->first('certificateno') }} @endif

{{-- end search row --}}
{{ csrf_field() }}
Policy Renewal
@if(isset($policy)) Update details ':'')}} @endif
House No./Floor, Building and Street Name
Barangay
City
Breakdown of Fees
Total Sum Insured: {{(isset($policy)?'PHP '.number_format($policy->total_sum_insured,2,".",","):'')}}
Total Premium: {{(isset($policy)?'PHP '.number_format($policy->total_premium,2,".",","):'')}}
Doc. Stamps: {{(isset($policy)?number_format($policy->doc_stamps,2,".",","):'')}}
V.A.T.: {{(isset($policy)?number_format($policy->vat,2,".",","):'')}}
L.G.T.: {{(isset($policy)?number_format($policy->lgt,2,".",","):'')}}
Total Amount Due: {{(isset($policy)?'PHP '.number_format($policy->total_premium + $policy->doc_stamps + $policy->vat + $policy->lgt,2,".",","):'')}}
*Note: Convenience fee not included. Depends on chosen mode of payment.
Back
@endsection