Tax type compound just add once.

This commit is contained in:
Cüneyt Şentürk
2020-12-22 14:47:50 +03:00
parent 1411bd879c
commit 654f7bbb2c
6 changed files with 45 additions and 7 deletions

View File

@ -21,7 +21,7 @@
{{ Form::textGroup('rate', trans('taxes.rate'), 'percent', ['@input' => 'onChangeTaxRate']) }}
{{ Form::selectGroup('type', trans_choice('general.types', 1), 'bars', $types, 'normal') }}
{{ Form::selectGroup('type', trans_choice('general.types', 1), 'bars', $types, 'normal', ['disabledOptions' => $disable_options]) }}
{{ Form::radioGroup('enabled', trans('general.enabled'), true) }}
</div>

View File

@ -22,7 +22,7 @@
{{ Form::textGroup('rate', trans('taxes.rate'), 'percent', ['@input' => 'onChangeTaxRate']) }}
{{ Form::selectGroup('type', trans_choice('general.types', 1), 'bars', $types, $tax->type) }}
{{ Form::selectGroup('type', trans_choice('general.types', 1), 'bars', $types, $tax->type, ['disabledOptions' => $disable_options]) }}
{{ Form::radioGroup('enabled', trans('general.enabled'), $tax->enabled) }}
</div>