@if (!Request::ajax()) @extends('layouts.app') @section('content') @include('layouts.inner_banner') @endif
@if(Session::has('message')) @endif @if(Session::has('error')) @endif
{{ Config::get('Constant.SITE_NAME') }}
@php $name = ''; $email = ''; if(isset($userData) && $userData != ''){ $name = $userData->varTitle; $email = App\Helpers\MyLibrary::getDecryptedString($userData->u_email); } @endphp
{{$name}}
{{isset($userData)? $email:''}}
@if(isset($userData) && $userData != '')
@if(!empty($userData) && count($userData->policy) > 0) @foreach($policyData as $val) @php $status = ''; $startDate = ''; $endDate = ''; $today = date("Y-m-d"); if($val->travel_plan_type == 'IHP'){ $startDate = $val->t_statrtdateIHP; $endDate = $val->t_enddateIHP; }else{ $startDate = $val->t_statrtdateEII; $endDate = $val->t_enddateEII; } if($val->pStatus == 'I'){ $status = 'Issued'; }elseif($val->pStatus == 'R'){ $status = 'Renewal'; }elseif($val->pStatus == 'E'){ $status = 'Expired'; }else{ $status = 'Cancelled'; } if($endDate < $today){ $status = 'Expired'; } $agentData = \Powerpanel\Agent\Models\Agent::getagentdataById($val->varAgentId); @endphp @endforeach @else @endif
Policy Id Policy Type Status Policy Details Agent Start Date End Date Invoice
#{!!$val->policiesID!!} {!!$val->travel_plan_type!!} {!!$status!!} {!!isset($agentData['name']) && !empty($agentData['name'])?$agentData['name']:''!!} {!! date('d-m-Y', strtotime($startDate)) !!} {!! date('d-m-Y', strtotime($endDate)) !!}
No policy available
@if(isset($policyData) && $policyData->total() > $policyData->perPage())
@include('partial.pagination', ['paginator' => $policyData->links()['paginator'], 'paginate'=> 'policyClass','elements' => $policyData->links()['elements']['0']])
@endif @endif
@if(isset($userData) && $userData != '') {!! Form::open(['method' => 'post','class'=>'form-border-line','id'=>'userProfileForm','url'=>'/change_profiles','enctype'=>'multipart/form-data']) !!}
@php $userimage = ''; if($userData->varImage != ''){ $userimage = $CDN_PATH.'assets/userProfile/'.$userData->id.'/'.$userData->varImage; }else{ $userimage = $CDN_PATH.'assets/images/profile.jpg'; } @endphp
{{ Config::get('Constant.SITE_NAME') }}
@if ($errors->has('varImage')) {{ $errors->first('varImage') }} @endif
@php $username = ''; if(isset($userData) && $userData != ''){ $username = $userData->varTitle; } @endphp
{!! Form::text('name', isset($userData->varTitle)?$username:old('name'),array('autocomplete' => 'off', 'maxlength'=>60,'class' => 'ac-input form-control','id'=>'name','onpaste'=>'return false;', 'ondrop'=>'return false;', 'placeholder'=>'Name *')) !!} @if ($errors->has('name')) {{ $errors->first('name') }} @endif
@php $useremail = ''; if(isset($userData) && $userData != ''){ $useremail = App\Helpers\MyLibrary::getDecryptedString($userData->u_email); } @endphp
{!! Form::email('email', isset($userData->u_email)?$useremail:old('email'),array('autocomplete' => 'off', 'maxlength'=>60,'class' => 'ac-input form-control','id'=>'email','onpaste'=>'return false;', 'ondrop'=>'return false;', 'placeholder'=>'Email *')) !!} @if ($errors->has('email')) {{ $errors->first('email') }} @endif
@php if(isset($userData) && $userData->u_date_of_birth != '' && $userData->u_date_of_birth != '0000-00-00'){ $birthdate = date('d/m/Y',strtotime($userData->u_date_of_birth)); }else{ $birthdate = ''; } @endphp
@if ($errors->has('date_of_birth')) {{ $errors->first('date_of_birth') }} @endif
@if ((isset($userData->u_gender) && $userData->u_gender == 'female') || old('gender') == 'female') @php $checked_female = 'checked' @endphp @else @php $checked_female = '' @endphp @endif @if ((isset($userData->u_gender) && $userData->u_gender == 'male') || old('gender') == 'male') @php $checked_male = 'checked' @endphp @else @php $checked_male = '' @endphp @endif
@if ($errors->has('gender')) {{ $errors->first('gender') }} @endif
{!! Form::text('state', isset($userData->u_state)?$userData->u_state:old('state'),array('autocomplete' => 'off', 'maxlength'=>60,'class' => 'ac-input form-control','id'=>'state','onpaste'=>'return false;', 'ondrop'=>'return false;', 'placeholder'=>'State *')) !!} @if ($errors->has('state')) {{ $errors->first('state') }} @endif
{!! Form::text('city', isset($userData->u_city)?$userData->u_city:old('city'),array('autocomplete' => 'off', 'maxlength'=>60,'class' => 'ac-input form-control','id'=>'city','onpaste'=>'return false;', 'ondrop'=>'return false;', 'placeholder'=>'City *')) !!} @if ($errors->has('city')) {{ $errors->first('city') }} @endif
{!! Form::text('pincode', isset($userData->u_pincode)?$userData->u_pincode:old('pincode'),array('autocomplete' => 'off', 'maxlength'=>60,'class' => 'ac-input form-control','id'=>'pincode','onpaste'=>'return false;', 'ondrop'=>'return false;', 'placeholder'=>'Pincode *')) !!} @if ($errors->has('pincode')) {{ $errors->first('pincode') }} @endif
{!! Form::password('password',array('autocomplete' => 'off', 'maxlength'=>60,'class' => 'ac-input form-control','id'=>'password','onpaste'=>'return false;', 'ondrop'=>'return false;', 'placeholder'=>'Password')) !!} @if ($errors->has('password')) {{ $errors->first('password') }} @endif

