1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 08:21:34 +02:00

Remove download PDF from recurring invoices

This commit is contained in:
Hillel Coren 2016-05-22 18:11:24 +03:00
parent 0769ae9916
commit 142082b447

View File

@ -527,7 +527,9 @@
{!! Former::select('invoice_design_id')->style('display:inline;width:150px;background-color:white !important')->raw()->fromQuery($invoiceDesigns, 'name', 'id')->data_bind("value: invoice_design_id") !!}
@endif
@if ( ! $invoice->is_recurring)
{!! Button::primary(trans('texts.download_pdf'))->withAttributes(array('onclick' => 'onDownloadClick()'))->appendIcon(Icon::create('download-alt')) !!}
@endif
@if ($invoice->isClientTrashed())
<!-- do nothing -->