@extends('layouts.master') @section('title', 'General Ledger - Prolex Law Firm') @section('content')
Back
{{ isset($isEdit) ? 'Edit Account' : 'Add General Ledger Account' }}
@csrf
@if(Session::has('success'))
{{ Session('success') }}
@endif @if(Session::has('error'))
{{ Session('error') }}
@endif
@if ($errors->any())
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif
General Ledger Accounts
@foreach($records as $record) @endforeach
Code Name Financial Category Account Type Sub Accounts Action
{{ $record->code }} {{ $record->name }} {{ $record->financial_category }} {{ $record->accountType ? $record->accountType->name : 'N/A' }} Sub Accounts
@endsection