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')
|
@section('content')
|
||||||
|
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
{!! Button::normal(trans('texts.download_pdf'))
|
{!! Button::normal(trans('texts.download'))
|
||||||
->withAttributes(['onclick' => 'onDownloadClick()'])
|
->withAttributes(['onclick' => 'onDownloadClick()'])
|
||||||
->appendIcon(Icon::create('download-alt')) !!}
|
->appendIcon(Icon::create('download-alt')) !!}
|
||||||
{!! Button::primary(trans('texts.view_client'))
|
{!! Button::primary(trans('texts.view_client'))
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
@section('top-right')
|
@section('top-right')
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
{!! Button::normal(trans('texts.download_pdf'))
|
{!! Button::normal(trans('texts.download'))
|
||||||
->withAttributes(['onclick' => 'onDownloadClick()', 'id' => 'downloadPdfButton'])
|
->withAttributes(['onclick' => 'onDownloadClick()', 'id' => 'downloadPdfButton'])
|
||||||
->appendIcon(Icon::create('download-alt')) !!}
|
->appendIcon(Icon::create('download-alt')) !!}
|
||||||
|
|
||||||
|
@ -157,21 +157,21 @@
|
|||||||
@else
|
@else
|
||||||
<div id="paymentButtons" class="pull-right" style="text-align:right">
|
<div id="paymentButtons" class="pull-right" style="text-align:right">
|
||||||
@if ($invoice->isQuote())
|
@if ($invoice->isQuote())
|
||||||
{!! Button::normal(trans('texts.download_pdf'))->withAttributes(['onclick' => 'onDownloadClick()'])->large() !!}
|
{!! Button::normal(trans('texts.download'))->withAttributes(['onclick' => 'onDownloadClick()'])->large() !!}
|
||||||
@if ($showApprove)
|
@if ($showApprove)
|
||||||
{!! Button::success(trans('texts.approve'))->withAttributes(['id' => 'approveButton', 'onclick' => 'onApproveClick()'])->large() !!}
|
{!! Button::success(trans('texts.approve'))->withAttributes(['id' => 'approveButton', 'onclick' => 'onApproveClick()'])->large() !!}
|
||||||
@endif
|
@endif
|
||||||
@elseif ( ! $invoice->canBePaid())
|
@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)
|
@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)
|
@if (count($paymentTypes) > 1)
|
||||||
{!! DropdownButton::success(trans('texts.pay_now'))->withContents($paymentTypes)->large() !!}
|
{!! DropdownButton::success(trans('texts.pay_now'))->withContents($paymentTypes)->large() !!}
|
||||||
@elseif (count($paymentTypes) == 1)
|
@elseif (count($paymentTypes) == 1)
|
||||||
<a href='{!! $paymentURL !!}' class="btn btn-success btn-lg">{{ trans('texts.pay_now') }} {!! $invoice->present()->gatewayFee($gatewayTypeId) !!}</a>
|
<a href='{!! $paymentURL !!}' class="btn btn-success btn-lg">{{ trans('texts.pay_now') }} {!! $invoice->present()->gatewayFee($gatewayTypeId) !!}</a>
|
||||||
@endif
|
@endif
|
||||||
@else
|
@else
|
||||||
{!! Button::normal(trans('texts.download_pdf'))->withAttributes(['onclick' => 'onDownloadClick()'])->large() !!}
|
{!! Button::normal(trans('texts.download'))->withAttributes(['onclick' => 'onDownloadClick()'])->large() !!}
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if ($account->isNinjaAccount())
|
@if ($account->isNinjaAccount())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user