سامانه صدور فاکتور و حسابداری
Align accounting asset gates with Phase 3 final release
davoodmehraban89 committed
Sep 28, 2026 at 18:36 UTC
3cb6525cf3ea67bafc71de1a738954484376429d
1 file changed
+2
-2
scripts/quality-check.mjs
+2
-2
@@ -62,11 +62,11 @@ for(const cssNeedle of ['--shell-rail','--shell-panel','.module-tab.active','.mo
62
if(!index.includes(cssNeedle))throw new Error('Phase 1 responsive shell CSS missing '+cssNeedle);
63
64
for(const coll of ['fiscalYears','accounts','dimensionTypes','dimensionValues','accountDimensionRules','branches','projects','projectLinks'])if(!all['core.js'].includes("'"+coll+"'"))throw new Error('Phase 2 collection missing '+coll);
65
-if(!index.includes('data-module="accounting"')||!index.includes('accounting-foundation.js?v=20260928-phase2-v1'))throw new Error('Phase 2 accounting shell integration missing');
65
+if(!index.includes('data-module="accounting"')||!index.includes('accounting-foundation.js?v=20260928-phase3-final'))throw new Error('Phase 2 accounting shell integration missing');
66
67
for(const coll of ['postingProfiles','journalVouchers','journalLines','journalLineDimensions'])if(!all['core.js'].includes("'"+coll+"'")||!all['sync.js'].includes(coll))throw new Error('Phase 3 collection missing '+coll);
68
for(const needle of ['jeValidateLines','jeValidateDimensions','jeCreateDraft','jePost','jeReverse','jeDeleteDraft','jeTrialBalance','sourceVersion'])if(!all['journal-engine.js']?.includes(needle))throw new Error('Phase 3 journal invariant missing '+needle);
69
-if(!index.includes('journal-engine.js?v=20260928-phase3-v1')||!index.includes('journal-ui.js?v=20260928-phase3-v1'))throw new Error('Phase 3 journal scripts missing');
69
+if(!index.includes('journal-engine.js?v=20260928-phase3-final')||!index.includes('journal-ui.js?v=20260928-phase3-final'))throw new Error('Phase 3 journal scripts missing');
70
71
for(const needle of ['jeActiveSourceVoucher','jeGuardSourceMutation','jePostSourceRecord',"v.status==='posted'"])if(!all['journal-engine.js']?.includes(needle))throw new Error('Phase 3 source/ledger safety missing '+needle);
72
for(const [file,needles] of Object.entries({