@extends('layouts.app') @section('title', __('Master Dashboard')) @section('content')
@include('layouts.agent-left-menu')
{!! Form::model($agent, ['method' => 'patch','class'=>'row','autocomplete'=>'off','route' => ['agent.profile.update']]) !!}
Basic Information:
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('phone_number')) {{ $errors->first('phone_number') }} @endif
@if($agent->nationality=='Bangladesh') @php $mds = 6 ; @endphp
{!! Form::select('district_id',$district,$agent->agent->district_id, array('id' => 'district_id', 'class' => 'form-control select2', 'placeholder' => trans('Select District'),'required')) !!} @if ($errors->has('district_id')) {{ $errors->first('district_id') }} @endif
@if ($errors->has('nid')) {{ $errors->first('nid') }} @endif
@elseif($agent->nationality=='United States') @php $mds = 4 ; @endphp
{!! Form::select('state_id',$state,$agent->agent->state_id, array('id' => 'state_id', 'class' => 'form-control select2', 'placeholder' => trans('Select State'),'required')) !!} @if ($errors->has('state_id')) {{ $errors->first('state_id') }} @endif
@else @php $mds = 4 ; @endphp
@if ($errors->has('city')) {{ $errors->first('city') }} @endif
@endif
@if ($errors->has('address')) {{ $errors->first('address') }} @endif
@if ($errors->has('about')) {{ $errors->first('about') }} @endif
Bank Information:
@if ($errors->has('bank_name')) {{ $errors->first('bank_name') }} @endif
@if ($errors->has('ac_name')) {{ $errors->first('ac_name') }} @endif
@if ($errors->has('ac_number')) {{ $errors->first('ac_number') }} @endif
@if ($errors->has('ac_branch')) {{ $errors->first('ac_branch') }} @endif
@if ($errors->has('ac_routing')) {{ $errors->first('ac_routing') }} @endif
{!! Form::close() !!}
@component('components.cropper.element',['width'=>'600','height'=>'260','type'=>'square']) @endcomponent
@endsection