@extends("layout") @section("content")
{{ Form::open(array('route' => array('reports.aggregate.counts'), 'class' => 'form-inline', 'role' => 'form')) }}
{{ Form::label('start', trans("messages.from")) }}
{{ Form::text('start', isset($input['start'])?$input['start']:date('Y-m-01'), array('class' => 'form-control standard-datepicker')) }}
{{ Form::label('end', trans("messages.to")) }}
{{ Form::text('end', isset($input['end'])?$input['end']:date('Y-m-d'), array('class' => 'form-control standard-datepicker')) }}
{{ Form::button(" ".trans('messages.view'), array('class' => 'btn btn-info', 'id' => 'filter', 'type' => 'submit')) }}
{{ Form::close() }}

{{ trans('messages.counts') }}
@if (Session::has('message'))
{{ trans(Session::get('message')) }}
@endif

{{ trans('messages.ungrouped-specimen-counts') }} - @if($from!=$to) {{trans('messages.from').' '.$from.' '.trans('messages.to').' '.$to}} @else {{trans('messages.for').' '.date('d-m-Y')}} @endif

@forelse($ungroupedSpecimen as $key => $value) @empty @endforelse
{{Lang::choice('messages.specimen-type',2)}} {{trans('messages.specimen-accepted')}} {{trans('messages.specimen-rejected')}} {{trans('messages.total-specimen')}}
{{ SpecimenType::find($key)->name }} {{ $value['accepted'] }} {{ $value['rejected'] }} {{ $value['total'] }}
{{trans('messages.no-records-found')}}
@stop