@extends('decorator.blank') @section('page-title') {{ trans('transaction.list.title') }} @stop @section('page-wrapper')

{{ trans('transaction.account.statement.heading') }}

{{ trans('transaction.label.account') }} : {{ $account->name }}

{{ trans('common.label.start_date') }} : {{ app('request')->input('start_date') }}

{{ trans('common.label.end_date') }} : {{ app('request')->input('end_date') }}

@include('common.console.message')

{{ trans('transaction.label.brought_forward') }} : @if(!empty($broughtForwardBalance)) {{ $broughtForwardBalance->balance }} @else {{ 0 }} @endif

@foreach($listOfTransaction as $key => $transaction) @endforeach
{{ trans('transaction.label.transaction_date') }} {{ trans('transaction.label.transaction_type') }} {{ trans('transaction.label.transaction_category') }} {{ trans('transaction.label.transaction_payee') }} {{ trans('transaction.label.quantity') }} {{ trans('transaction.label.price_per_unit') }} {{ trans('transaction.label.sub_total') }} {{ trans('transaction.label.accumulative_balance') }}
{{ $transaction->transaction_date }} @if($transaction->transaction_type == 'CREDIT') {{ $transaction->transaction_type }} @else {{ $transaction->transaction_type }} @endif {{ $transaction->transaction_category->name }} {{ $transaction->transaction_payee->name }} {{ $transaction->quantity }} {{ $transaction->price_per_unit }} {{ $transaction->sub_total }} {{ $runningBalance }}

{{ trans('transaction.label.cr_amount') }} : {{ $crAmount }}

{{ trans('transaction.label.dr_amount') }} : {{ $drAmount }}

{{ trans('transaction.label.running_balance') }} : {{ $runningBalance }}

@include('common.blank.script') @include('common.blank.style') @stop