@davoodmehraban89 / Factor-easy / commits / 75cf79e
Fork 0

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

Close invoice print layout correction checkpoint

davoodmehraban89 committed Sep 29, 2026 at 12:11 UTC 75cf79e56bdf47037238f60ed22e844e2e74d866
1 file changed +1 -1
PROJECT_STATE.md
+1 -1
@@ -32,7 +32,7 @@ Before doing any project work:
32 10. If this file conflicts with verified remote code/database evidence, correct this file immediately and record the correction in the change ledger.
33
34 ## Current change ledger
35 -| 2026-09-29 | Restore invoice print contract: formal sales invoice = A4 landscape, pre-invoice = A4 landscape, non-formal invoice = A5 landscape; preserve standard print margins and page fit. | IN PROGRESS | Regression found in `js/print.js`: formal print explicitly forced to A4 portrait and pre-invoice shared the A5 non-formal rule. |\n
35 +| 2026-09-29 | Restore invoice print contract: formal sales invoice = A4 landscape, pre-invoice = A4 landscape, non-formal invoice = A5 landscape; preserve standard print margins and page fit. | COMPLETED | `js/print.js` fixed on main: formal/pre-invoice A4 landscape with 5mm print margin; non-formal A5 landscape with 5mm margin; page-fit widths set to printable landscape areas. Regression gates updated in `scripts/quality-check.mjs` and `scripts/phase3-check.mjs`. Implementation commits `a7e14ec1`, `baa46715`, gate correction `4550f239`; Quality run 36544154873 success; Pages run 36544154397 success. Security run 36544154665 was still executing CodeQL at this checkpoint and must be checked by the next continuation before claiming its result. |\n
36 | Date | Request / decision | Status | Evidence / next action |
37 |---|---|---|---|
38 | 2026-09-29 | Reopen and fully harden Phase 3 after independent accounting review; fix fiscal-date posting, non-accounting document posting, reversal reconciliation, atomic persistence, server-side ledger guards, concurrency uniqueness and behavioral verification. | COMPLETED | Supabase migration `20260929083130 phase3_hardening_atomic_sync_and_ledger_guards` applied. Final implementation/evidence head before state closure: `c02e714c`; Quality run 36543480690 success; Security run 36543480544 success; Pages run 36543480478 success; Supabase migration/functions/unique indexes verified; Performance advisor clean. |\n| 2026-09-29 | Establish a permanent in-repository continuity file so any future AI/chat can resume without relying on conversation history. Every material request must be recorded here before implementation and every durable checkpoint must update this file. | COMPLETED | `PROJECT_STATE.md` created in commit `9436b9014f8ce59e1a8c8dc238d1050831785c8f`; root `AGENTS.md` discovery instructions added in `dcabf31e7f9454ff84441cadb1e9aef85fff964c`. |