@extends('layouts._front.dashboard_manager') @section('content') {!! Form::open(array('url' => '/dashboard/sales/accounts', 'method' => 'post', 'class' => '','id'=>'profile_edit_form')) !!}
{!! Form::button(' Save',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

Account Settings

{!! Form::label('email', 'Username',array('class'=>'lbl table-text light' )); !!} {!! Form::text('email',$manager->fldManagerEmail,array('id'=>'email','class'=>'text')) !!} @if($errors->accounts->first('email'))
{!!$errors->accounts->first('email')!!}
@endif
{!! Form::label('password', 'Password',array('class'=>'lbl table-text light' )); !!} {!! Form::password('password',array('id'=>'password','class'=>'text')) !!}

Banking Information @if($manager->fldManagerBrainTreeMerchantID != "") ({{ $manager->fldManagerBrainTreeMerchantID }}) @endif

{!! 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',isset($braintreeMerchant->funding['accountNumberLast4']) ? '*******'.$braintreeMerchant->funding['accountNumberLast4'] : "",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',isset($braintreeMerchant->funding['routingNumber']) ? $braintreeMerchant->funding['routingNumber'] : "",array('id'=>'routing_no','class'=>'text')) !!}

Banking Address

{!! Form::label('banking_street', 'Street',array('class'=>'lbl' )); !!} {!! Form::text('banking_street',isset($braintreeMerchant->individual['address']['streetAddress']) ? $braintreeMerchant->individual['address']['streetAddress'] : "",array('id'=>'banking_street','class'=>'text')) !!}
{!! Form::label('banking_city', 'City',array('class'=>'lbl' )); !!} {!! Form::text('banking_city',isset($braintreeMerchant->individual['address']['locality']) ? $braintreeMerchant->individual['address']['locality'] : "",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(),isset($braintreeMerchant->individual['address']['region']) ? $braintreeMerchant->individual['address']['region'] : 0,array('id'=>'state','data-placeholder'=>'Select State', 'class'=>'required')) !!}
{!! Form::label('banking_zip', 'ZIP',array('class'=>'lbl' )); !!} {!! Form::text('banking_zip',isset($braintreeMerchant->individual['address']['postalCode']) ? $braintreeMerchant->individual['address']['postalCode'] : "" ,array('id'=>'banking_zip','class'=>'text')) !!}

Credit Card Information @if($manager->fldManagerBraintreeCustomerID != "") ({{ $manager->fldManagerBraintreeCustomerID }}) @endif

{!! Form::label('cc_firstname', 'First Name',array('class'=>'lbl' )); !!} {!! Form::text('cc_firstname',isset($braintreeClient->firstName) ? $braintreeClient->firstName : "",array('id'=>'cc_firstname','class'=>'text')) !!}
{!! Form::label('cc_lastname', 'Last Name',array('class'=>'lbl' )); !!} {!! Form::text('cc_lastname',isset($braintreeClient->lastName) ? $braintreeClient->lastName : "",array('id'=>'cc_lastname','class'=>'text')) !!}
{!! Form::label('cc_no', 'Credit Card Number (378282246310005)',array('class'=>'lbl' )); !!} {!! Form::text('cc_no',isset($braintreeClient->creditCards{0}->maskedNumber) ? $braintreeClient->creditCards{0}->maskedNumber : "",array('id'=>'cc_no','class'=>'text')) !!}
{!! Form::label('cvv', 'CVV (1234)',array('class'=>'lbl' )); !!} {!! Form::text('cvv',$manager->fldManagerCVV,array('id'=>'cvv','class'=>'text')) !!}
{!! Form::label('cc_exp_mm', 'Expiration Date',array('class'=>'lbl' )); !!}
{!! Form::label('cc_exp_mm', 'Month',array('class'=>'lbl small light' )); !!} {!! Form::selectMonth('cc_exp_mm', isset($braintreeClient->creditCards{0}->expirationMonth) ? $braintreeClient->creditCards{0}->expirationMonth : 12, ['class' => 'field']) !!}
{!! Form::label('bcc_exp_yy', 'Year',array('class'=>'lbl small light' )); !!}
{!! Form::label('invite_code', 'Invite Code',array('class'=>'lbl small light' )); !!} {!! Form::text('invite_code',"",array('id'=>'invite_code','class'=>'text')) !!}
{!! Form::button(' Save',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') @stop @section('extracodes') {{-- */ /* */ /* --}} @stop