@extends('layouts.app') @section('content')
| Code | Account Name | Type | Sub Type | Parent Account | Opening | Balance | Status | Actions |
|---|---|---|---|---|---|---|---|---|
| {{ $account->code }} | {{ $account->name }} | @php $badgeColors = [ 'asset' => '#28a745', 'liability' => '#dc3545', 'equity' => '#6f42c1', 'income' => '#17a2b8', 'expense' => '#fd7e14' ]; @endphp {{ $types[$account->type]['label'] ?? ucfirst($account->type) }} | {{ $account->sub_type ? ucwords(str_replace('_', ' ', $account->sub_type)) : '-' }} | {{ $account->parent ? $account->parent->name : '-' }} | Rs. {{ number_format($account->opening_balance, 2) }} @if($account->opening_balance > 0) ({{ ucfirst($account->opening_type) }}) @endif | Rs. {{ number_format($account->current_balance, 2) }} | @if($account->is_active) Active @else Inactive @endif | @if(!$account->is_system) @endif |
|
No accounts found. Create your first account |
||||||||