Trial Balance

{{ $profile->business_name }}  |  GSTIN: {{ $profile->gstin ?? 'N/A' }}

As of {{ now()->format('d M Y') }}

FY {{ $profile->current_financial_year }}

{{ $data['is_balanced'] ? '✓ Balanced' : '⚠ Not Balanced' }}

@php $lastType = ''; @endphp @foreach($data['rows'] as $row) @if($row['type'] !== $lastType) @php $lastType = $row['type']; @endphp @endif @endforeach
Code Account Name Type Debit (₹) Credit (₹)
{{ strtoupper($row['type']) }}
{{ $row['code'] }} {{ $row['name'] }} {{ ucfirst($row['type']) }} {{ $row['debit'] > 0 ? number_format($row['debit'],2) : '' }} {{ $row['credit'] > 0 ? number_format($row['credit'],2) : '' }}
TOTAL ₹{{ number_format($data['total_debit'],2) }} ₹{{ number_format($data['total_credit'],2) }}

Generated by {{ config('app.name') }} on {{ now()->format('d M Y H:i') }}