{!! Form::open(array('route' => array('patient.store'), 'class' => 'form-horizontal form-label-left', 'method' => 'POST', 'target'=>'_self')) !!}
{!! Form::select('company[]', $companies, null, array('id' => 'company', 'class' => 'form-control' ,'multiple' => 'multiple' ,'data-placeholder' => 'SELECT DIVISION')) !!}
{!! Form::text('date_from',$date_from,array('class' => 'form-control', 'id' => 'date_from')) !!}
{!! Form::text('date_to',$date_to,array('class' => 'form-control', 'id' => 'date_to')) !!}
{!! Form::text('keyword',null,array('class' => 'form-control', 'id' => 'keyword', 'placeholder' => 'Search Customer Name')) !!}
{{--
{!! Form::text('exactCustomerName',null,array('class' => 'form-control', 'id' => 'keyword', 'placeholder' => 'Search Customer Name')) !!}
--}}
{{--
--}}

Patient Histories {{ $formattedDateFrom == $formattedDateTo ? $formattedDateFrom : $formattedDateFrom . ' - ' . $formattedDateTo }}

@foreach($patients as $data) @endforeach
Company Name Branch Name Transaction # Date Customer Doctor Type Eye Pd S C Ax Add Va For Rx Remarks Action
{{ $data->company }} {{ $data->branch }} {{ $data->transaction_no }} {{ $data->local_time }} {{ $data->customer }} {{ $data->doctor }} {{ $data->type }} {{ $data->eye }} {{ $data->pd }} {{ $data->s }} {{ $data->ax }} {{ $data->add }} {{ $data->va }} {{ $data->for }} {{ $data->C }} {{ $data->rx_remarks }} Details
{{ $patients->appends(request()->except('page'))->links() }}
{!! Form::close() !!}