Clarify that inclusive can’t be used as defaults

This commit is contained in:
Hillel Coren 2017-08-28 11:07:21 +03:00
parent a8d73fe1f2
commit 2c10dcae41
2 changed files with 4 additions and 5 deletions

View File

@ -2181,7 +2181,7 @@ $LANG = array(
'created_new_company' => 'Successfully created new company',
'fees_disabled_for_gateway' => 'Fees are disabled for this gateway.',
'logout_and_delete' => 'Log Out/Delete Account',
'tax_rate_type_help' => 'Inclusive taxes adjust the line item cost when selected.',
'tax_rate_type_help' => 'Inclusive tax rates adjust the line item cost when selected.<br/>Only exclusive tax rates can be used as a default.',
'invoice_footer_help' => 'Use $pageNumber and $pageCount to display the page information.',
'credit_note' => 'Credit Note',
'credit_issued_to' => 'Credit issued to',

View File

@ -29,10 +29,9 @@
{!! Former::text('rate')->label('texts.rate')->append('%') !!}
{!! Former::radios('is_inclusive')->radios([
trans('texts.exclusive') => array('name' => 'is_inclusive', 'value' => 0),
trans('texts.inclusive') => array('name' => 'is_inclusive', 'value' => 1),
])->inline()
->check(0)
trans('texts.exclusive') . ': 100 + 10% = 100 + 10' => array('name' => 'is_inclusive', 'value' => 0),
trans('texts.inclusive') . ':&nbsp; 100 + 10% = 90.91 + 9.09' => array('name' => 'is_inclusive', 'value' => 1),
])->check(0)
->label('type')
->help('tax_rate_type_help') !!}