@extends('layouts.master') @section('page_title', 'Edit Accounting Configuration') @section('content')

Edit Accounting Configuration

Back to Configurations
@if($errors->any()) @endif
Edit Configuration
@csrf @method('PUT')
@error('config_type')
{{ $message }}
@enderror
Account where income/revenue will be recorded
@error('revenue_account_id')
{{ $message }}
@enderror
Account to track outstanding amounts owed
@error('receivable_account_id')
{{ $message }}
@enderror
Account where cash payments will be deposited
@error('cash_account_id')
{{ $message }}
@enderror
@error('description')
{{ $message }}
@enderror
is_active) ? 'checked' : '' }}>
Only active configurations will be used for transactions
Cancel
Current Configuration
Type:
{{ $accountingConfig->getConfigDescription() }}
Revenue:
{{ $accountingConfig->revenueAccount->code ?? $accountingConfig->revenueAccount->account_code }}
{{ $accountingConfig->revenueAccount->name }}
Receivable:
{{ $accountingConfig->receivableAccount->code ?? $accountingConfig->receivableAccount->account_code }}
{{ $accountingConfig->receivableAccount->name }}
Cash:
{{ $accountingConfig->cashAccount->code ?? $accountingConfig->cashAccount->account_code }}
{{ $accountingConfig->cashAccount->name }}
Status:
@if($accountingConfig->is_active) Active @else Inactive @endif
@endsection