{{ __('Chart of Accounts Management') }}
{{ __('Accounting Module — SouthCal Cleaners') }}
{{ session('success') }}
@endif
@if ($errors->any())
-
@foreach ($errors->all() as $error)
- {{ $error }} @endforeach
{{ __('Catalog import finished: :imported imported, :skipped skipped.', [
'imported' => $importResult['imported'],
'skipped' => $importResult['skipped'],
]) }}
@if($importResult['errors'] !== [])
| {{ __('Spreadsheet row') }} | {{ __('Code') }} | {{ __('Reason not imported') }} |
|---|---|---|
| {{ $importError['row'] }} | {{ $importError['code'] ?: '—' }} | {{ $importError['message'] }} |
{{ __('All Accounts') }}
{{ trans_choice(':count item|:count items', count($subaccounts), ['count' => count($subaccounts)]) }}
{{ __('Unreferenced accounts are permanently deleted. Referenced accounts are deactivated instead.') }}
| {{ __('No.') }} | {{ __('Code') }} | {{ __('Name') }} | {{ __('Type') }} | {{ __('Parent') }} | {{ __('Posting') }} | {{ __('User Assoc.') }} | {{ __('Stock Assoc.') }} | {{ __('Status') }} | {{ __('Actions') }} | |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $acc->code }} | {{ $acc->name }} | {{ $acc->type }} | {{ $acc->parent_name ?? __('Root Level') }} | $acc->is_posting, 'is-no' => ! $acc->is_posting]) title="{{ $acc->is_posting ? __('Yes') : __('No') }}">{{ $acc->is_posting ? '✓' : '–' }} | $acc->is_user_associated, 'is-no' => ! $acc->is_user_associated]) title="{{ $acc->is_user_associated ? __('Yes') : __('No') }}">{{ $acc->is_user_associated ? '✓' : '–' }} | $acc->is_stock_associated, 'is-no' => ! $acc->is_stock_associated]) title="{{ $acc->is_stock_associated ? __('Yes') : __('No') }}">{{ $acc->is_stock_associated ? '✓' : '–' }} | {{ $acc->is_active ? __('Active') : __('Inactive') }} | @if($acc->is_active) @else @endif | |
| {{ __('No accounts found.') }} | ||||||||||
{{ __('Account data tools') }}
{{ __('Import account catalog') }}
{{ __('Upload an Excel workbook (.xlsx) or CSV with required columns code, name, and type. Optionally include parent_code, is_user_associated, is_stock_associated, and is_posting. Boolean values may be t/f, 1/0, or true/false.') }}
{{ __('Download sample Excel file') }} {{ __('Existing account codes are not overwritten. Invalid rows are skipped and listed below.') }}{{ __('Export selected accounts') }}
{{ __('Select one or more accounts in the list, choose a format, and export only those accounts.') }}
{{ __('The export includes account details and a sequential row number.') }}