@if(session('impersonate'))
@endif
{!! Form::open(['id'=>'createProject','class'=>'ajax-form','method'=>'POST']) !!}
{!! Form::close() !!}
@if($global->dashboard_clock)
@endif
- @lang('app.menu.home')
- {{ __($pageTitle) }}
@if(session('impersonate'))
{{__('messages.impersonate')}} {{$company->company_name}}
@endif
@if($global->status == 'license_expired')
{{ $superadmin->expired_message }}
@endif
@if($company->package->default == 'yes' || $company->package->default == 'trial')
@if($packageSetting && !$packageSetting->all_packages)
@lang('messages.purchasePackageMessage')
@endif
@endif
@if($company->show_update_popup == 1)
@lang('messages.stripeUpdatePopup')
@endif
@if(in_array('clients',$modules) && in_array('total_clients',$activeWidgets))
@endif
@if(in_array('employees',$modules) && in_array('total_employees',$activeWidgets))
@endif
@if(in_array('projects',$modules) && in_array('total_projects',$activeWidgets))
@endif
@if(in_array('invoices',$modules) && in_array('total_unpaid_invoices',$activeWidgets))
@endif
@if(in_array('tasks',$modules) && in_array('total_pending_tasks',$activeWidgets))
@endif
@if(in_array('timelogs',$modules) && in_array('total_hours_logged',$activeWidgets))
@endif
@if(in_array('tasks',$modules) && in_array('completed_tasks',$activeWidgets))
@endif
@if(in_array('attendance',$modules) && in_array('total_today_attendance',$activeWidgets))
@endif
@if(in_array('tickets',$modules) && in_array('total_resolved_tickets',$activeWidgets))
@endif
@if(in_array('tickets',$modules) && in_array('total_unresolved_tickets',$activeWidgets))
@endif
@if(in_array('payments',$modules) && in_array('recent_earnings',$activeWidgets))
@lang('modules.dashboard.recentEarnings')
@lang('app.note'): @lang('messages.earningChartNote')
@endif
@if(in_array('leaves',$modules) && in_array('settings_leaves',$activeWidgets))
@endif
@if(in_array('tickets',$modules) && in_array('new_tickets',$activeWidgets))
@lang('modules.dashboard.newTickets')
@forelse($newTickets as $key=>$newTicket)
-
{{ ($key+1) }}. {{ ucfirst($newTicket->subject) }} {{ ucwords($newTicket->created_at->diffForHumans()) }}
@empty
-
@lang("messages.noTicketFound")
@endforelse
@endif
@if(in_array('tasks',$modules) && in_array('overdue_tasks',$activeWidgets))
@lang('modules.dashboard.overdueTasks')
-
@lang('app.title') @lang('modules.dashboard.dueDate')
@forelse($pendingTasks as $key=>$task)
@if((!is_null($task->project_id) && !is_null($task->project) ) || is_null($task->project_id))
-
@endif
@empty
-
@lang("messages.noOpenTasks")
@endforelse
@endif
@if(in_array('leads',$modules) && in_array('pending_follow_up',$activeWidgets))
@lang('modules.dashboard.pendingFollowUp')
-
@lang('app.title') @lang('modules.dashboard.followUpDate')
@forelse($pendingLeadFollowUps as $key=>$follows)
-
@empty
-
@lang("messages.noPendingLeadFollowUps")
@endforelse
@endif
@if(in_array('projects',$modules) && in_array('project_activity_timeline',$activeWidgets))
@lang('modules.dashboard.projectActivityTimeline')
@foreach($projectActivities as $activ)
{{ $activ->created_at->diffForHumans() }}
@endforeach
@endif
@if(in_array('employees',$modules) && in_array('user_activity_timeline',$activeWidgets))
@lang('modules.dashboard.userActivityTimeline')
@forelse($userActivities as $key=>$activity)
'
@if(count($userActivities) > ($key+1))
@endif
@empty
@lang("messages.noActivityByThisUser")
@endforelse
@endif
{{--Ajax Modal Ends--}}
@endsection
@push('footer-script')
@endpush