@extends('layouts.app') @push('styles') @if ((!is_null($viewEventPermission) && $viewEventPermission != 'none') || (!is_null($viewHolidayPermission) && $viewHolidayPermission != 'none') || (!is_null($viewTaskPermission) && $viewTaskPermission != 'none') || (!is_null($viewTicketsPermission) && $viewTicketsPermission != 'none') || (!is_null($viewLeavePermission) && $viewLeavePermission != 'none') ) @endif @endpush @section('content')
@if (!is_null($checkTodayLeave))
@elseif (!is_null($checkTodayHoliday))
@endif @if(in_array('admin', user_roles()))
{{-- @include('dashboard.update-message-dashboard') --}} {{-- Remove for versions above 5.2.4 --}} @include('dashboard.update-gateway-credentials')
@endif
{{--

@lang('app.welcome') {{ $user->name }}

--}}

{!! now()->timezone(company()->timezone)->translatedFormat(company()->time_format) . '' . now()->timezone(company()->timezone)->translatedFormat('l') . '' !!} @if (!is_null($currentClockIn)) @lang('app.clockInAt') - {{ $currentClockIn->clock_in_time->timezone(company()->timezone)->translatedFormat(company()->time_format) }} @endif

@if (in_array('attendance', user_modules()) && $cannotLogin == false) @if (is_null($currentClockIn) && is_null($checkTodayLeave) && is_null($checkTodayHoliday) && $checkJoiningDate == true) @endif @endif @if (!is_null($currentClockIn) && is_null($currentClockIn->clock_out_time)) @endif @if (in_array('admin', user_roles())) {{--
--}} @endif
@if(count(array_intersect(['profile', 'shift_schedule', 'birthday', 'notices'], $activeWidgets)) > 0)

Total
Jobs

175

Total
Completed

175

Total
In Progress

175

@if (!is_null($myActiveTimer) && in_array('tasks', user_modules()))
{{ $myActiveTimer->start_time->timezone(company()->timezone)->translatedFormat('M d, Y' . ' - ' . company()->time_format) }}

@lang('modules.timeLogs.totalHours'): {{ \Carbon\CarbonInterval::formatHuman(now()->diffInMinutes($myActiveTimer->start_time) - $myActiveTimer->breaks->sum('total_minutes')) }}

  • @lang('modules.timeLogs.startTime') {{ $myActiveTimer->start_time->timezone(company()->timezone)->translatedFormat(company()->time_format) }}
  • @lang('app.task') {{ $myActiveTimer->task->heading }}
  • @foreach ($myActiveTimer->breaks as $item)
  • @if (!is_null($item->end_time)) @lang('modules.timeLogs.break') ({{ \Carbon\CarbonInterval::formatHuman($item->end_time->diffInMinutes($item->start_time)) }}) {{ $item->start_time->timezone(company()->timezone)->translatedFormat(company()->time_format) . ' - ' . $item->end_time->timezone(company()->timezone)->translatedFormat(company()->time_format) }} @else @lang('modules.timeLogs.break') {{ $item->start_time->timezone(company()->timezone)->translatedFormat(company()->time_format) }} @endif
  • @endforeach
@if ($editTimelogPermission == 'all' || ($editTimelogPermission == 'added' && $myActiveTimer->added_by == user()->id) || ($editTimelogPermission == 'owned' && (($myActiveTimer->project && $myActiveTimer->project->client_id == user()->id) || $myActiveTimer->user_id == user()->id)) || ($editTimelogPermission == 'both' && (($myActiveTimer->project && $myActiveTimer->project->client_id == user()->id) || $myActiveTimer->user_id == user()->id || $myActiveTimer->added_by == user()->id))) @if (is_null($myActiveTimer->activeBreak)) @lang('modules.timeLogs.pauseTimer') @lang('modules.timeLogs.stopTimer') @else @lang('modules.timeLogs.resumeTimer') @endif @endif
@endif
@endif

Revenue
Today

450.000 KD

Services
Total

9

{{-- @lang('Service')# @lang('Total Jobs') --}} Full Protection 4 Case Protection 2 Removing Protection 1 Buffing 2
{{-- --}}
@include('dashboard.admin.widgets.latest_jobs')
@include('dashboard.admin.widgets.jobsto_deliver')
@include('dashboard.admin.widgets.jobs_receiving')
@include('dashboard.admin.widgets.jobs_inprogress')
@include('dashboard.admin.widgets.jobsby_employee')
{{--
@include('dashboard.admin.widgets.jobsby_brand')
@include('dashboard.admin.widgets.jobsby_client')
--}}
@endsection @push('scripts') @if ((!is_null($viewEventPermission) && $viewEventPermission != 'none') || (!is_null($viewHolidayPermission) && $viewHolidayPermission != 'none') || (!is_null($viewTaskPermission) && $viewTaskPermission != 'none') || (!is_null($viewTicketsPermission) && $viewTicketsPermission != 'none') || (!is_null($viewLeavePermission) && $viewLeavePermission != 'none') ) @endif @if (attendance_setting()->radius_check == 'yes' || attendance_setting()->save_current_location) @endif @endpush