# Development Notes

## Before You Start:
- Read and understand README.md and conf/config.php first

- Always use the full path to mysql: `C:\xampp\mysql\bin\mysql -u root -h localhost test`
- All database SQL queries must use branch ID from session. Branch-specific tables are prefixed with the branch code (e.g., m001_expenses instead of just expenses)
- use css/custom.css to store style as it is shared to every page.

- if there are table structure changes or additional table, update also 
1. sql/branch_tables_template.sql
2. includes/branch_helper.php
3. admin/schema-updater.php
4. admin/schema-validator.php