Closed paulmercs closed 3 months ago
This is the file and the code. The default category is generated randomly here. The category logic will all be replaced in the next release anyway by the way.
Hi andrewdwallo, when will you release the next version? I am just excited with the new features 💯
@paulmercs Hey! I'm glad you are excited, and you should be. The new release will offer many new features. I am currently still working on it but you can test it out if you like: https://github.com/andrewdwallo/erpsaas/tree/release-candidate-2.x
Please keep in mind that not everything is guaranteed to work but it should for the most part.
Closing this as this is not an issue but rather a general inquiry. Please create a discussion post next time.
Where can I find the file or codes for adding default categories when creating new company?
private function createCategories(Company $company, User $user): array { $incomeCategories = ['Other Charges', 'Sales', 'General Income', 'Interest Income', 'Late Fee Income', 'Discount', 'Shipping Charge']; $expenseCategories = ['Lodging', 'Purchase Discount', 'Office Supplies', 'Advertising and Marketing', 'Bank Fees and Charges', 'Credit Card Charges', 'Travel Expense', 'Telephone Expense', 'Automobile Expense', 'IT and Internet Expenses', 'Rent Expense', 'Janitorial Expense', 'Postage', 'Bad Debt', 'Printing and Stationery', 'Uncategorized', 'Salaries and Employee Wages', 'Meals and Entertainment', 'Depreciation Expense', 'Consultant Expense', 'Repair and Maintenance', 'Other Expenses', 'Cost of Goods Sold', 'Exchange Gain or Loss']; $assetsCategories = ['Prepaid Expenses', 'Advance Tax', 'Employee Advance', 'Undeposited Funds', 'Petty Cash', 'Accounts Receivable', 'Furniture and Equipment', 'Inventory Asset']; $liabilityCategories = ['Tax Payable', 'Unearned Revenue', 'Opening Balance Adjustments', 'Employee Reimbursements', 'Accounts Payable', 'Dimension Adjustments']; $equityCategories = ['Retained Earnings', 'Owner\'s Equity', 'Opening Balance Offset', 'Drawings'];