@extends('layouts.app') @section('title','Trial Balance') @section('page_title','Trial Balance') @section('content')
{{ $from }} to {{ $to }}
| Code | Account | Type | Debit | Credit |
|---|---|---|---|---|
| {{ $a->code }} | {{ $a->name }} | {{ ucwords(str_replace('_',' ',$a->type)) }} | {{ number_format($a->closing_debit,2) }} | {{ number_format($a->closing_credit,2) }} |
| Total | {{ number_format($totals['debit'],2) }} | {{ number_format($totals['credit'],2) }} | ||