@extends('layouts.app') @section('content')
@include('layouts.includes.header')
Note:- If you change your mobile number then you have to verify new number. Please enter a valid mobile number.
@if (session('success'))
{{ session('success') }}
@endif @if (session('warning'))
{{ session('warning') }}
@endif

Profile Details

{!! Form::open(array('url'=>'user_update', 'files'=>true)) !!} {{ csrf_field() }}
{!! Form::label('first_name', 'First Name') !!} {!! Form::text('first_name', $User->first_name,['class' => 'form-control rounded', 'placeholder'=>'First Name', 'disabled' => 'disabled']) !!}
{!! Form::label('last_name', 'Last Name') !!} {!! Form::text('last_name', $User->last_name,['class' => 'form-control rounded', 'placeholder'=>'Last Name', 'disabled' => 'disabled']) !!}
{!! Form::label('email_id', 'Email Id') !!} {!! Form::email('email_id', $User->email,['class' => 'form-control rounded', 'placeholder'=>'Email', 'disabled' => 'disabled']) !!}
{!! Form::label('phone_number', 'Phone Number') !!} {!! Form::number('phone_number', $User->mobile_no,['class' => 'form-control rounded', 'placeholder'=>'Phone Number', 'required' => 'required']) !!} @if ($errors->has('phone_number')) {{ $errors->first('phone_number') }} @endif
{!! Form::label('company_id', 'Company Id') !!} {!! Form::text('company_id', $Company->id,['class' => 'form-control rounded', 'placeholder'=>'Company Id', 'disabled' => 'disabled']) !!}
{!! Form::label('organization_name', 'Organization Name') !!} {!! Form::text('organization_name', $Company->organization,['class' => 'form-control rounded', 'placeholder'=>'Organization Name', 'disabled' => 'disabled']) !!}
{!! Form::close() !!}
{!! Form::open(array('url'=>'chenge_password', 'id' => 'chengepassword')) !!} {{ csrf_field() }} {!! Form::Hidden('id', $value = $User->id, ['class' => 'form-control rounded', 'required' => 'required']) !!}
{!! Form::label('current_password', 'Current Password', array('class' => 'required')) !!} {!! Form::password('current_password', null, ['class' => 'form-control rounded', 'maxlength' => '8', 'required' => 'required']) !!} @if ($errors->has('current_password')) {{ $errors->first('current_password') }} @endif
{!! Form::label('password', 'Password', array('class' => 'required')) !!} {!! Form::password('password', null, ['class' => 'form-control rounded', 'maxlength' => '8', 'required' => 'required']) !!} @if ($errors->has('password')) {{ $errors->first('password') }} @endif
{!! Form::label('confirm_password', 'Confirm Password', array('class' => 'required')) !!} {!! Form::password('confirm_password', null, ['class' => 'form-control rounded', 'maxlength' => '80', 'required' => 'required']) !!} @if ($errors->has('confirm_password')) {{ $errors->first('confirm_password') }} @endif
{!! Form::close() !!}
Plan :
{{get_user_plan($User->plan_id)}} (Change Plan?)
Subscription Status :
Active
Subscription Duration :
{{$plan_details ? $plan_details->plan_billing_cycle : 'No Deatils'}}
Renewal Date :
{{ $plan_details ? date('d-M-Y',strtotime($plan_details->expiry_date)) : 'No Deatils'}}
@endsection