Currencies add new feature on account, bill, customer, invoice, vendor edit and create pages.

This commit is contained in:
Cüneyt Şentürk
2020-02-14 16:37:09 +03:00
parent b311fca666
commit 5f756454d6
14 changed files with 118 additions and 11 deletions

View File

@ -0,0 +1,20 @@
{!! Form::open([
'id' => 'form-create-currency',
'@submit.prevent' => 'onSubmit',
'@keydown' => 'form.errors.clear($event.target.name)',
'role' => 'form',
'class' => 'form-loading-button',
'route' => 'modals.currencies.store',
'novalidate' => true
]) !!}
<div class="row">
{{ Form::textGroup('name', trans('general.name'), 'chart-bar') }}
{{ Form::selectGroup('code', trans('currencies.code'), 'code', $codes) }}
{{ Form::textGroup('rate', trans('currencies.rate'), 'sliders-h', ['@input' => 'onChangeRate', 'required' => 'required']) }}
{!! Form::hidden('enabled', '1', []) !!}
{!! Form::hidden('default_currency', 'false', []) !!}
</div>
{!! Form::close() !!}