1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Enable setting exchange rate when converting product prices

This commit is contained in:
Hillel Coren 2018-04-12 20:40:44 +03:00
parent c3b12ed9e6
commit 1459dabe67
2 changed files with 5 additions and 2 deletions

View File

@ -2653,7 +2653,7 @@ $LANG = array(
'signature_on_pdf_help' => 'Show the client signature on the invoice/quote PDF.',
'expired_white_label' => 'The white label license has expired',
'return_to_login' => 'Return to Login',
'convert_products_tip' => 'Note: add a custom field named ":name" to see the exchange rate.',
'convert_products_tip' => 'Note: add a :link named ":name" to see the exchange rate.',
'amount_greater_than_balance' => 'The amount is greater than the invoice balance, a credit will be created with the remaining amount.',
'custom_fields_tip' => 'Use <code>Label|Option1,Option2</code> to show a select box.',
'client_information' => 'Client Information',

View File

@ -22,7 +22,10 @@
{!! Former::checkbox('update_products')->text(trans('texts.update_products_help'))->value(1) !!}
&nbsp;
{!! Former::checkbox('convert_products')->text(trans('texts.convert_products_help'))
->help(trans('texts.convert_products_tip', ['name' => trans('texts.exchange_rate')]))->value(1) !!}
->help(trans('texts.convert_products_tip', [
'link' => link_to('/settings/invoice_settings#invoice_fields', trans('texts.custom_field'), ['target' => '_blank']),
'name' => trans('texts.exchange_rate')
]))->value(1) !!}
&nbsp;
{!! Former::actions( Button::success(trans('texts.save'))->submit()->appendIcon(Icon::create('floppy-disk')) ) !!}
{!! Former::close() !!}