@extends('layouts.page') @section('title', 'Helpdesk Aging Report') @section('navs') @include('common.search') {{ Form::open(['method' => 'get', 'id' => 'idThisForm']) }} {!! Form::select('date_type', ['' => 'Date Range']+['Today' => 'Today', 'Last 7 Days' => 'Last Week', 'Last 30 Days' => 'Last Month', 'This Month' => 'This Month'], request()->date_type, ['class' => 'form-control1 mr-2', 'onchange'=>'updateDatesRange(this)']) !!} {{ Form::submit('Get', ['class' => 'btn btn-primary btn-sm me-1']) }} Reset {{ Form::close() }} @endsection @section('content')
@foreach ($employeeData as $employee) @endforeach
Employee Name Total Tickets Assigned Total Resolved Tickets
{{ $employee['employee_name'] }} {{ $employee['total_assigned'] }} {{ $employee['total_resolved'] }}
@foreach ($employee['sub_category_tickets'] as $ticketDetail) @endforeach @foreach ($employee['other_tickets'] as $ticketDetail) @endforeach
Sno Ticket ID Days Assigned Days Before Reassign Days to Close After Assign
Sub Category Tickets (New Requests)
{{ $i++ }} {{ $ticketDetail->ticket_id }} {{ $ticketDetail->days_assigned }} day{{ $ticketDetail->days_assigned != 1 ? 's' : '' }} @if($ticketDetail->days_before_reassign !== null) {{ $ticketDetail->days_before_reassign }} day{{ $ticketDetail->days_before_reassign != 1 ? 's' : '' }} @else N/A @endif @if($ticketDetail->days_to_close_after_assign !== null) {{ $ticketDetail->days_to_close_after_assign }} day{{ $ticketDetail->days_to_close_after_assign != 1 ? 's' : '' }} @else Open @endif
Other Tickets
{{ $i++ }} {{ $ticketDetail->ticket_id }} {{ $ticketDetail->days_assigned }} day{{ $ticketDetail->days_assigned != 1 ? 's' : '' }} @if($ticketDetail->days_before_reassign !== null) {{ $ticketDetail->days_before_reassign }} day{{ $ticketDetail->days_before_reassign != 1 ? 's' : '' }} @else N/A @endif @if($ticketDetail->days_to_close_after_assign !== null) {{ $ticketDetail->days_to_close_after_assign }} day{{ $ticketDetail->days_to_close_after_assign != 1 ? 's' : '' }} @else Open @endif
@section('scripts') @endsection @endsection