{!! Form::open(['url' => '/admin/customers/']) !!}
{!! Form::label('Customer Name') !!}
{!! Form::text('customer_name', null, ['class' => 'form-control', 'placeholder' => 'Enter customer name']) !!}
@if ($errors->has('customer_name')){!! $errors->first('customer_name') !!}@endif
{!! Form::label('Email') !!}
{!! Form::text('email', null, ['class' => 'form-control', 'placeholder' => 'Enter customer email']) !!}
@if ($errors->has('email')){!! $errors->first('email') !!}@endif
{!! Form::label('Contact') !!}
{!! Form::text('phone', null, ['class' => 'form-control', 'placeholder' => 'Enter customer contact']) !!}
@if ($errors->has('phone')){!! $errors->first('phone') !!}@endif
{!! Form::label('Address') !!}
{!! Form::textarea('customer_address', null, ['class' => 'form-control', 'placeholder' => 'Enter address']) !!}
@if ($errors->has('customer_address')){!! $errors->first('customer_address') !!}@endif
{!! Form::label('Group') !!}
{!! Form::select('group_id',$groups, null,['class' => 'form-control', 'placeholder' => 'Select Group']) !!}
@if ($errors->has('group_id')){!! $errors->first('group_id') !!}@endif
{!! Form::label('Password') !!}
{!! Form::password('customer_password', ['class' => 'form-control', 'placeholder' => 'Enter password']) !!}
@if ($errors->has('customer_password')){!! $errors->first('customer_password') !!}@endif
{!! Form::label('Retype Password') !!}
{!! Form::password('customer_confirm_password', ['class' => 'form-control', 'placeholder' => 'Retype password']) !!}
@if ($errors->has('customer_confirm_password')){!! $errors->first('customer_confirm_password') !!}@endif
{!! Form::label('status','Status') !!}
{!! Form::select('customer_is_exist',['1' => 'Active','0' => 'Inactive'],null,['class' =>'form-control']) !!}
@if ($errors->has('customer_is_exist'))
{!! $errors->first('customer_is_exist') !!}
@endif
{!! Form::close() !!}