mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 10:44:29 -04: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('name')->label('texts.name') !!}
|
||||||
{!! Former::text('rate')->label('texts.rate')->append('%') !!}
|
{!! 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([
|
{!! Former::radios('is_inclusive')->radios([
|
||||||
trans('texts.exclusive') . ': 100 + 10% = 100 + 10' => array('name' => 'is_inclusive', 'value' => 0),
|
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),
|
trans('texts.inclusive') . ': 100 + 10% = 90.91 + 9.09' => array('name' => 'is_inclusive', 'value' => 1),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user