@if($unreadNotificationCount > 0)
@endif
...
{{--
--}} {{----}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{----}} {{--
--}}
@if(is_null($user->image))
{{ (strlen($user->name) > 24) ? substr(ucwords($user->name), 0, 20).'..' : ucwords($user->name) }}
@else
{{ ucwords($user->name) }}
@endif
@lang("app.menu.profileSettings")
@if($user->hasRole('admin'))
@lang("app.loginAsAdmin")
@endif
@lang('app.logout')
{{ csrf_field() }}
@lang("app.menu.dashboard")
@if(in_array('clients',$modules)) @if($user->cans('view_clients'))
@lang('app.menu.clients')
@endif @endif @if(in_array('employees',$modules)) @if($user->cans('view_employees'))
@lang('app.menu.employees')
@endif @endif @if(in_array('projects',$modules))
@lang("app.menu.projects")
@if($unreadProjectCount > 0)
@endif
@endif @if(in_array('contracts',$modules) && $user->cans('view_contract'))
@lang("app.menu.contract")
@endif @if(in_array('products',$modules) && $user->cans('view_product'))
@lang('app.menu.products')
@endif @if(in_array('tasks',$modules))
@lang('app.menu.tasks')
@lang('app.menu.tasks')
@lang('app.menu.taskLabel')
@lang('modules.tasks.taskBoard')
@lang('app.menu.taskCalendar')
@endif @if(in_array('leads',$modules))
@lang('app.menu.lead')
@endif @if(in_array('timelogs',$modules))
@lang('app.menu.timeLogs')
@endif @if(in_array('attendance',$modules)) @if($user->cans('view_attendance'))
@lang("app.menu.attendance")
@else
@lang("app.menu.attendance")
@endif @endif @if(in_array('holidays',$modules))
@lang("app.menu.holiday")
@endif @if(in_array('tickets',$modules))
@lang("app.menu.tickets")
@endif @if((in_array('estimates',$modules) && $user->cans('view_estimates')) || (in_array('invoices',$modules) && $user->cans('view_invoices')) || (in_array('payments',$modules) && $user->cans('view_payments')) || (in_array('expenses',$modules)))
@lang('app.menu.finance') @if($unreadExpenseCount > 0)
@endif
@if(in_array('estimates',$modules)) @if($user->cans('view_estimates'))
@lang('app.menu.estimates')
@endif @endif @if(in_array('invoices',$modules)) @if($user->cans('view_invoices'))
@lang('app.menu.invoices')
@lang('app.invoiceRecurring')
@endif @endif @if(in_array('payments',$modules)) @if($user->cans('view_payments'))
@lang('app.menu.payments')
@endif @endif @if(in_array('expenses',$modules))
@lang('app.menu.expenses') @if($unreadExpenseCount > 0)
@endif
@lang('app.menu.expensesRecurring')
@endif @if(in_array('invoices',$modules)) @if($user->cans('view_invoices'))
@lang('app.menu.credit-note')
@endif @endif
@endif @if(in_array('messages',$modules))
@lang("app.menu.messages") @if($unreadMessageCount > 0)
{{ $unreadMessageCount }}
@endif
@endif @if(in_array('events',$modules))
@lang('app.menu.Events')
@endif @if(in_array('leaves',$modules))
@lang('app.menu.leaves')
@endif @if(in_array('notices',$modules))
@lang("app.menu.noticeBoard")
@endif @if(!is_null($faqs))
@lang('app.menu.employeeFaq')
@endif {{--
RTL
--}} @foreach ($worksuitePlugins as $item) @if(in_array(strtolower($item), $modules) || in_array($item, $modules)) @if(View::exists(strtolower($item).'::sections.member_left_sidebar')) @include(strtolower($item).'::sections.member_left_sidebar') @endif @endif @endforeach