@php /** @var \App\Models\Company|null $company */ $company = $company ?? null; $currencyOptions = $currencyOptions ?? collect(); $costCenterOptions = $costCenterOptions ?? collect(); $accountOptions = $accountOptions ?? collect(); $parentOptions = $parentOptions ?? collect(); $accountFieldLabels = [ 'default_bank_account_id' => 'Default Bank Account', 'default_cash_account_id' => 'Default Cash Account', 'default_receivable_account_id' => 'Default Receivable Account', 'default_payable_account_id' => 'Default Payable Account', 'default_expense_account_id' => 'Default Expense Account', 'default_income_account_id' => 'Default Income Account', 'write_off_account_id' => 'Write-off Account', 'round_off_account_id' => 'Round-off Account', 'default_inventory_account_id' => 'Default Inventory Account', 'stock_adjustment_account_id' => 'Stock Adjustment Account', ]; @endphp
@foreach ($accountFieldLabels as $field => $label)
@endforeach
is_group) ? 'checked' : '' }}>
enable_perpetual_inventory ?? true) ? 'checked' : '' }}>
allow_account_creation_against_child_company) ? 'checked' : '' }}>