1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Fix recurring invoice breadcrumb link

This commit is contained in:
Hillel Coren 2017-10-22 17:40:34 +03:00
parent 252bacdc89
commit eaeaad42a7

View File

@ -48,7 +48,7 @@
@if ($invoice->id)
<ol class="breadcrumb">
@if ($invoice->is_recurring)
<li>{!! link_to('invoices', trans('texts.recurring_invoice')) !!}</li>
<li>{!! link_to('recurring_invoices', trans('texts.recurring_invoices')) !!}</li>
@else
<li>{!! link_to(($entityType == ENTITY_QUOTE ? 'quotes' : 'invoices'), trans('texts.' . ($entityType == ENTITY_QUOTE ? 'quotes' : 'invoices'))) !!}</li>
<li class="active">{{ $invoice->invoice_number }}</li>