<tr>
    <td>{{ $entry->entry_date->format('d M Y') }}</td>
    <td>
        {{ $entry->voucher?->voucher_number ?? ('Voucher #' . $entry->voucher_id) }}
        @if($entry->voucher)
            <div class="muted">{{ ucfirst(str_replace('_', ' ', $entry->voucher->voucher_type)) }}</div>
        @endif
    </td>
    <td>
        <div>{{ $entry->reference ?: '—' }}</div>
        @if($entry->narration)
            <div class="muted">{{ $entry->narration }}</div>
        @endif
    </td>
    <td>{{ $entry->party_name ?: '—' }}</td>
    <td>{{ $entry->dimension_label ?: '—' }}</td>
    <td>{{ $entry->split_accounts ?: '—' }}</td>
    <td class="amount">{{ $money($entry->debit) }}</td>
    <td class="amount">{{ $money($entry->credit) }}</td>
    <td class="amount">{{ trim($money($entry->running_balance ?? 0) . ' ' . ($entry->balance_side ?? '')) }}</td>
</tr>
