@extends('layouts._front.dashboard_manager') @section('content') {!! Form::open(array('url' => '/dashboard/sales/edit-profile', 'method' => 'post', 'class' => '','id'=>'profile_edit_form','files' => true)) !!}
{!! Form::button(' Save Profile',array('class'=>'uk-button uk-form-help-inline text-uppercase uk-text-bold uk-button-primary ','type'=>'submit','name'=>'submit'))!!}
@if (Session::has('success'))
{!!Session::get('success')!!}
@endif @if (Session::has('braintree-error'))
{!!Session::get('braintree-error')!!}
@endif @if (Session::has('error'))
{!!Session::get('error')!!}
@endif @if($errors->updateProfile->first('image') && $errors->updateProfile->first('image')=="validation.img_min_size")
{!!IMAGES_DIMENSION_ERROR!!}
@endif

Profile

{!! Form::label('firstname', '* First Name',array('class'=>'lbl' )); !!} {!! Form::text('firstname',$manager->fldManagerFirstname,array('id'=>'firstname','required','class'=>'text')) !!} @if($errors->updateProfile->first('firstname'))
{!!$errors->updateProfile->first('firstname')!!}
@endif
{!! Form::label('lastname', '* Last Name',array('class'=>'lbl' )); !!} {!! Form::text('lastname',$manager->fldManagerLastname,array('id'=>'lastname','required','class'=>'text')) !!} @if($errors->updateProfile->first('lastname'))
{!!$errors->updateProfile->first('lastname')!!}
@endif
{!! Form::label('phone', '* Contact # eg.. (123) 456-7890',array('class'=>'lbl' )); !!} {!! Form::text('phone',$manager->fldManagerPhoneNo,array('id'=>'phone','required','class'=>'text phone_us')) !!} @if($errors->updateProfile->first('phone'))
{!!$errors->updateProfile->first('phone')!!}
@endif
{!! Form::label('email', '* Email Address',array('class'=>'lbl' )); !!} {!! Form::email('email',$manager->fldManagerEmail,array('id'=>'email','required','class'=>'text','readonly','style'=>'background-color: #F5F4F3;')) !!} @if($errors->updateProfile->first('email'))
{!!$errors->updateProfile->first('email')!!}
@endif

Address Information

{!! Form::label('address', '* Street',array('class'=>'lbl' )); !!} {!! Form::text('address',$manager->fldManagerAddress,array('id'=>'address','class'=>'text')) !!} @if($errors->updateProfile->first('address'))
{!!$errors->updateProfile->first('address')!!}
@endif
{!! Form::label('city', '* City',array('class'=>'lbl' )); !!} {!! Form::text('city',$manager->fldManagerCity,array('id'=>'city','required','class'=>'text')) !!} @if($errors->updateProfile->first('city'))
{!!$errors->updateProfile->first('city')!!}
@endif
{!! Form::label('state', '* State',array('class'=>'lbl' )); !!} {!! Form::select('state',array('' => 'Select one')+App\Models\State::displayState(),isset($manager->fldManagerState) ? $manager->fldManagerState : "",array('id'=>'state','data-placeholder'=>'Select State', 'class'=>'required')) !!} @if($errors->updateProfile->first('state'))
Please select your State
@endif
{!! Form::label('zip', '* ZIP',array('class'=>'lbl' )); !!} {!! Form::text('zip',$manager->fldManagerZip,array('id'=>'zip','required','class'=>'text')) !!} @if($errors->updateProfile->first('zip'))
{!!$errors->updateProfile->first('zip')!!}
@endif
{!! Form::label('career', 'Career',array('class'=>'lbl' )); !!} {!! Form::text('career',$manager->fldManagerProfession,array('id'=>'career','class'=>'text')) !!}
{!! Form::label('authorization', 'Authorization',array('class'=>'lbl' )); !!} {!! Form::text('authorization',$manager->fldManagerAuthorization,array('id'=>'authorization','class'=>'text')) !!}

Profile Image

@if($manager->fldManagerImage != "") {!! Html::image(MANAGER_IMAGE_PATH.$manager->fldManagerID.'/'.MEDIUM_IMAGE.$manager->fldManagerImage,'',array('style'=>'width: 140px; height: 140px;')) !!} @endif
Select image Change

Formats: png, gif, jpg • Max Size: 2MB • Min Dimension: {{ PROFILE_IMAGE_WIDTH }}px x {{ PROFILE_IMAGE_HEIGHT }}px @if($errors->updateProfile->first('image') && $errors->updateProfile->first('image')!="validation.img_min_size")
{!!$errors->updateProfile->first('image')!!}
@endif

Profile Settings

