@extends('adminlte::page') @section('title', 'Reporte de Tickets - Insertbog') @section('content_header')
@section('content') @if(auth()->check() && auth()->user()->clase === 'Inspector')
@csrf

Estadisticas de Servicios


Estadisticas de servicio Mes {{ $month }}, Año {{ $year }}


@if(auth()->user()->clase == 'Inspector')
{{$abierto}}
Abiertos
{{$enProceso}}
En Proceso
{{$revision}}
En Revisión
{{$cerrado}}
Cerrados
@endif
@if(auth()->user()->clase == 'Inspector')
@foreach($tipoTarea as $especialidad) @if($total > 0) @else 0 @endif @endforeach
Especialidad Cant. Ticket %
{{ $especialidad->tipoTarea }} {{ $especialidad->cantidad }}{{ round(($especialidad->cantidad / $total) * 100, 1) }}
@foreach($responsable as $responsable) @if($total > 0) @else 0 @endif @endforeach
Técnicos Cant. Ticket %
{{ $responsable->responsable }} {{ $responsable->cantidad }}{{ round(($responsable->cantidad / $total) * 100, 1) }}
@foreach($produccion as $tipo_tarea => $p) @endforeach
Tipo de Tarea Producción
{{ $tipo_tarea }} ${{ $p }}
@foreach($solicitadoPor as $solicitadoPor) @if($total > 0) @else 0 @endif @endforeach
Generador por Cant. Ticket %
{{ $solicitadoPor->solicitadoPor }} {{ $solicitadoPor->cantidad }}{{ round(($solicitadoPor->cantidad / $total) * 100, 1) }}
@foreach($tickets_por_ciudad as $ciudad => $cantidad) @endforeach
Ciudad Cantidad de Tickets/Ciudad
{{ $ciudad }} {{ $cantidad }}
@foreach($tickets_por_zona as $sector => $cantidad) @endforeach
Zona Cantidad de Tickets/Sector
{{ $sector }} {{ $cantidad }}
@endif
@endif @stop @section('css') @stop @section('js') @stop