mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 13:24:30 -04:00
Email Quote displays wrong language strings #1499
This commit is contained in:
parent
90f9247362
commit
20accda2f0
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
<h4 class="modal-title" id="emailModalLabel">{{ trans('texts.email_invoice') }}</h4>
|
<h4 class="modal-title" id="emailModalLabel">{{ trans($invoice->isQuote() ? 'texts.email_quote' : 'texts.email_invoice') }}</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="container" style="width: 100%; padding-bottom: 0px !important">
|
<div class="container" style="width: 100%; padding-bottom: 0px !important">
|
||||||
@ -225,7 +225,7 @@
|
|||||||
NINJA.formIsChanged = true;
|
NINJA.formIsChanged = true;
|
||||||
});
|
});
|
||||||
|
|
||||||
@if (Utils::isPro())
|
@if (Utils::isPro() && $invoice->isStandard())
|
||||||
if (window.defaultTemplate) {
|
if (window.defaultTemplate) {
|
||||||
$('#template_type').val(window.defaultTemplate);
|
$('#template_type').val(window.defaultTemplate);
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,9 @@
|
|||||||
'password': passwordHtml,
|
'password': passwordHtml,
|
||||||
'documents': documentsHtml,
|
'documents': documentsHtml,
|
||||||
'viewLink': '{{ link_to('#', url('/view/...')) }}$password',
|
'viewLink': '{{ link_to('#', url('/view/...')) }}$password',
|
||||||
'viewButton': '{!! Form::flatButton('view_invoice', '#0b4d78') !!}$password',
|
'viewButton': invoice && invoice.invoice_type_id == {{ INVOICE_TYPE_QUOTE }} ?
|
||||||
|
'{!! Form::flatButton('view_quote', '#0b4d78') !!}$password' :
|
||||||
|
'{!! Form::flatButton('view_invoice', '#0b4d78') !!}$password',
|
||||||
'paymentLink': '{{ link_to('#', url('/payment/...')) }}$password',
|
'paymentLink': '{{ link_to('#', url('/payment/...')) }}$password',
|
||||||
'paymentButton': '{!! Form::flatButton('pay_now', '#36c157') !!}$password',
|
'paymentButton': '{!! Form::flatButton('pay_now', '#36c157') !!}$password',
|
||||||
'autoBill': '{{ trans('texts.auto_bill_notification_placeholder') }}',
|
'autoBill': '{{ trans('texts.auto_bill_notification_placeholder') }}',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user