{!! 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 }}
| Branch | Total Gross | Total Net | Status | Total Refund | Total Return Exch. | Total Discount | Transactions | Details | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $summary->branch_code . ' - ' .$summary->branch }} | {{--Gross Sales--}}@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 | {{--Net Sales--}} @if($summary->pos_net > 0) @if($summary->pos_net == $summary->web_net){{ number_format($summary->net_amount - $summary->refund_amount,2) }} | @else{{ number_format($summary->net_amount - $summary->refund_amount,2) }} | @endif @else{{ number_format($summary->net_amount - $summary->refund_amount,2) }} | @endif {{--Status--}} @if($summary->pos_net > 0) @if($summary->pos_net == $summary->web_net)Tallied | @elseNot Tallied | @endif @elseNo Daily Totals | @endif{{ number_format($summary->refund_amount,2) }} | {{ number_format($summary->return_exchange_amount,2) }} | {{ number_format($summary->discount_amount,2) }} | {{ $summary->transaction_count }} | Transactions Items |