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

Bonuri {{ $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($onlineReservations) && count($onlineReservations) > 0) @foreach ($onlineReservations as $reservation) @endforeach @else @endif
    Ticket ID Număr Ghișeu Data Oră programare Oră eliberare bon Oră preluare bon Oră operare/închidere bon Operațiune Nr. operațiuni/bon Status
    {{ $reservation->id }} {{ $reservation->ticket_no }} {{ $reservation->counter->counter_name }} {{ $reservation->ticket_date }} {{ $reservation->booking_time }} {{ $reservation->created_at }} {{ $reservation->start_time }} {{ $reservation->processed_at }} {{ $reservation->operation?->lang['ro'] }} {{ $reservation->attr['operation_count'] }} {{ App\Enums\TicketStatus::getLabel($reservation->status) }}
    Nu există ghișee disponibile pentru filtrele selectate.
    {{ $onlineReservations->withQueryString()->links() }}
    @endsection