{!! Form::label('name','Name') !!}
{!! Form::text('name' , $role->name , ['class' => 'form-control','placeholder' => 'Name','required'=> true]) !!}
@if(isset($dsRoles) and is_array($dsRoles) and count($dsRoles) > 0)
{!! Form::label('import_id','Direct Scale Role') !!}
{!! Form::select('import_id' , $dsRoles, $role->import_id , ['class' => 'form-control','placeholder' => 'Select','required'=> true]) !!}
@endif
{!! Form::label('tier_id','Pricing Tier') !!}
@foreach($tiers AS $tierId => $display_name)
{!! $display_name !!}
@endforeach
{!! Form::checkbox('show_qv_cv' , 1 , $role->show_qv_cv) !!}
{!! Form::label('show_qv_cv','Display of QV/CV ?') !!}
{!! Form::checkbox('show_qv' , 1 , $role->show_qv) !!}
{!! Form::label('show_qv','Display of QV ?') !!}
{!! Form::checkbox('show_cv' , 1 , $role->show_cv) !!}
{!! Form::label('show_cv','Display of CV ?') !!}
{!! Form::label('from_upgrade','Upgrade Role From') !!}
@foreach($roles AS $roled)
id, $selected) ? 'selected' : '' }}>{!! $roled->name !!}
@endforeach
{!! Form::label('custom_link','Custom URL') !!}
{!! Form::text('custom_link' , $role->custom_link , ['class' => 'form-control','placeholder' => 'Custom URL','required'=> true]) !!}
{!! Form::label('redirect_link','Success URL (relative/absolute)') !!}
{!! Form::text('redirect_link' , $role->redirect_link , ['class' => 'form-control','placeholder' => 'Success URL','required'=> true]) !!}
@if(isTeqTankEnable())
{!! Form::checkbox('tree_move' , 1 , $role->tree_move ) !!}
{!! Form::label('tree_move','Perform Tree Move (if provided) ?') !!}
{!! Form::label('tree_type','Tree Type') !!}
{!! Form::select('tree_type' ,[ '1' => 'Enroller', '2' => 'Unilevel', '3' => 'Binary'], optional($role)->tree_type ?? 3 , ['class' => 'form-control','required'=>'true','placeholder' => 'Select']) !!}
@endif
{!! Form::checkbox('can_see_pros' , 1 , optional($role)->can_see_pros ?? 1) !!}
{!! Form::label('can_see_pros','Can see Products') !!}
{!! Form::checkbox('can_checkout' , 1 , optional($role)->can_checkout ?? 1) !!}
{!! Form::label('can_checkout','Can Checkout and see product prices') !!}
{!! Form::checkbox('hide_address_phone' , 1 , optional($role)->hide_address_phone ?? 1 , ['id' => 'hideCustomerRoleAddress']) !!}
{!! Form::label('hide_address_phone','Hide address and phone number on signup') !!}
{!! Form::checkbox('use_billing_as_shipping_address' , 1 , optional($role)->hide_address_phone ?? 1 , ['id' => 'useBillingShippingAddress']) !!}
{!! Form::label('use_billing_as_shipping_address','Use billing as shipping address') !!}
Please check with backend software to make sure they allow creating user without this information. Alternatively you can use Dummy Addresses feature to use static addresses for signups
@if($role->id > 0)
@endif