{{-- # ────────────── lee_gwena ────────────── # Code by: ashley_gwena # Created: 2026-03-12 # Notes: GL account detail with balance preview # ─────────────────────────────────────── --}} @extends('layouts.master') @section('title', 'GL Account Details') @section('content')

{{ $account->account_code }} - {{ $account->account_name }}

Account detail and balance preview.

Current Balance
{{ number_format($metrics['current_balance'] ?? 0, 2) }}
Transaction Count
{{ $metrics['transaction_count'] ?? 0 }}
Last Transaction Date
{{ $metrics['last_transaction_date'] ?? 'N/A' }}

Account Details

Type: {{ $account->accountType?->name ?? 'N/A' }}
Financial Category: {{ $account->financial_category ?? 'N/A' }}
Status: {{ $account->is_active ? 'Active' : 'Inactive' }}
Trust Account: {{ $account->is_trust_account ? 'Yes' : 'No' }}
Business Account: {{ $account->is_business ? 'Yes' : 'No' }}

Audit Trail

Created At: {{ $account->created_at }}
Updated At: {{ $account->updated_at }}
Created By: {{ $createdByName ?? 'N/A' }}
Updated By: {{ $updatedByName ?? 'N/A' }}
@endsection