{{-- @extends('docs.master', ['title' => 'Cash Payment Voucher ']) --}} @extends(($data['value'] == 2) ? 'docs.mastertwo' : 'docs.master', ['title'=> 'Cash Payment Voucher ']) @section('content')
Aged Trial Balance
Start Date: {{$data["from"]}}
End Date: {{$data["to"]}}
| Start Date : | {{$data["from"] }} |
|---|---|
| End Date: | {{$data["to"]}} |
| Code | Account Description | BF Balance | Debit | Credit | Balance |
|---|---|---|---|---|---|
| {{$item['code']}} | {{$item['class_type']}} | {{(number_format($item['account_period_opening'],2))}} | {{(number_format($item['debit'],2))}} | {{(number_format($item['credit'],2))}} | {{(number_format($item['balance'],2))}} |
| {{$class['code']}} | {{$class['classname']}} | {{(number_format($class['account_period_opening'],2))}} | {{(number_format($class['debit'],2))}} | {{(number_format($class['credit'],2))}} | {{(number_format($class['balance'],2))}} |
| {{$group['code']}} | {{$group['groupname']}} | {{(number_format($group['account_period_opening'],2))}} | {{(number_format($group['debit'],2))}} | {{(number_format($group['credit'],2))}} | {{(number_format($group['balance'],2))}} |
| {{$account['accountcode']}} | {{$account['accounttitle']}} | {{(number_format($account['account_period_opening'],2))}} | {{(number_format($account['debit'],2))}} | {{(number_format($account['credit'],2))}} | {{(number_format($account['balance'],2))}} |
| Total | {{number_format($model->sum('debit'),2)}} | {{number_format($model->sum('credit'),2)}} | |||