سامانه صدور فاکتور و حسابداری

docs: record owner-reported modal, dashboard, admin creation and invoice posting defects with safety gates

davoodmehraban89 committed Oct 11, 2026 at 20:05 UTC fd7cd8250ae865efd2bf3162638bff3a75c50747
1 file changed +5
PROJECT_STATE.md
+5
@@ -215,3 +215,8 @@ Owner reports login blocked with generic 'check internet/VPN' network error on l
215 - Same-SHA GitHub workflows: Quality `38154361473` **SUCCESS**, Security `38154361524` **SUCCESS**, Release gate `38154485595` **SUCCESS**, gated Pages `38154503667` **SUCCESS**. An earlier duplicate release gate was canceled and earlier Pages job skipped due to workflow concurrency; only these successful runs certify release.
216 - Remote Desktop Commander `DESKTOP-71SJ63M` real Chromium: `npx playwright test scripts/phase0-invoice-persistence.spec.js --reporter=line --workers=1 --timeout=25000` **PASS 2/2 (25.31 s)**. Control sample pre-invoice QA-PINV-0001 saved to disposable fake server, reloaded and edited (3000→4500), persisted once; second sample survived one injected RPC network failure and retry without duplication. No real finance history, live Auth/RLS, Stripe, production data or schema changed.
217 - **Phase 0 remains OPEN / F0-03 controlled QA passed, production-authenticated verification OPEN.** Next: test owner-authenticated sign-in network fault `F0-01`, live tenant product selection `F0-02` and existing invoice print `F0-04` on authorized user session, plus safe-scope actual server persistence for F0-03 if separately authorized. No claim of real live invoice save success.
218 +
219 +## 2026-10-11 owner screenshots — UI close, admin direct user, dashboard drilldowns and controlled posting
220 +- Owner supplied current production screenshots: `finora-org-access-modal` «بستن» fails and similar modal close buttons across modules; central admin licenses lacks owner-provisioned new user; dashboard financial KPI and recent journal cells lack account→journal drilldown; standard sale invoice save currently auto-posts directly via `jePostSourceRecord`, preventing ordinary pre-finalization edit.
221 +- Work ownership and dependency: **QA/UX** first fixes modal close with real-browser regression; **reporting/UX** implements read-only rollups and traceable recent journal drilldown, with accounting balance invariants; **security/auth** assesses stale PR #58 and designs server-side administrator provision with no client service key; **finance architecture** defines draft/review/posted lifecycle and migration/reversal gate before touching live invoice posting semantics. Implementation of the last two is not implied complete by UI-only release.
222 +- User has requested these features, but **no permission to create a real third-party account right now, assign admin permissions, rewrite posted financial records, change production RLS/schema without a separately reviewed gated procedure, or send any credentials**. Existing historical posted source records remain immutable. A rollback-able UI PR and independent browser QA precede deployment.