Password must meet the following requirements:

  • At least one letter
  • At least one capital letter
  • At least one number
  • Password should be 6 to 20 characters
  • At least one special character
{!! Form::password('password_confirmation', array('autocomplete' => 'off', 'maxlength'=>60,'class' => 'ac-input form-control','id'=>'password-confirm','onpaste'=>'return false;', 'ondrop'=>'return false;', 'placeholder'=>'Confirm Password')) !!} @if ($errors->has('password_confirmation')) {{ $errors->first('password_confirmation') }} @endif

Password must meet the following requirements:

  • At least one letter
  • At least one capital letter
  • At least one number
  • Password should be 6 to 20 characters
  • At least one special character
{!! Form::close() !!} @endif
@if(isset($userData) && $userData != '')
@if(!empty($userData) && count($userData->policy) > 0) @foreach($quotesData as $val) @php $status = ''; $startDate = ''; $endDate = ''; if($val->travel_plan_type == 'IHP'){ $startDate = $val->t_statrtdateIHP; $endDate = $val->t_enddateIHP; }else{ $startDate = $val->t_statrtdateEII; $endDate = $val->t_enddateEII; } $recordLinkUrl = 'JavaScript:void(0);'; if (isset($val->ProductID) && !empty($val->ProductID)) { $moduelFrontPageUrl = \App\Helpers\MyLibrary::getFront_Uri('product')['uri']; $productlisting = \Powerpanel\Product\Models\Product::getRecordById($val->ProductID); if (isset($productlisting->intAliasId) && !empty($productlisting->intAliasId)) { $productalise = \App\Alias::getAliasbyID($productlisting->intAliasId); $recordLinkUrl = $moduelFrontPageUrl . '/' . $productalise->varAlias . '/' . $val->QuotesID; } } @endphp @endforeach @else @endif
Quotes Id Quotes Type Status Quote Details Start Date End Date
#{!!$val->QuotesID!!} {!!$val->travel_plan_type!!} Complete Binding {!! date('d-m-Y', strtotime($startDate)) !!} {!! date('d-m-Y', strtotime($endDate)) !!}
No quotes available
@if(isset($quotesData) && $quotesData->total() > $quotesData->perPage())
@include('partial.pagination', ['paginator' => $quotesData->links()['paginator'],'paginate'=> 'quoteClass','elements' => $quotesData->links()['elements']['0']])
@endif @endif
@if (!Request::ajax()) @endsection @endif