diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index 276dde9149..b08bcee88f 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -2619,6 +2619,7 @@ $LANG = array( 'mcrypt_warning' => 'Warning: Mcrypt is deprecated, run php artisan ninja:update-key --legacy=true to update your cipher.', 'edit_times' => 'Edit Times', 'inclusive_taxes_help' => 'Include taxes in the cost', + 'inclusive_taxes_notice' => 'This setting can not be changed once an invoice has been created.', 'inclusive_taxes_warning' => 'Warning: existing invoices will need to be resaved', 'copy_shipping' => 'Copy Shipping', 'copy_billing' => 'Copy Billing', diff --git a/resources/views/accounts/tax_rates.blade.php b/resources/views/accounts/tax_rates.blade.php index 9d3f73ebfa..e3c8408428 100644 --- a/resources/views/accounts/tax_rates.blade.php +++ b/resources/views/accounts/tax_rates.blade.php @@ -35,18 +35,19 @@ ->label(' ') ->value(1) !!} - @if (! $hasInclusiveTaxRates && ($account->inclusive_taxes || $countInvoices <= 10)) - {!! Former::checkbox('inclusive_taxes') - ->text(trans('texts.inclusive_taxes_help')) - ->label(' ') - ->value(1) !!} - @endif - {!! Former::checkbox('include_item_taxes_inline') ->text(trans('texts.include_item_taxes_inline')) ->label(' ') ->value(1) !!} + @if (! $hasInclusiveTaxRates && $countInvoices == 0) + {!! Former::checkbox('inclusive_taxes') + ->text(trans('texts.inclusive_taxes_help')) + ->label(' ') + ->help('inclusive_taxes_notice') + ->value(1) !!} + @endif +   @if ($taxRates->count())