@extends('layouts.app')
@php($canManage = auth()->user()->hasPermission('accounting.manage'))
@section('title', 'Chart of Accounts')
@section('subtitle', 'Ledger accounts and balances')
@section('content')
| Code | Account | Balance | |
|---|---|---|---|
| {{ $account->code }} |
{{ $account->name }}
@unless ($account->is_active)
Inactive
@endunless
{{ ucfirst($account->normal_balance) }} normal
|
{{ money(abs($balance)) }}{{ $balance < 0 ? ' Cr' : '' }} | @if ($canManage) @endif |