@extends('layouts.app')
@section('title', 'Trial Balance')
@section('subtitle', 'Debit and credit balances as at a date')
@section('content')
| Account | Type | Debit | Credit |
|---|---|---|---|
| {{ $typeLabel }} | |||
| {{ $row['account']->code }} — {{ $row['account']->name }} | {{ $row['account']->typeLabel() }} | {{ $row['debit'] > 0 ? money($row['debit']) : '—' }} | {{ $row['credit'] > 0 ? money($row['credit']) : '—' }} |
| Totals | {{ money($debitTotal) }} | {{ money($creditTotal) }} | |