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

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

@foreach($dailyTotals as $dailyTotal) @endforeach
Branch Cash Amount Card Amount Gift Amount Check Amount Atm Amount Other Payment Amount Deferred Amount
{{ $dailyTotal->branch_code . ' - ' .$dailyTotal->branch_name }} {{ number_format($dailyTotal->cash_amount, 2) }} {{ number_format($dailyTotal->card_amount, 2) }} {{ number_format($dailyTotal->gift_amount, 2) }} {{ number_format($dailyTotal->check_amount, 2) }} {{ number_format($dailyTotal->atm_amount, 2) }} {{ number_format($dailyTotal->other_amount, 2) }} {{ number_format($dailyTotal->def_amount, 2) }}
{!! Form::close() !!}