{{env('APP_NAME')}}

Transactions by Account

As of {{date('M d,Y',strtotime($to))}}
@if($balance < 0) @else @endif @foreach($transactions as $t) @if($t->account->type->name == 'Other Current Liability' || $t->account->type->name == 'Long Term Liability' || $t->account->type->name == 'Current Liability' || $t->account->type->name == 'Equity') @if($t->amount > 0) @else @endif @else @endif @if($balance < 0) @else @endif @endforeach
Type Date Num Adj Name Memo Class Account Debit Credit Balance
{{$account->number}} - {{$account->name}} {{number_format($balance)}}{{number_format($balance)}}
General Journal {{date('d/m/Y',strtotime($t->date))}} {{$t->entry_no}} @if($t->adjusting_entry) @endif {{$t->controlAccount ? $t->controlAccount->name : ''}} {{$t->memo}} {{$t->amount > 0 ? number_format(abs($t->amount)) : ''}} {{$t->amount < 0 ? number_format(abs($t->amount)) : ''}} {{number_format($balance)}}{{number_format($balance)}}
Total {{$account->number}} - {{$account->name}} {{number_format($debit)}} {{number_format($credit)}} {{number_format($balance)}}
Total {{number_format($debit)}} {{number_format($credit)}} {{number_format($balance)}}