@davoodmehraban89 / Factor-easy / commits / 609dd01
Fork 0

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

docs: record requested invoice print Persian-digit normalization and acceptance scope

davoodmehraban89 committed Oct 11, 2026 at 16:30 UTC 609dd013be24c19b3b41dd302e6bfc7e321a79d2
1 file changed +5
PROJECT_STATE.md
+5
@@ -185,3 +185,8 @@ Owner reports login blocked with generic 'check internet/VPN' network error on l
185 - Independent Windows remote Desktop Commander `DESKTOP-71SJ63M`: `node scripts/syntax-check.mjs` PASS (54 JS/50 MJS); `node scripts/ux-hardening-r2-check.mjs` PASS; `npx playwright test scripts/ux-hardening-r2.spec.js --reporter=line --workers=1` PASS 6/6 (real Chromium). Screenshot fixtures `qa-product-search_block.png` and `qa-product-search_cement.png` demonstrate visible two-result dropdowns, real purchase/search selection event and price/unit population, scoped user visibility. Screenshots contain synthetic test data, **not real production customer items**.
186 - PR #69 exact head `9281d7a078144302df4dbf23a066dc11e49a4a97`: GitHub Quality `38134885163` SUCCESS, Security `38134885100` SUCCESS. Initial red run `38134614070` was due to an incorrect test expectation that `سیمان` must match only cement; `بلوک سیمانی` legitimately matches too. Regression corrected with precise product selection; subsequent CI green.
187 - No schema, RLS, Auth, roles, tenant membership, Supabase records, invoices, posting, or production data changed. Caveat: user's actual authenticated product master and post-merge site cache/live refresh NOT YET VERIFIED at this checkpoint. Verified after merge: PR #69 merged as `7a3f1f7703ff128bcbbf0906e44889b2833e3dd7`; exact SHA main Quality `38135114282` SUCCESS, Security `38135114272` SUCCESS, Release gate `38135220443` SUCCESS, gated Pages deployment `38135239645` SUCCESS; `CNAME` maps Pages to `factoreasy.ir`. Remote Windows Desktop Commander remains connected and Chromium controlled 6/6 PASS, but attempted Windows interactive desktop capture returned `CopyFromScreen: The handle is invalid`, and direct DNS resolution of `factoreasy.ir` failed from remote and sandbox environments. Thus **a real authenticated user-session product-list lookup and domain HTTP inspection are NOT VERIFIED**; do not claim them. Screenshot artifacts were created only on the authorized remote QA machine, with synthetic inputs, and visually returned to the user in chat. No user finance data was changed. Exactly one safest next action: owner hard-refreshes the deployed site and searches a known real product such as `هارد` in invoice item box; if it still fails, capture screenshot plus browser Console error without sharing credentials.
188 +
189 +## 2026-10-11 invoice print Persian-digit consistency — owner request
190 +- Owner reports mixed Persian/Latin glyph digits on printed invoices, including invoice number and trailing digits of date. Requested consistent Persian numerals everywhere in invoice print. **REQUEST RECORDED / IMPLEMENTATION IN PROGRESS**.
191 +- Baseline main `7eccf2757c99ea19ede3bac98847be0d2b0782b3`. Scope: all human-readable digit text in regular formal/non-formal/pre-invoice and official taxpayer invoice print/preview (including page counters, monetary amounts, numbers, IDs embedded as visible labels) while retaining original ASCII serial/ID/date values in storage, attributes, URLs, machine integrations and journal calculations. No financial/database/RLS/auth/write changes.
192 +- Required checks: verify exact live browser print and PDF DOM, synthetic values with mixed Latin, Eastern Arabic and Persian digits; ensure no Latin/Eastern-Arabic decimal glyphs remain in printable text, numeric totals intact, sensitive URL/attributes unchanged, preview and isolated iframe consistent, multi-page invoices intact. Final CI and gated Pages deployment only if tests pass. Rollback: revert specific PR.