@include('includes.data_table_header')
{!! Form::open(['route' => $base_route.'.bulk-action', 'id' => 'bulk_action_form']) !!} @if (isset($data['transaction']) && $data['transaction']->count() > 0) @php($i=1) @foreach($data['transaction'] as $transaction) @php($i++) @endforeach @else @endif {{----}}
S.N. Bank Date Description Deposit/Withdraw ID Debit (+) Credit (-) Amount
{{ $i }} {{ ViewHelper::getBankNameById($transaction->banks_id) }} {{ \Carbon\Carbon::parse($transaction->date)->format('Y-m-d') }} {{ $transaction->description }} {{ $transaction->deposit_id }} {{ $dR = $transaction->dr_amt }} {{ $cR = $transaction->cr_amt }} {{ $dR - $cR }}
No {{ $panel }} data found. Please Filter {{ $panel }} to show.
Total {{ $drTotal = $data['transaction']->sum('dr_amt') }} {{ $crTotal = $data['transaction']->sum('cr_amt') }} {{ $drTotal - $crTotal }}{{ $data['transaction']->sum('amount') }}
{!! Form::close() !!}