mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-20 08:21:34 +02:00
Don’t allow changing tax type after it’s created
This commit is contained in:
parent
65918a456b
commit
fa91c698d4
@ -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…
Reference in New Issue
Block a user