mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Added gateway fee help tooltip
This commit is contained in:
parent
94de590af2
commit
098151bff0
@ -285,7 +285,11 @@ class InvoicePresenter extends EntityPresenter
|
||||
$label = trans('texts.fee');
|
||||
}
|
||||
|
||||
return ' - ' . $fee . ' ' . $label;
|
||||
$label = ' - ' . $fee . ' ' . $label;
|
||||
|
||||
$label .= ' <i class="fa fa-info-circle" data-toggle="tooltip" data-placement="bottom" title="' . trans('texts.fee_help') . '"></i>';
|
||||
|
||||
return $label;
|
||||
}
|
||||
|
||||
public function multiAccountLink()
|
||||
|
2
public/css/built.public.css
vendored
2
public/css/built.public.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
4
resources/assets/css/public.style.css
vendored
4
resources/assets/css/public.style.css
vendored
@ -287,3 +287,7 @@ fieldset[disabled] .btn-success.active {
|
||||
.btn-success .badge {
|
||||
color: #5cb85c;
|
||||
}
|
||||
|
||||
.tooltip-inner {
|
||||
white-space: normal;
|
||||
}
|
||||
|
@ -2391,6 +2391,7 @@ $LANG = array(
|
||||
'use_english_version' => 'Make sure to use the English version of the files.<br/>We use the column headers to match the fields.',
|
||||
'tax1' => 'First Tax',
|
||||
'tax2' => 'Second Tax',
|
||||
'fee_help' => 'Gateway fees are the costs charged for access to the financial networks that handle the processing of online payments.',
|
||||
|
||||
);
|
||||
|
||||
|
@ -190,8 +190,6 @@
|
||||
}
|
||||
});
|
||||
|
||||
$('[data-toggle="tooltip"]').tooltip();
|
||||
|
||||
// set timeout onDomReady
|
||||
setTimeout(delayedFragmentTargetOffset, 500);
|
||||
|
||||
|
@ -128,7 +128,7 @@
|
||||
@if (count($paymentTypes) > 1)
|
||||
{!! DropdownButton::success(trans('texts.pay_now'))->withContents($paymentTypes)->large() !!}
|
||||
@elseif (count($paymentTypes) == 1)
|
||||
<a href='{!! $paymentURL !!}' class="btn btn-success btn-lg">{{ trans('texts.pay_now') }} {{ $invoice->present()->gatewayFee($gatewayTypeId) }}</a>
|
||||
<a href='{!! $paymentURL !!}' class="btn btn-success btn-lg">{{ trans('texts.pay_now') }} {!! $invoice->present()->gatewayFee($gatewayTypeId) !!}</a>
|
||||
@endif
|
||||
@else
|
||||
{!! Button::normal(trans('texts.download_pdf'))->withAttributes(['onclick' => 'onDownloadClick()'])->large() !!}
|
||||
|
@ -268,6 +268,8 @@
|
||||
@endif
|
||||
@endif
|
||||
|
||||
$('[data-toggle="tooltip"]').tooltip();
|
||||
|
||||
@if (Session::has('onReady'))
|
||||
{{ Session::get('onReady') }}
|
||||
@endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user