{!! Form::open(array('route'=>'coupons.store','method'=>'POST')) !!}
{!! 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::close() !!}

Branch Ranking Based on Redeemed Coupons

@foreach($items2 as $item2) @endforeach
Branch Name Total Qty
{{ $item2->branch }} {{ $item2->total_qty }}

Coupon Report

Total Qty: {!! $total_qty !!}

@foreach($items as $item) @endforeach
Date Branch Name Series Amount
{{ $item->local_time }} {{ $item->branch_name }} {{ $item->gift_name }} {{ $item->amount }}