Features: - Support login via phone number or email (LoginRequest) - Add members:import-roster command for Excel roster import - Merge survey emails with roster data Code Quality (Phase 1-4): - Add database locking for balance calculation - Add self-approval checks for finance workflow - Create service layer (FinanceDocumentApprovalService, PaymentVerificationService) - Add HasAccountingEntries and HasApprovalWorkflow traits - Create FormRequest classes for validation - Add status-badge component - Define authorization gates in AuthServiceProvider - Add accounting config file Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
92 lines
2.8 KiB
PHP
92 lines
2.8 KiB
PHP
<?php
|
|
|
|
return [
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Account Codes
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Standard account codes for the chart of accounts.
|
|
| These are used for automatic entry generation.
|
|
|
|
|
*/
|
|
|
|
'account_codes' => [
|
|
'cash' => '1101', // 現金
|
|
'bank' => '1201', // 銀行存款
|
|
'petty_cash' => '1102', // 零用金
|
|
'accounts_receivable' => '1301', // 應收帳款
|
|
'accounts_payable' => '2101', // 應付帳款
|
|
],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Income Account Codes
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
'income_codes' => [
|
|
'membership_fee' => '4101', // 會費收入
|
|
'donation' => '4102', // 捐款收入
|
|
'service_fee' => '4103', // 服務費收入
|
|
'other_income' => '4199', // 其他收入
|
|
],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Expense Account Codes
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
'expense_codes' => [
|
|
'salary' => '5101', // 薪資費用
|
|
'rent' => '5102', // 租金費用
|
|
'utilities' => '5103', // 水電費
|
|
'office_supplies' => '5104', // 辦公用品
|
|
'travel' => '5105', // 差旅費
|
|
'other_expense' => '5199', // 其他費用
|
|
],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Amount Tier Thresholds
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Thresholds for determining approval workflow based on amount.
|
|
| - Small: < small_threshold (secretary only)
|
|
| - Medium: small_threshold to large_threshold (secretary + chair)
|
|
| - Large: > large_threshold (secretary + chair + board)
|
|
|
|
|
*/
|
|
|
|
'amount_tiers' => [
|
|
'small_threshold' => 5000, // 小額上限
|
|
'large_threshold' => 50000, // 大額下限
|
|
],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Currency Settings
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
'currency' => [
|
|
'code' => 'TWD',
|
|
'symbol' => 'NT$',
|
|
'decimal_places' => 0,
|
|
],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Fiscal Year Settings
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
'fiscal_year' => [
|
|
'start_month' => 1, // January
|
|
'start_day' => 1,
|
|
],
|
|
|
|
];
|