# Conversion Notes

## Legacy PHP pages detected
- login.php
- dashboard.php
- products/add_product.php, edit_product.php, view_products.php
- sales/add_sale.php, submit_sale_multi.php, invoice.php, receipt.php, profit_report.php
- purchases/add_purchase.php, view_purchases.php
- returns/add_sale_return.php, add_supplier_return.php
- settings/company.php, settings/printer.php
- categories, brands, colors, sizes, units, suppliers CRUD pages

## Immediate issues in old project
- hardcoded admin login
- DB password in plain PHP file
- no CSRF/middleware structure
- business logic mixed with page rendering

## Recommended conversion order
1. auth + middleware
2. master data CRUD
3. products
4. purchases
5. sales POS
6. returns
7. print/invoice/barcode
8. reports
