@extends("layout") @section("content")
{{ Form::open(array('route' => array('daily.activity'), 'class' => 'form-inline')) }}
{{ Form::label('start', trans('messages.from')) }}
{{ Form::text('start', isset($input['start'])?$input['start']:date('Y-m-d'), 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::submit(trans('messages.export-to-word'), array('class' => 'btn btn-success', 'id'=>'word', 'name'=>'word'))}}
{{ Form::close() }}

{{ trans('messages.daily-log') }} - {{ trans('messages.test-records') }}
@if ($error!='')
{{ $error }}
@else

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

@forelse($activity as $key => $test) @empty @endforelse
Date Lab Section No. Runs Valid Tests Invalid Tests Controls Total Valid Invalid Total
{{ $test->activity_date }} {{ $test->section_id }} {{ $test->runs }} {{ $test->valid_tests }} {{ $test->invalid_tests }} {{ $test->controls}} {{ $test->total_runs }} {{ $test->valid_kits}} {{ $test->invalid_kits}} {{ $test->total_kits}} {{ $test->user->name}}
{{trans('messages.no-records-found')}}
@endif
@stop