@extends('layouts._front.dashboard_owner') @section('content') {!! Form::open(array('url' => '/dashboard/shop-owner/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($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',$shopOwner->fldShopOwnerFirstname,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',$shopOwner->fldShopOwnerLastname,array('id'=>'lastname','required','class'=>'text')) !!} @if($errors->updateProfile->first('lastname'))
{!!$errors->updateProfile->first('lastname')!!}
@endif
{!! Form::label('business_name', 'Business Name',array('class'=>'lbl' )); !!} {!! Form::text('business_name',$shopOwner->fldShopOwnerBusiness,array('id'=>'business_name','class'=>'text')) !!} @if($errors->updateProfile->first('business_name'))
{!!$errors->updateProfile->first('business_name')!!}
@endif
{!! Form::label('phone', '* Contact #',array('class'=>'lbl' )); !!} {!! Form::text('phone',$shopOwner->fldShopOwnerPhoneNo,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',$shopOwner->fldShopOwnerEmail,array('id'=>'email','class'=>'text','required','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',$shopOwner->fldShopOwnerAddress,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',$shopOwner->fldShopOwnerCity,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($shopOwner->fldShopOwnerState) ? $shopOwner->fldShopOwnerState : "",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',$shopOwner->fldShopOwnerZip,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',$shopOwner->fldShopOwnerProfession,array('id'=>'career','class'=>'text')) !!}
{!! Form::label('authorization', 'Authorization',array('class'=>'lbl' )); !!} {!! Form::text('authorization',$shopOwner->fldShopOwnerAuthorization,array('id'=>'authorization','class'=>'text')) !!}

Profile Image

@if($shopOwner->fldShopOwnerImage != "") {!! Html::image(SHOP_OWNER_IMAGE_PATH.$shopOwner->fldShopOwnerID.'/'.MEDIUM_IMAGE.$shopOwner->fldShopOwnerImage,'',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

fldShopOwnerMobileAlerts }}>
{!! Form::label('promo_code', 'Promo Code',array('class'=>'lbl table-text light' )); !!} {!! Form::text('promo_code',$shopOwner->fldShopOwnerPromoCode,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',$shopOwner->fldShopOwnerEmail,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',$shopOwner->fldShopOwnerBankName,array('id'=>'bank_name','class'=>'text')) !!}
{!! Form::label('account_no', 'Account Number',array('class'=>'lbl' )); !!} {!! Form::text('account_no',$shopOwner->fldShopOwnerBankAccountNumber,array('id'=>'account_no','class'=>'text')) !!}
{!! Form::label('type_of_account', 'Type Of Account',array('class'=>'lbl' )); !!} {!! Form::text('type_of_account',$shopOwner->fldShopOwnerTypeofAccount,array('id'=>'type_of_account','class'=>'text')) !!}
{!! Form::label('routing_no', 'Routing Number',array('class'=>'lbl' )); !!} {!! Form::text('routing_no',$shopOwner->fldShopOwnerBankRoutingNumber,array('id'=>'routing_no','class'=>'text')) !!}

Banking Address

{!! Form::label('banking_street', 'Street',array('class'=>'lbl' )); !!} {!! Form::text('banking_street',$shopOwner->fldShopOwnerBankAddress1,array('id'=>'banking_street','class'=>'text')) !!}
{!! Form::label('banking_city', 'City',array('class'=>'lbl' )); !!} {!! Form::text('banking_city',$shopOwner->fldShopOwnerBankCity,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(),$shopOwner->fldShopOwnerBankState,array('id'=>'state','data-placeholder'=>'Select State', 'class'=>'required')) !!}
{!! Form::label('banking_zip', 'ZIP',array('class'=>'lbl' )); !!} {!! Form::text('banking_zip',$shopOwner->fldShopOwnerBankZIP,array('id'=>'banking_zip','class'=>'text','style' => 'width: 170px;')) !!}

Shipping Information

Shipping Address

{!! Form::label('shipping_address', '* Street',array('class'=>'lbl' )); !!} {!! Form::text('shipping_address',isset($shipping->fldShopOwnerShippingAddress) ? $shipping->fldShopOwnerShippingAddress : "",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->fldShopOwnerShippingCity) ? $shipping->fldShopOwnerShippingCity : "",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->fldShopOwnerShippingState) ? $shipping->fldShopOwnerShippingState : "",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->fldShopOwnerShippingZip) ? $shipping->fldShopOwnerShippingZip : "",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