@extends('layouts.master') @section('page_title', 'Account Type Details') @section('content')
{{ $accountType->id }}
{{ $accountType->name }}
{{ $accountType->code ?? 'N/A' }}
{{ ucfirst($accountType->category ?? 'N/A') }}
{{ ucfirst($accountType->normal_balance ?? 'N/A') }}
@if(isset($accountType->is_active) && $accountType->is_active) Active @else Inactive @endif
{{ $accountType->parent->name ?? 'None' }}
{{ $accountType->created_at?->format('M d, Y H:i') ?? 'N/A' }}
{{ $accountType->description ?? 'No description provided.' }}
| Code | Name | Status | Actions |
|---|---|---|---|
| {{ $child->code }} | {{ $child->name }} | @if($child->is_active) Active @else Inactive @endif | View |
| Code | Name | Current Balance | Actions |
|---|---|---|---|
| {{ $account->account_code }} | {{ $account->name }} | {{ number_format($account->current_balance ?? 0, 2) }} | View |