mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Change 'Download PDF' to 'Download'
This commit is contained in:
parent
7785f28a26
commit
36696f28af
@ -126,7 +126,7 @@
|
||||
@section('content')
|
||||
|
||||
<div class="pull-right">
|
||||
{!! 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'))
|
||||
|
@ -43,7 +43,7 @@
|
||||
|
||||
@section('top-right')
|
||||
<div class="pull-right">
|
||||
{!! Button::normal(trans('texts.download_pdf'))
|
||||
{!! Button::normal(trans('texts.download'))
|
||||
->withAttributes(['onclick' => 'onDownloadClick()', 'id' => 'downloadPdfButton'])
|
||||
->appendIcon(Icon::create('download-alt')) !!}
|
||||
|
||||
|
@ -157,21 +157,21 @@
|
||||
@else
|
||||
<div id="paymentButtons" class="pull-right" style="text-align:right">
|
||||
@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)
|
||||
<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() !!}
|
||||
{!! Button::normal(trans('texts.download'))->withAttributes(['onclick' => 'onDownloadClick()'])->large() !!}
|
||||
@endif
|
||||
|
||||
@if ($account->isNinjaAccount())
|
||||
|
Loading…
x
Reference in New Issue
Block a user