fldManagerMobileAlerts }}>
{!! Form::label('promo_code', 'Promo Code',array('class'=>'lbl table-text light' )); !!} {!! Form::text('promo_code',$manager->fldManagerPromoCode,array('id'=>'promo_code','class'=>'text','disabled'=>'disabled')) !!}
{!! Form::label('birthday', 'Birthday',array('class'=>'lbl table-text light' )); !!}
{!! Form::label('birth_mm', 'Month',array('class'=>'lbl small light' )); !!} {!! Form::selectMonth('birth_month', $birthDate[0], ['class' => 'field']) !!}
{!! Form::label('birth_dd', 'Day',array('class'=>'lbl small light' )); !!}
{!! Form::label('birth_yy', 'Year',array('class'=>'lbl small light' )); !!}
{!! Form::label('username', 'Username',array('class'=>'lbl table-text light' )); !!} {!! Form::text('username',$manager->fldManagerEmail,array('id'=>'username','class'=>'text','disabled'=>'disabled')) !!}
{!! Form::label('password', 'Password',array('class'=>'lbl table-text light' )); !!} {!! Form::password('password',array('id'=>'password','class'=>'text')) !!}
at least 8 char an uppercase a number special char
@if($errors->updateProfile->first('password'))
{!!$errors->updateProfile->first('password')!!}
@endif

Banking Information

{!! Form::label('bank_name', 'Bank Name',array('class'=>'lbl' )); !!} {!! Form::text('bank_name',$manager->fldManagerBankName,array('id'=>'bank_name','class'=>'text')) !!}
{!! Form::label('account_no', 'Account Number (43243348798)',array('class'=>'lbl' )); !!} {!! Form::text('account_no',$manager->fldManagerBankAccountNumber,array('id'=>'account_no','class'=>'text')) !!}
{!! Form::label('type_of_account', 'Type Of Account (Savings)',array('class'=>'lbl' )); !!} {!! Form::text('type_of_account',$manager->fldManagerTypeofAccount,array('id'=>'type_of_account','class'=>'text')) !!}
{!! Form::label('routing_no', 'Routing Number (122100024)',array('class'=>'lbl' )); !!} {!! Form::text('routing_no',$manager->fldManagerBankRoutingNumber,array('id'=>'routing_no','class'=>'text')) !!}

Banking Address

{!! Form::label('banking_street', 'Street',array('class'=>'lbl' )); !!} {!! Form::text('banking_street',$manager->fldManagerBankAddress1,array('id'=>'banking_street','class'=>'text')) !!}
{!! Form::label('banking_city', 'City',array('class'=>'lbl' )); !!} {!! Form::text('banking_city',$manager->fldManagerBankCity,array('id'=>'banking_city','class'=>'text')) !!}
{!! Form::label('banking_state', 'State',array('class'=>'lbl' )); !!} {!! Form::select('banking_state',array('0' => 'Select one')+App\Models\State::displayState(),$manager->fldManagerBankState,array('id'=>'state','data-placeholder'=>'Select State', 'class'=>'required')) !!}
{!! Form::label('banking_zip', 'ZIP',array('class'=>'lbl' )); !!} {!! Form::text('banking_zip',$manager->fldManagerBankZIP,array('id'=>'banking_zip','class'=>'text')) !!}

Shipping Information

Shipping Address

{!! Form::label('shipping_address', '* Street',array('class'=>'lbl' )); !!} {!! Form::text('shipping_address',isset($shipping->fldManagerShippingAddress) ? $shipping->fldManagerShippingAddress : "",array('id'=>'shipping_address','class'=>'text')) !!} @if($errors->updateProfile->first('shipping_address'))
{!!$errors->updateProfile->first('shipping_address')!!}
@endif
{!! Form::label('shipping_city', '* City',array('class'=>'lbl' )); !!} {!! Form::text('shipping_city',isset($shipping->fldManagerShippingCity) ? $shipping->fldManagerShippingCity : "",array('id'=>'shipping_city','class'=>'text')) !!} @if($errors->updateProfile->first('shipping_city'))
{!!$errors->updateProfile->first('shipping_city')!!}
@endif
{!! Form::label('shipping_state', '* State',array('class'=>'lbl' )); !!} {!! Form::select('shipping_state',array('' => 'Select one')+App\Models\State::displayState(),isset($shipping->fldManagerShippingState) ? $shipping->fldManagerShippingState : "",array('id'=>'shipping_state','data-placeholder'=>'Select State', 'class'=>'required')) !!} @if($errors->updateProfile->first('shipping_state'))
Please select your State
@endif
{!! Form::label('shipping_zip', '* ZIP',array('class'=>'lbl' )); !!} {!! Form::text('shipping_zip',isset($shipping->fldManagerShippingZip) ? $shipping->fldManagerShippingZip : "",array('id'=>'shipping_zip','class'=>'text')) !!} @if($errors->updateProfile->first('shipping_zip'))
{!!$errors->updateProfile->first('shipping_zip')!!}
@endif
{!! Form::button(' Save Profile',array('class'=>'uk-button uk-form-help-inline text-uppercase uk-text-bold uk-button-primary ','type'=>'submit','name'=>'submit'))!!}
{!! Form::close() !!} @stop @section('headercodes') {!! Html::style('_front/plugins/jasny/css/jasny-bootstrap.min.css') !!} {!! Html::style('_front/plugins/password/strength.css') !!} @stop @section('extracodes') {{-- */ /* */ /* --}} {!! Html::script('_front/assets/js/mask.js') !!} {!! Html::script('_front/plugins/password/strength.js') !!} {!! Html::script('_front/plugins/jasny/js/jasny-bootstrap.min.js') !!} @stop