@extends('layouts.admin') @push('styles') @endpush @push('script') @endpush @section('content')

Rapoarte Ghișee {{ $location_id ? 'Locație: ' . $locations->find($location_id)->mnemonic : '' }}

Număr total de bonuri {{ $from_date ? ' (' . $from_date . ' - ' . $to_date . ')' : '' }} : {{ $aggregatedData['total_tickets'] }}
@if(isset($aggregatedData['total_tickets']) && count($aggregatedData['total_by_status']) > 0) @foreach($ticketStatuses as $status => $status_text) @php $count = $aggregatedData['total_by_status'][$status] ?? 0; @endphp

!$count, 'font-weight-bold' => $count])> {{ $status_text }} {{ $count }}

@endforeach @else
  • Nu există date disponibile
  • @endif
    @if(isset($counters) && $counters->count() > 0) @foreach($countersData as $counter) @php $counter = (object) $counter; // dd($counter); @endphp @if ($counter->operations && count($counter->operations) > 0) @else @endif @endforeach
    Ghișeu Detalii
    {{ $counter->counter_name }}
      @foreach($counter->operations as $operation)
    • Statusuri tichete: ({{ $operation['total_tickets'] }}) - {{ $operation['name']['ro'] ?? 'N/A' }}
      @if(isset($operation['tickets']) && count($operation['tickets']) > 0) @foreach($ticketStatuses as $status => $status_text) @php $count = $operation['tickets'][$status] ?? 0; @endphp
      !$count, 'font-weight-bold' => $count])> {{ $status_text }} {{ $count }}
      @endforeach @else
    • Nu există date disponibile
    • @endif @endforeach
    Nu există date disponibile pentru acest ghișeu.
    @else
    Nu există ghișee disponibile pentru filtrele selectate.
    @endif
    @endsection