@extends('layouts.app', ['pageTitle' => 'Chart of Accounts', 'pageSubtitle' => 'Create and review asset, liability, equity, income and expense accounts']) @section('content')

Create Account

@csrf

Accounts

@foreach($accounts as $a)@endforeach
CodeNameTypeSubtypeOpeningCurrentStatus
{{ $a->code }}{{ $a->name }}{{ $a->type }}{{ $a->subtype }}₦{{ number_format($a->opening_balance,2) }}₦{{ number_format($a->current_balance,2) }}{{ $a->status }}
@endsection