{!! Form::open(array('route' => array('returnexchange.store'), 'class' => 'form-horizontal form-label-left', 'method' => 'POST')) !!} {{-- {{Form::open(array('route'=>'returnexchange.store','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')) !!}

Return Exchange Items Report {{ $formattedDateFrom == $formattedDateTo ? $formattedDateFrom : $formattedDateFrom . ' - ' . $formattedDateTo }}

@foreach($returnExchange as $return) @endforeach
Date Time Branch Terminal # Transaction # Reference # User Ctr Barcode ItemCode Quantity Price Amount
{{ $return->local_time }} {{ $return->branch }} {{ substr($return->terminal_code, 8 , 2) }} {{ $return->transaction_no }} {{ $return->ref_no }} {{ $return->user }} {{ $return->ctr }} {{ $return->barcode }} {{ $return->itemcode }} {{ $return->qty }} {{ number_format($return->price, 2) }} {{ number_format($return->amount, 2) }}
{!! Paginate::show($returnExchange) !!} {{ $returnExchange->appends(request()->except('page'))->links() }}
{!! Form::close() !!}