{!! Form::label('name', trans('app.form.merchant_full_name') . '*') !!} {!! Form::text('name', null, ['class' => 'form-control', 'placeholder' => trans('app.placeholder.merchant_full_name'), 'required']) !!}
{!! Form::label('active', trans('app.form.status') . '*') !!} {!! Form::select('active', ['1' => trans('app.active'), '0' => trans('app.inactive')], isset($merchant) ? null : 1, ['class' => 'form-control select2-normal', 'placeholder' => trans('app.placeholder.status'), 'required']) !!}
{!! Form::label('email', trans('app.form.email_address') . '*') !!} {!! Form::email('email', null, ['class' => 'form-control', 'placeholder' => trans('app.placeholder.valid_email'), 'required']) !!}
@if (!isset($merchant)) {!! Form::label('password', trans('app.form.temporary_password') . '*') !!} {!! Form::password('password', ['class' => 'form-control', 'id' => 'password', 'placeholder' => trans('app.placeholder.temporary_password'), 'data-minlength' => '6', 'required']) !!}
@else {!! Form::label('nice_name', trans('app.form.nice_name')) !!} {!! Form::text('nice_name', null, ['class' => 'form-control', 'placeholder' => trans('app.placeholder.nice_name')]) !!} @endif
@if (is_incevio_package_loaded('otp-login'))
@include('otp-login::phone_field')
@endif @unless (isset($merchant))
{!! Form::label('shop_name', trans('app.form.shop_name') . '*', ['class' => 'with-help']) !!} {!! Form::text('shop_name', null, ['class' => 'form-control makeSlug', 'placeholder' => trans('app.placeholder.shop_name'), 'required']) !!}
{!! Form::label('legal_name', trans('app.form.legal_name') . '*', ['class' => 'with-help']) !!} {!! Form::text('legal_name', null, ['class' => 'form-control', 'placeholder' => trans('app.placeholder.shop_legal_name'), 'required']) !!}
{!! Form::label('slug', trans('app.form.slug') . '*', ['class' => 'with-help']) !!} {!! Form::text('slug', null, ['class' => 'form-control slug', 'placeholder' => trans('app.slug'), 'required']) !!}
{!! Form::label('external_url', trans('app.form.external_url'), ['class' => 'with-help']) !!} {!! Form::text('external_url', null, ['class' => 'form-control', 'placeholder' => trans('app.placeholder.external_url')]) !!}
@endunless @if (isset($merchant))
{!! 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')]) !!}
@endif
{!! Form::label('description', trans('app.form.description')) !!} {!! Form::textarea('description', null, ['class' => 'form-control summernote', 'rows' => '2', 'placeholder' => trans('app.placeholder.description')]) !!}
@if (isset($merchant) && $merchant->avatarImage) @endif
{{ trans('app.form.upload') }}

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