{!! Form::open(array('route' => array('refraction.index'), 'class' => 'form-horizontal form-label-left', 'method' => 'POST')) !!}
{!! Form::select('branch[]', [], null, array('id' => 'branch', 'class' => 'form-control', 'multiple' => 'multiple')) !!}
{!! Form::text('dateFrom', $dateFrom, array('class' => 'form-control', 'id' => 'dateFrom')) !!}
{!! Form::text('dateTo', $dateTo, array('class' => 'form-control', 'id' => 'dateTo')) !!}

Refraction Report {{ $formattedDateFrom == $formattedDateTo ? $formattedDateFrom : $formattedDateFrom . ' - ' . $formattedDateTo }}

@foreach ($data as $row)
Date Branch Specialist Purchased Eyetest Total
{{$row->date}} {{$row->branch_name}} {{$row->doctor}} {{$row->total}}