{!! Form::label('name', trans('app.form.full_name') . '*') !!} {!! Form::text('name', null, ['class' => 'form-control', 'placeholder' => trans('app.placeholder.full_name'), 'required']) !!}
{!! Form::label('active', trans('app.form.status') . '*') !!} {!! Form::select('active', ['1' => trans('app.active'), '0' => trans('app.inactive')], null, ['class' => 'form-control select2-normal', 'placeholder' => trans('app.placeholder.status'), 'required']) !!}
@if(\App\Models\SystemConfig::CustomerNeedsApproval())
{!! Form::label('approval_status', trans('app.form.approval_status') . '*') !!} {!! Form::select('approval_status', ['1' => trans('app.statuses.approved'), '0' => trans('app.statuses.declined')], null, ['class' => 'form-control select2-normal', 'placeholder' => trans('app.placeholder.status'), 'required']) !!}
@endif
{!! Form::label('nice_name', trans('app.form.nice_name')) !!} {!! Form::text('nice_name', null, ['class' => 'form-control', 'placeholder' => trans('app.placeholder.nice_name')]) !!}
{!! Form::label('email', trans('app.form.email_address') . '*') !!} {!! Form::email('email', null, ['class' => 'form-control', 'placeholder' => trans('app.placeholder.valid_email'), 'required']) !!}
@if (!isset($customer))
{!! Form::label('password', trans('app.form.password') . '*') !!}
{!! Form::password('password', ['class' => 'form-control', 'id' => 'password', 'placeholder' => trans('app.placeholder.password'), 'data-minlength' => '6', 'required']) !!}
{!! Form::password('password_confirmation', ['class' => 'form-control', 'placeholder' => trans('app.placeholder.confirm_password'), 'data-match' => '#password', 'required']) !!}
@endif
{!! Form::label('description', trans('app.form.description')) !!} {!! Form::textarea('description', null, ['class' => 'form-control summernote', 'rows' => '2', 'placeholder' => trans('app.placeholder.description')]) !!}
{!! Form::label('dob', trans('app.form.dob')) !!}
{!! Form::text('dob', null, ['class' => 'form-control datepicker', 'placeholder' => trans('app.placeholder.dob')]) !!}
{!! Form::label('sex', trans('app.form.sex')) !!} {!! Form::select('sex', ['app.male' => trans('app.male'), 'app.female' => trans('app.female'), 'app.other' => trans('app.other')], null, ['class' => 'form-control select2-normal', 'placeholder' => trans('app.placeholder.sex')]) !!}
@unless(isset($customer)) @include('address._form') @endunless
@if (isset($customer) && $customer->avatarImage) @endif
{{ trans('app.form.upload') }}

* {{ trans('app.form.required_fields') }}