Add help message to explain limited gateways

This commit is contained in:
Hillel Coren 2016-08-19 16:11:00 +03:00
parent 6485ab44cc
commit 9bb64d4984
2 changed files with 4 additions and 2 deletions

View File

@ -2075,6 +2075,7 @@ $LANG = array(
'include_item_taxes_inline' => 'Include <b>line item taxes in line total</b>', 'include_item_taxes_inline' => 'Include <b>line item taxes in line total</b>',
'created_quotes' => 'Successfully created :count quotes(s)', 'created_quotes' => 'Successfully created :count quotes(s)',
'limited_gateways' => 'Note: we support one credit card gateway per company.',
); );

View File

@ -50,7 +50,8 @@
{!! Former::select('primary_gateway_id') {!! Former::select('primary_gateway_id')
->fromQuery($primaryGateways, 'name', 'id') ->fromQuery($primaryGateways, 'name', 'id')
->label(trans('texts.gateway_id')) ->label(trans('texts.gateway_id'))
->onchange('setFieldsShown()') !!} ->onchange('setFieldsShown()')
->help(count($secondaryGateways) ? false : 'limited_gateways') !!}
@if (count($secondaryGateways)) @if (count($secondaryGateways))
{!! Former::select('secondary_gateway_id') {!! Former::select('secondary_gateway_id')