Don’t allow changing tax type after it’s created
This commit is contained in:
parent
65918a456b
commit
fa91c698d4
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@
|
|||
{!! Former::text('name')->label('texts.name') !!}
|
||||
{!! Former::text('rate')->label('texts.rate')->append('%') !!}
|
||||
|
||||
@if (! auth()->user()->account->inclusive_taxes)
|
||||
@if (! $taxRate && ! auth()->user()->account->inclusive_taxes)
|
||||
{!! Former::radios('is_inclusive')->radios([
|
||||
trans('texts.exclusive') . ': 100 + 10% = 100 + 10' => array('name' => 'is_inclusive', 'value' => 0),
|
||||
trans('texts.inclusive') . ': 100 + 10% = 90.91 + 9.09' => array('name' => 'is_inclusive', 'value' => 1),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue