@extends('layouts.app') @section('title', __('messages.entity_accounting_configs')) @section('content')
{{ __('messages.merchant_bill_debit') }}

{{ app()->getLocale() == 'ar' ? 'حدد الحساب المدين الافتراضي عند اعتماد فواتير الموردين.' : 'Default debit account for supplier invoices.' }}

@csrf
{{ __('messages.production_accounting') }}

{{ app()->getLocale() == 'ar' ? 'توجيه التكاليف والأرباح بين المواد الخام وحساب فرع المنتجات.' : 'Transfer costs and profits between Raw Materials and Branch Product accounts.' }}

@csrf
@csrf
@csrf
{{ __('messages.add_new_config') }}
@csrf
Entity Library
@forelse($types as $type)
{{ $type->name }} Ready to map
@empty

All entity types have been configured.

@endforelse
Existing Tag Mappings
{{ $configs->count() }} Configured
@forelse($configs as $c) @empty @endforelse
{{ __('messages.entity_type') }} {{ __('messages.parent_account_code') }} {{ __('messages.parent_name') }} {{ __('messages.actions') }}
{{ $c->entity_type }}
{{ $c->parent_account_code }} @php $parent = $accounts->where('code', $c->parent_account_code)->first(); @endphp @if($parent) {{ $parent->name }} @else N/A @endif
@csrf @method('DELETE')

No mappings found. Start by adding one from the left panel.

@endsection