@extends('layout.app') @section('title','Reports') @section('report','active') @section('queue_list_report','active') @section('css') @endsection @section('content')
@if ($errors->has('starting_date')) {{ $errors->first('starting_date') }} @endif
@if ($errors->has('ending_date')) {{ $errors->first('ending_date') }} @endif
@if($reports)
@foreach($reports as $key=>$report) @endforeach
# {{__('messages.reports.service')}} {{__('messages.reports.date')}} {{__('messages.reports.token number')}} {{__('messages.reports.called')}} {{__('messages.reports.user')}} {{__('messages.reports.counter')}}
{{ $key+1 }} {{$report->service_name}} {{\Carbon\Carbon::parse($report->date)->timezone($timezone)->toDateString()}} {{$report->token_letter}}-{{$report->token_number}} {{$report->called ==1 ? 'Yes' : 'No'}} {{$report->user_name ? $report->user_name : 'Nil' }} {{$report->counter_name ? $report->counter_name : 'Nil' }}
@endif
@endsection @section('js') @endsection