mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
View Quote - Approve not required - Show link to Invoice
Signed-off-by: Kristián Feldsam <feldsam@gmail.com>
This commit is contained in:
parent
90d132ad20
commit
7f304028e6
@ -167,6 +167,9 @@
|
||||
@elseif ($invoiceLink = $invoice->getInvoiceLinkForQuote($contact->id))
|
||||
{!! Button::success(trans('texts.view_invoice'))->asLinkTo($invoiceLink)->large() !!}
|
||||
@endif
|
||||
@elseif ($invoice->isQuote() && $invoiceLink = $invoice->getInvoiceLinkForQuote($contact->id))
|
||||
{!! Button::normal(trans('texts.download'))->withAttributes(['onclick' => 'onDownloadClick()'])->large() !!}
|
||||
{!! Button::success(trans('texts.view_invoice'))->asLinkTo($invoiceLink)->large() !!}
|
||||
@elseif ( ! $invoice->canBePaid())
|
||||
{!! Button::normal(trans('texts.download'))->withAttributes(['onclick' => 'onDownloadClick()'])->large() !!}
|
||||
@elseif ($invoice->client->account->isGatewayConfigured() && floatval($invoice->balance) && !$invoice->is_recurring)
|
||||
|
Loading…
Reference in New Issue
Block a user