@extends('layouts.admin') @section('title', 'Chart Of Accounts') @section('content')
Chart of Accounts
Add Account
@foreach ($accounts as $a) @endforeach
Code Name Type Parent
{{ $a->account_code }} {{ $a->account_name }} {{ ucfirst($a->account_type) }} {{ $a->parent?->account_name }}
@endsection