@extends('layouts.app') @section('title', __('repair::lang.repair') . ' '. __('business.dashboard')) @section('content') @include('repair::layouts.nav')
@lang('repair::lang.job_sheets_by_status')

@forelse($job_sheets_by_status as $job_sheet)

{{$job_sheet->status_name}}

{{$job_sheet->total_job_sheets}}

@empty

@lang('repair::lang.no_report_found')

@endforelse
@if(in_array('service_staff', $enabled_modules))
@component('components.widget', ['class' => 'box-primary', 'icon' => 'fa fa-address-book text-primary', 'title' => __( 'repair::lang.job_sheets_by_service_staff')])
@foreach($job_sheets_by_service_staff as $job_sheet) @endforeach
# @lang('restaurant.service_staff') @lang('repair::lang.total_job_sheets')
{{$loop->iteration}} {{$job_sheet->service_staff}} {{$job_sheet->total_job_sheets}}
@endcomponent
@endif
@component('components.widget', ['class' => 'box-primary', 'icon' => 'fa fa-chart-line text-primary', 'title' => __( 'repair::lang.trending_brands')]) {!!$trending_brand_chart->container()!!} @endcomponent
@component('components.widget',['class' => 'box-primary', 'icon' => 'ni ni-chart-bar-32 text-primary', 'title' => __( 'repair::lang.trending_devices')]) {!!$trending_devices_chart->container()!!} @endcomponent
@component('components.widget',['class' => 'box-primary', 'icon' => 'fa fa-chart-bar text-primary', 'title' => __( 'repair::lang.trending_device_models')]) {!!$trending_dm_chart->container()!!} @endcomponent
@stop @section('javascript') {!!$trending_devices_chart->script()!!} {!!$trending_dm_chart->script()!!} {!!$trending_brand_chart->script()!!} @endsection