{!! trans('cms.dashboard') !!} {!! trans('cms.version') !!}

@if (!user('admin.web')->canDo('admin.dashboard.hide_count') || user('admin.web')->isSuperUser())
Assets {!! Assets::count() !!}
Documents {!! Document::count() !!}
Departments {!! Department::count('department') !!}
@if (user('admin.web')->current_comp == 12)
Utility Meters {!! UtilityMaster::count('') !!}
@else
Employees {!! Company::count('employee') !!}
@endif
{{--

Assets Purchased

Total Assets Purchased
265

Work Order

Today
265

Asset Inspections

Today
265
--}} @endif
@if (user('admin.web')->canDo('service_request.service_request.view'))
@else @endif @if (user('admin.web')->canDo('work_order.work_order.view'))
@else @endif
@if (user('admin.web')->hasPermission('it_asset_dashboard.view') && user('admin.web')->canDo('assets.asset.view'))

Live IT Assets

{{--
--}}
{{-- {!! Assets::ItAssets() !!} --}}
@endif
{{-- @if (user('admin.web')->canDo('vehicle_booking.vehicle_booking.view'))
{!! VehicleBooking::gadget('admin.vehicle_booking.gadget', 4) !!}
@else @endif --}} @if (user('admin.web')->canDo('admin.dashboard.purchased') || user('admin.web')->canDo('admin.dashboard.agewise') || user('admin.web')->canDo('admin.dashboard.workorder') || user('admin.web')->isSuperUser())

Select period and template to view more analytics :

{!! Form::text('date_picker')->addClass('pickadate')->id('datepicker')->addGroupClass('form-group-sm')->placeholder('Date')->raw()->value(Carbon::now()->format('d-M-Y'))->onChange('dashFunction') !!}
@endif @if (user('admin.web')->canDo('service_request.service_request.view'))
{!! ServiceRequest::gadget('admin.service_request.gadget', 8) !!}
@else @endif @if (user('admin.web')->canDo('work_order.work_order.view'))
{!! WorkOrder::gadget('admin.work_order.gadget', 8) !!}
@else @endif @if (user('admin.web')->canDo('asset_inspection.asset_inspection.view'))
{!! InspectionScheduling::gadget('admin.inspection_scheduling.gadget', 8) !!}
@else @endif {{--

Calender

{!! Calendar::gadget('admin.calendar.gadget') !!}
--}}