Add recurring back to sidebar

This commit is contained in:
Hillel Coren 2017-12-06 13:01:50 +02:00
parent 759204a4c6
commit 2b7149cd5f
5 changed files with 7 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -109,7 +109,7 @@
#left-sidebar-wrapper .sidebar-nav li { #left-sidebar-wrapper .sidebar-nav li {
text-indent: 14px; text-indent: 14px;
line-height: 36px; line-height: 34px;
} }
#left-sidebar-wrapper .sidebar-nav li span.badge { #left-sidebar-wrapper .sidebar-nav li span.badge {
@ -129,7 +129,7 @@
} }
#left-sidebar-wrapper ul { #left-sidebar-wrapper ul {
min-height: 730px; min-height: 750px;
} }
@media (max-height: 744px) { @media (max-height: 744px) {

View File

@ -345,6 +345,7 @@
'products' => false, 'products' => false,
'invoices' => false, 'invoices' => false,
'payments' => false, 'payments' => false,
'recurring_invoices' => 'recurring',
'credits' => false, 'credits' => false,
'quotes' => false, 'quotes' => false,
'projects' => false, 'projects' => false,
@ -372,6 +373,7 @@
'products', 'products',
'invoices', 'invoices',
'payments', 'payments',
'recurring_invoices',
'credits', 'credits',
'quotes', 'quotes',
'projects', 'projects',

View File

@ -46,7 +46,7 @@
<input id="tableFilter_{{ $entityType }}" type="text" style="width:180px;margin-right:17px;background-color: white !important" <input id="tableFilter_{{ $entityType }}" type="text" style="width:180px;margin-right:17px;background-color: white !important"
class="form-control pull-left" placeholder="{{ trans('texts.filter') }}" value="{{ Input::get('filter') }}"/> class="form-control pull-left" placeholder="{{ trans('texts.filter') }}" value="{{ Input::get('filter') }}"/>
@if ($entityType == ENTITY_INVOICE && auth()->user()->account->isModuleEnabled(ENTITY_RECURRING_INVOICE)) @if (false && $entityType == ENTITY_INVOICE && auth()->user()->account->isModuleEnabled(ENTITY_RECURRING_INVOICE))
{!! DropdownButton::normal(trans('texts.recurring')) {!! DropdownButton::normal(trans('texts.recurring'))
->withAttributes(['class'=>'recurringDropdown']) ->withAttributes(['class'=>'recurringDropdown'])
->withContents([ ->withContents([