{{$account->number}} - {{$account->name}} |
@if($balance < 0)
{{number_format($balance)}} |
@else
{{number_format($balance)}} |
@endif
@foreach($transactions as $t)
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)) : ''}}
|
@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)
{{number_format($balance)}} |
@else
{{number_format($balance)}} |
@endif
@endforeach
Total {{$account->number}} - {{$account->name}} |
{{number_format($debit)}} |
{{number_format($credit)}} |
{{number_format($balance)}} |
Total |
{{number_format($debit)}} |
{{number_format($credit)}} |
{{number_format($balance)}} |