@extends('layouts.app', ['page' => 'Chart of Accounts', 'pageSlug' => 'accounts', 'section' => 'accounting']) @section('content')

Chart of Accounts

@include('alerts.success')
@foreach ($accounts as $account) @endforeach
Code Name Type Subtype Balance Actions
{{ $account->code }} @if($account->parent_id) └ @endif {{ $account->name }} {{ ucfirst($account->type) }} {{ $account->subtype ? ucfirst($account->subtype) : '-' }} {{ formatMoney($account->getCurrentBalance()) }}
@endsection