diff --git a/resources/views/header.blade.php b/resources/views/header.blade.php
index c44e9a1e70b4..17ea78128dd9 100644
--- a/resources/views/header.blade.php
+++ b/resources/views/header.blade.php
@@ -337,7 +337,6 @@
'products' => false,
'invoices' => false,
'payments' => false,
- 'recurring_invoices' => 'recurring',
'credits' => false,
'quotes' => false,
'tasks' => false,
@@ -364,7 +363,6 @@
'products',
'invoices',
'payments',
- 'recurring_invoices',
'credits',
'quotes',
'tasks',
diff --git a/resources/views/list.blade.php b/resources/views/list.blade.php
index 051e43699bc2..44da387b5b54 100644
--- a/resources/views/list.blade.php
+++ b/resources/views/list.blade.php
@@ -49,7 +49,21 @@
- @if ($entityType == ENTITY_EXPENSE)
+ @if ($entityType == ENTITY_INVOICE && auth()->user()->account->isModuleEnabled(ENTITY_RECURRING_INVOICE))
+ {!! DropdownButton::normal(trans('texts.recurring'))
+ ->withAttributes(['class'=>'recurringDropdown'])
+ ->withContents([
+ ['label' => trans('texts.new_recurring_invoice'), 'url' => url('/recurring_invoices/create')],
+ ]
+ )->split() !!}
+
+ @elseif ($entityType == ENTITY_EXPENSE)
{!! DropdownButton::normal(trans('texts.recurring'))
->withAttributes(['class'=>'recurringDropdown'])
->withContents([
@@ -72,7 +86,6 @@
});
});
-
@elseif ($entityType == ENTITY_TASK)
{!! DropdownButton::normal(trans('texts.projects'))
->withAttributes(['class'=>'projectsDropdown'])