2020-01-03 14:04:00 +03:00
|
|
|
{!! Form::open([
|
|
|
|
'id' => 'form-create-vendor',
|
|
|
|
'@submit.prevent' => 'onSubmit',
|
|
|
|
'@keydown' => 'form.errors.clear($event.target.name)',
|
|
|
|
'role' => 'form',
|
|
|
|
'class' => 'form-loading-button',
|
|
|
|
'route' => 'vendors.store',
|
|
|
|
'novalidate' => true
|
|
|
|
]) !!}
|
|
|
|
<div class="row">
|
2020-02-02 17:21:09 +03:00
|
|
|
{{ Form::textGroup('name', trans('general.name'), 'font') }}
|
2019-02-13 15:33:00 +03:00
|
|
|
|
2020-01-03 14:04:00 +03:00
|
|
|
{{ Form::textGroup('email', trans('general.email'), 'envelope', []) }}
|
2019-02-13 15:33:00 +03:00
|
|
|
|
2020-01-03 14:04:00 +03:00
|
|
|
{{ Form::textGroup('tax_number', trans('general.tax_number'), 'percent', []) }}
|
2018-08-15 18:19:38 +03:00
|
|
|
|
2020-02-29 12:27:50 +03:00
|
|
|
{{ Form::selectGroup('currency_code', trans_choice('general.currencies', 1), 'exchange-alt', $currencies, setting('default.currency'), ['required' => 'required', 'model' => setting('default.currency')]) }}
|
2018-08-15 18:19:38 +03:00
|
|
|
|
2020-01-03 14:04:00 +03:00
|
|
|
{{ Form::textareaGroup('address', trans('general.address')) }}
|
2018-08-15 18:19:38 +03:00
|
|
|
|
2020-01-13 12:37:05 +03:00
|
|
|
{{ Form::hidden('type', 'vendor') }}
|
2020-01-03 14:04:00 +03:00
|
|
|
{!! Form::hidden('enabled', '1', []) !!}
|
2018-08-15 18:19:38 +03:00
|
|
|
</div>
|
2020-01-03 14:04:00 +03:00
|
|
|
{!! Form::close() !!}
|