- Add ExpenseStatus and ExpensePaymentMethod enums - Add Vendor model (@@unique([tenantId, name])) - Add ExpenseCategory model with accountCode linking to COA - Add Expense model with approval workflow and JE reference - Add User relations: createdExpenses, approvedExpenses - Add COA accounts 5080 Fuel/Transportation, 5085 Rent Expense (31 total) - Seed 9 default expense categories in createTenant transaction - Add Vendor subject to CASL types, Expense/Vendor permissions for OFFICE_STAFF Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
38 KiB
38 KiB