{!! Form::open(array('route' => array('sales.store'), 'class' => 'form-horizontal form-label-left', 'method' => 'POST')) !!}
{!! 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')) !!}
Gross: {!! number_format($totals, 2) !!}  Net: {!! number_format($totalNet, 2) !!}  Refund: {!! number_format($totalRefund, 2) !!}  Return: {!! number_format($totalReturn, 2) !!}  Discount: {!! number_format($totalDiscount, 2) !!} 

Branch Sales Summary {{ $formattedDateFrom == $formattedDateTo ? $formattedDateFrom : $formattedDateFrom . ' - ' . $formattedDateTo }}

@if(count($summaries) > 0) @foreach($summaries as $summary) {{--Gross Sales--}} {{--Net Sales--}} @if($summary->pos_net > 0) @if($summary->pos_net == $summary->web_net) @else @endif @else @endif {{--Status--}} @if($summary->pos_net > 0) @if($summary->pos_net == $summary->web_net) @else @endif @else @endif @endforeach @endif
Branch Total Gross Total Net Status Total Refund Total Return Exch. Total Discount Transactions Details
{{ $summary->branch_code . ' - ' .$summary->branch }} @if( $summary->pos_gross > 0) {{$summary->pos_gross }} @else {{number_format($summary->net_amount + $summary->return_exchange_amount + $summary->discount_amount + $summary->refund_amount,2) }} @endif {{ number_format($summary->net_amount - $summary->refund_amount,2) }} {{ number_format($summary->net_amount - $summary->refund_amount,2) }} {{ number_format($summary->net_amount - $summary->refund_amount,2) }} Tallied Not Tallied No Daily Totals {{ number_format($summary->refund_amount,2) }} {{ number_format($summary->return_exchange_amount,2) }} {{ number_format($summary->discount_amount,2) }} {{ $summary->transaction_count }}  Transactions   Items
{!! Form::close() !!}