From 36696f28aff6dd7fd20da74ddd5f43c134b0205a Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Thu, 15 Mar 2018 11:11:34 +0200 Subject: [PATCH] Change 'Download PDF' to 'Download' --- resources/views/clients/statement.blade.php | 2 +- resources/views/invoices/delivery_note.blade.php | 2 +- resources/views/invoices/view.blade.php | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/resources/views/clients/statement.blade.php b/resources/views/clients/statement.blade.php index 83bd861b693d..6c1b95455381 100644 --- a/resources/views/clients/statement.blade.php +++ b/resources/views/clients/statement.blade.php @@ -126,7 +126,7 @@ @section('content')
- {!! Button::normal(trans('texts.download_pdf')) + {!! Button::normal(trans('texts.download')) ->withAttributes(['onclick' => 'onDownloadClick()']) ->appendIcon(Icon::create('download-alt')) !!} {!! Button::primary(trans('texts.view_client')) diff --git a/resources/views/invoices/delivery_note.blade.php b/resources/views/invoices/delivery_note.blade.php index 901e72fc926c..9004656b9df0 100644 --- a/resources/views/invoices/delivery_note.blade.php +++ b/resources/views/invoices/delivery_note.blade.php @@ -43,7 +43,7 @@ @section('top-right')
- {!! Button::normal(trans('texts.download_pdf')) + {!! Button::normal(trans('texts.download')) ->withAttributes(['onclick' => 'onDownloadClick()', 'id' => 'downloadPdfButton']) ->appendIcon(Icon::create('download-alt')) !!} diff --git a/resources/views/invoices/view.blade.php b/resources/views/invoices/view.blade.php index d8cfc2ededfe..3b3f0c2ea71c 100644 --- a/resources/views/invoices/view.blade.php +++ b/resources/views/invoices/view.blade.php @@ -157,21 +157,21 @@ @else
@if ($invoice->isQuote()) - {!! Button::normal(trans('texts.download_pdf'))->withAttributes(['onclick' => 'onDownloadClick()'])->large() !!}   + {!! Button::normal(trans('texts.download'))->withAttributes(['onclick' => 'onDownloadClick()'])->large() !!}   @if ($showApprove) {!! Button::success(trans('texts.approve'))->withAttributes(['id' => 'approveButton', 'onclick' => 'onApproveClick()'])->large() !!} @endif @elseif ( ! $invoice->canBePaid()) - {!! Button::normal(trans('texts.download_pdf'))->withAttributes(['onclick' => 'onDownloadClick()'])->large() !!} + {!! Button::normal(trans('texts.download'))->withAttributes(['onclick' => 'onDownloadClick()'])->large() !!} @elseif ($invoice->client->account->isGatewayConfigured() && floatval($invoice->balance) && !$invoice->is_recurring) - {!! Button::normal(trans('texts.download_pdf'))->withAttributes(['onclick' => 'onDownloadClick()'])->large() !!}   + {!! Button::normal(trans('texts.download'))->withAttributes(['onclick' => 'onDownloadClick()'])->large() !!}   @if (count($paymentTypes) > 1) {!! DropdownButton::success(trans('texts.pay_now'))->withContents($paymentTypes)->large() !!} @elseif (count($paymentTypes) == 1) {{ trans('texts.pay_now') }} {!! $invoice->present()->gatewayFee($gatewayTypeId) !!} @endif @else - {!! Button::normal(trans('texts.download_pdf'))->withAttributes(['onclick' => 'onDownloadClick()'])->large() !!} + {!! Button::normal(trans('texts.download'))->withAttributes(['onclick' => 'onDownloadClick()'])->large() !!} @endif @if ($account->isNinjaAccount())