سامانه صدور فاکتور و حسابداری
test(accounting): enforce posted-expense source integration in canonical module, not legacy CRUD adapter
davoodmehraban89 committed
Oct 14, 2026 at 12:10 UTC
cedb45f058b2b6c39d9c6512a781c2b87595aee0
1 file changed
+2
-1
scripts/quality-check.mjs
+2
-1
@@ -74,7 +74,8 @@ for(const [file,needles] of Object.entries({
74
'invoices.js':['jeGuardSourceMutation','jePostSourceRecord'],
75
'purchases.js':['jeGuardSourceMutation','jePostSourceRecord'],
76
'payments.js':['jeGuardSourceMutation','jePostSourceRecord'],
77
- 'operations.js':['jeGuardSourceMutation','jePostSourceRecord'],
77
+ 'operations.js':['jeGuardSourceMutation','window.commitSaveExpense=window.commitSaveExpense||'],
78
+ 'expenses.js':['jePostSourceRecord(kind,record)','expenseAmendPosted','expenseCorrectionEligibility'],
79
'accounting-foundation.js':["journalLines||[]","سابقه دفتر"]
80
}))for(const needle of needles)if(!all[file]?.includes(needle))throw new Error('Phase 3 operational integration missing '+file+' '+needle);
81