From 44dfa56c317463ddbc3422ad35be0a74e7724943 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 5 Jun 2016 22:56:45 +0300 Subject: [PATCH] Minor fixes --- resources/lang/en/texts.php | 2 +- .../views/accounts/customize_design.blade.php | 46 +++++++-------- .../views/accounts/invoice_design.blade.php | 56 +++++++++---------- resources/views/accounts/management.blade.php | 2 +- resources/views/invoices/edit.blade.php | 2 +- resources/views/invoices/history.blade.php | 18 +++--- resources/views/invoices/view.blade.php | 20 +++---- 7 files changed, 73 insertions(+), 73 deletions(-) diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index 571d2b518a..a6532a6eb9 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -1179,7 +1179,7 @@ $LANG = array( 'preview' => 'Preview', 'list_vendors' => 'List Vendors', 'add_users_not_supported' => 'Upgrade to the Enterprise plan to add additional users to your account.', - 'enterprise_plan_features' => 'The Enterprise plan adds support for multiple users and file attachments.', + 'enterprise_plan_features' => 'The Enterprise plan adds support for multiple users and file attachments, :link to see the full list of features.', 'return_to_app' => 'Return to app', 'update_font_cache' => 'Please force refresh the page to update the font cache.', diff --git a/resources/views/accounts/customize_design.blade.php b/resources/views/accounts/customize_design.blade.php index 9c9fff5112..f4eb56a79a 100644 --- a/resources/views/accounts/customize_design.blade.php +++ b/resources/views/accounts/customize_design.blade.php @@ -10,16 +10,16 @@ @foreach ($account->getFontFolders() as $font) @endforeach - + @stop @@ -39,8 +39,8 @@ {!! DropdownButton::success(trans('texts.pay_now'))->withContents($paymentTypes)->large() !!} @else {{ trans('texts.pay_now') }} - @endif - @else + @endif + @else {!! Button::normal(trans('texts.download_pdf'))->withAttributes(['onclick' => 'onDownloadClick()'])->large() !!} @endif @@ -67,7 +67,7 @@ @endif - + @if ($account->hasFeature(FEATURE_DOCUMENTS) && $account->invoice_embed_documents) @foreach ($invoice->documents as $document) @if($document->isPDFEmbeddable()) @@ -107,16 +107,16 @@ doc.getDataUrl(function(pdfString) { document.write(pdfString); document.close(); - + if (window.hasOwnProperty('pjsc_meta')) { window['pjsc_meta'].remainingTasks--; } }); - @else + @else refreshPDF(); @endif }); - + function onDownloadClick() { var doc = generatePDF(invoice, invoice.invoice_design.javascript, true); var fileName = invoice.is_quote ? invoiceLabels.quote : invoiceLabels.invoice;