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

Rapoarte Operațiuni {{ $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($operationsData) && count($operationsData) > 0) @foreach($operationsData as $operation) @endforeach
    Operațiune Total Detalii
    {{ $operation['operation_id'] }} {{ $operation['operation_total'] }}
    {{ $operation['operation_name'] ?? '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
    @else
    Nu există ghișee disponibile pentru filtrele selectate.
    @endif
    @endsection