@extends('layouts.app') @section('title', 'Edit Account') @section('content')

Edit Account

Back to Details
@csrf @method('PUT')

Account Information

@error('account_code')

{{ $message }}

@enderror

Account code ranges: 1000-1999 (Assets), 2000-2999 (Liabilities), 3000-3999 (Equity), 4000-4999 (Revenue), 5000-9999 (Expenses)

@error('account_name')

{{ $message }}

@enderror
@error('account_type_id')

{{ $message }}

@enderror @if($account->journalEntryLines()->exists())

Warning: This account has journal entries. Changing the type may affect financial reports.

@endif
@error('parent_account_id')

{{ $message }}

@enderror

Select a parent account if this is a sub-account

@error('description')

{{ $message }}

@enderror

Inactive accounts cannot be used in new journal entries

@if($account->journalEntryLines()->exists())

Account Usage Information

This account has {{ $account->journalEntryLines()->count() }} journal entry line(s).

Be cautious when modifying account type or code as it may affect financial reporting.

@endif
Cancel
@endsection