@extends('layouts.app') @section('title', 'Trial balance') @section('content')
All posted and reversed entries up to {{ $to->format('d M Y') }}.
| Code | Account | Type | Debit | Credit |
|---|---|---|---|---|
| {{ $row['account']->code }} | {{ $row['account']->name }} | {{ title_case_words($row['account']->type) }} | {{ $row['debit'] > 0 ? money($row['debit']) : '' }} | {{ $row['credit'] > 0 ? money($row['credit']) : '' }} |
| Totals | {{ money($totalDebit) }} | {{ money($totalCredit) }} | ||