AFNS - A Financial Nervous System
==================================

SETUP INSTRUCTIONS:
-------------------
1. Import the database:
   mysql -u root -p < afns_database.sql

2. Configure database connection:
   Edit config/database.php with your MySQL credentials.
   Change BASE_URL to match your server URL.

3. Set folder permissions:
   chmod 755 uploads/receipts uploads/invoices

4. Default Login:
   Email: admin@afns.local
   Password: Admin@123

5. For OCR receipt scanning:
   Add your Google Vision API key in config/database.php

FEATURES:
---------
- Multi-tenant organization support
- Role-based access control (Super Admin, Admin, Manager, Accountant, Viewer)
- Income, Expense & Petty Cash transactions
- Budget tracking with utilization alerts
- Department & Project management
- Category management (Income/Expense)
- Financial reports with charts (Chart.js)
- Audit logs (immutable)
- Receipt & Invoice upload
- Approval workflows
- Responsive design
- Print-friendly reports

TECH STACK:
-----------
- PHP 7.4+ (no framework)
- MySQL 5.7+
- Chart.js (CDN)
- Font Awesome 6 (CDN)
- Pure CSS (no Bootstrap)
