سامانه صدور فاکتور و حسابداری
Mirrored from https://github.com/davoodmehraban89/Factor-easy.git
Synced Dec 3, 22:00 UTC
fix/auth-network-diagnostics
Full Project Audit — 2026-09-28
Production head audited: 889c6576b480433d7ba4e49d56c97572933557bb.
Coverage
Repository structure, primary navigation, dashboard, reports, sales invoices, purchase invoices, products/services, contacts, projects/subprojects, cheques, expenses/income, receipts/payments, companies/settings, admin/license management, backup/import, Excel import, accounting helpers, print engine, runtime self-check, Supabase production data, CI security and deployment were reviewed.
Corrections made during audit
- Purchase invoices and receipts/payments are now explicit primary sidebar destinations instead of relying on secondary/dynamic entry points.
- Dynamic settlement navigation now prevents duplicate menu entries.
- Project transaction direction no longer uses a browser prompt for the direction choice; it uses an in-application selector.
- Regression gates now require complete primary financial navigation and the project-direction UX.
- Audited modules received cache-version refreshes for production clients.
Verified capabilities
- Dashboard and financial drilldowns.
- Annual financial reporting with sales, purchases, expenses, other income, accrual profit, receipts/payments and net cashflow.
- Sales invoice create/edit/delete guards, formal A4 and informal A5 print, electronic-document form.
- Purchase invoice create/edit/delete guards, project/cost-center assignment, Excel import and A4 print.
- Product and contact CRUD plus Excel import/template paths.
- Project/subproject hierarchy with sale/purchase/both direction and financial-reference deletion guards.
- Cheque lifecycle CRUD and status presentation.
- Expense/income CRUD with contact/project association.
- Receipt/payment allocation with sale/purchase validation, company scoping, outstanding-balance logic and cheque lifecycle separation.
- Company CRUD/default-company and referenced-data deletion protection.
- Admin license RPC workflow.
- Backup/import and idle-session draft protection.
- Inventory/project accounting helper calculations.
- Runtime self-check and GitHub static quality gates.
Production/data findings
Supabase production data currently contains companies, contacts, invoices, products and settings. The audit found no invalid payment-to-contact references. Supabase performance advisor had no findings in the final phase review.
Remaining external or intentionally deferred items
- Supabase Leaked Password Protection is a dashboard-level Auth setting and remains external to repository code.
- SMTP production delivery depends on the configured external provider.
- Taxpayer System API integration is not live; only document metadata/form support exists.
- Offline PWA caching/service worker is not part of release 1.0.
- Physical printer/driver behavior cannot be fully validated in repository CI.
Live-preview verification boundary
GitHub Pages production deployment is the live target and its deployment workflow is part of the release gate. This audit environment can inspect and deploy the production repository and workflow results, but it does not provide an interactive authenticated browser session to click through the live application's protected menus. Therefore no claim is made that a human-style authenticated browser walkthrough was performed; menu/feature coverage above is based on production source, automated gates, database validation and deployment verification.