سامانه صدور فاکتور و حسابداری
Mirrored from https://github.com/davoodmehraban89/Factor-easy.git
Synced Dec 3, 18:15 UTC
docs: record merged PR 141 exact QA evidence and outstanding acceptance
davoodmehraban89 committed
Oct 14, 2026 at 20:52 UTC
23acfde590cf828836d382baa4c63337ae24c6f1
1 file changed
+4
PROJECT_STATE.md
+4
@@ -674,3 +674,7 @@ Owner reports login blocked with generic 'check internet/VPN' network error on l
674
- Live read-only TinyFish dashboard showed expired organization subscription for an account expected to have lifetime entitlement; license truth is not independently verified against live database. `js/organization-rbac.js` replaces profile subscription with organization license; `js/core.js` `canWrite()` prevents edits when expired. Do not bypass license or change financial data.
675
- Company editor action state updated in `js/companies.js`: require nonempty name, subsidiary parent, actual edit changes and `canWrite()` before enabling save. Save handler still enforces `requireWrite()`; button tooltip explains blocked license. Source originated PR #140; old branch was behind `main` by one merge and GitHub returned `405` requiring 3 missing status checks despite green Quality/Security workflows. Rebased changes on current `main` in a new PR branch, without bypassing branch protection.
676
- Verification: previous head `2a8dc526ec4b3eaae077d0614b060e421c081d91` Quality and Security both SUCCESS, but fresh branch CI and production real DOM not yet verified. Next: verify CI and merge gates; test real DOM without modifying production accounting records; investigate organization entitlement only with authorized live DB access.
677
+
678
+### 2026-10-14 PR #141 merged — company form save-state and license affordance
679
+- Source PR https://github.com/davoodmehraban89/Factor-easy/pull/141, head `c33a6a89dccfe2558c4cc77b041ef3910a4e4f77`, Quality run `38605198345` SUCCESS, Security run `38605198098` SUCCESS. Protected `main` squash merge `9693b342670915271e3b471cf68da44b2530d99a` confirmed by GitHub. Source change in `js/companies.js` disables Save until required inputs, edit differences and `canWrite()` are satisfied; no license bypass or production financial write.
680
+- Pending: verify protected-main exact-SHA CI/Pages, real owner ISP/DOM form behavior, and organization license source-of-truth discrepancy; prior PR #140 remains superseded/unmerged. Phase 0 remains open.