1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 00:11:35 +02:00

Change tax limitation

This commit is contained in:
Hillel Coren 2018-01-01 11:26:28 +02:00
parent 3e10c76bc7
commit 1ac4846f0d
2 changed files with 9 additions and 7 deletions

View File

@ -2619,6 +2619,7 @@ $LANG = array(
'mcrypt_warning' => 'Warning: Mcrypt is deprecated, run <code>php artisan ninja:update-key --legacy=true</code> to update your cipher.',
'edit_times' => 'Edit Times',
'inclusive_taxes_help' => 'Include <b>taxes in the cost</b>',
'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',

View File

@ -35,18 +35,19 @@
->label('&nbsp;')
->value(1) !!}
@if (! $hasInclusiveTaxRates && ($account->inclusive_taxes || $countInvoices <= 10))
{!! Former::checkbox('inclusive_taxes')
->text(trans('texts.inclusive_taxes_help'))
->label('&nbsp;')
->value(1) !!}
@endif
{!! Former::checkbox('include_item_taxes_inline')
->text(trans('texts.include_item_taxes_inline'))
->label('&nbsp;')
->value(1) !!}
@if (! $hasInclusiveTaxRates && $countInvoices == 0)
{!! Former::checkbox('inclusive_taxes')
->text(trans('texts.inclusive_taxes_help'))
->label('&nbsp;')
->help('inclusive_taxes_notice')
->value(1) !!}
@endif
&nbsp;
@if ($taxRates->count())