mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 14:12:44 +01: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">
|
||||
<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 class="container" style="width: 100%; padding-bottom: 0px !important">
|
||||
@ -225,7 +225,7 @@
|
||||
NINJA.formIsChanged = true;
|
||||
});
|
||||
|
||||
@if (Utils::isPro())
|
||||
@if (Utils::isPro() && $invoice->isStandard())
|
||||
if (window.defaultTemplate) {
|
||||
$('#template_type').val(window.defaultTemplate);
|
||||
}
|
||||
|
@ -28,7 +28,9 @@
|
||||
'password': passwordHtml,
|
||||
'documents': documentsHtml,
|
||||
'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',
|
||||
'paymentButton': '{!! Form::flatButton('pay_now', '#36c157') !!}$password',
|
||||
'autoBill': '{{ trans('texts.auto_bill_notification_placeholder') }}',
|
||||
|
Loading…
Reference in New Issue
Block a user