سامانه صدور فاکتور و حسابداری
Mirrored from https://github.com/davoodmehraban89/Factor-easy.git
Synced Dec 3, 23:15 UTC
Phase 6: gate final report capabilities
davoodmehraban89 committed
Sep 29, 2026 at 21:35 UTC
7b749047841e024b9552dc6e96ee667cfb1bb286
1 file changed
+3
scripts/quality-check.mjs
+3
@@ -101,3 +101,6 @@ for(const x of ['p5PostInventoryValue','invoiceCreatesAccountingEntry','p5Popula
101
for(const x of ['p5SaveCompanyOpsSettings','p5-set-default-wh','p5-set-base-cur','RLS مالکمحور'])if(!all['phase5-enterprise.js'].includes(x))throw new Error('Phase5 company settings/permission boundary missing '+x);
102
103
for(const x of ['p5ApplyRestore','importProductsFromExcel(event)','validated-backup.json'])if(!all['phase5-enterprise.js'].includes(x))throw new Error('Phase5 import center missing '+x);
104
+
105
+const p6=all['phase6-reporting.js']||'';for(const x of ['ledger','cashFlow','projectContractSummary','legacyCutoverPreview','postLegacyInvoice'])if(!p6.includes(x))throw new Error('Phase6 report capability missing '+x);
106
+if(!index.includes('id="view-professional-reports"')||!index.includes('phase6-reporting.js'))throw new Error('Phase6 report workspace missing');