@extends('layouts.app') @section('title', 'Trial Balance') @section('content') {{-- ✅ Header Section --}}
View and export the trial balance for a specific period.
| Code | Account Name | Debit | Credit |
|---|---|---|---|
| {{ $row['code'] }} | {{ $row['name'] }} | {{-- ✅ Debit Amount (Red) --}}{{ $row['debit'] > 0 ? number_format($row['debit'], 2) : '—' }} | {{-- ✅ Credit Amount (Green) --}}{{ $row['credit'] > 0 ? number_format($row['credit'], 2) : '—' }} |
No posted entries foundThere are no transactions in the selected period. |
|||
| Total | {{ number_format($total_debit, 2) }} | {{ number_format($total_credit, 2) }} | |