{{(isset($ledgerAccount)) ? 'Edit Ledger Account' : 'New Ledger Account'}}
This is an example dashboard created using build-in elements and components.
@csrf
{{(isset($ledgerAccount)) ? 'Edit Account' : 'Add Account'}}
Name
Account Group
Select Group
@if(isset($account_group)) @foreach($account_group as $account_group)
chart_id == $account_group->id ? 'selected':'':''}}>{{$account_group->name}}
@endforeach @endif
Account Type
@if(isset($account_type)) @foreach($account_type as $account_type)
ledger_account_id == $account_type->id ? 'selected':'':''}} selected>{{$account_type->name}}
@endforeach @endif
Account Category
Select Category
@if(isset($account_category)) @foreach($account_category as $account_category)
accounts_category_id == $account_category->id ? 'selected':'':''}}>{{$account_category->name}}
@endforeach @endif