@davoodmehraban89 / Factor-easy / commits / 081934f
Fork 0

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

Strengthen phase 2 accounting regression gates

davoodmehraban89 committed Sep 28, 2026 at 15:18 UTC 081934faabcae5c94973c37a7d3dfe66f66b24df
1 file changed +2 -2
scripts/quality-check.mjs
+2 -2
@@ -26,8 +26,8 @@ const must={
26 'purchases.js':['window.purSave=function','window.purEdit=function','window.purPrint=function','window.purRefreshProjects=function','pur-payment-method','companyId'],
27 'projects.js':['editContactProject','deleteContactProject','addSubproject','editSubproject','deleteSubproject','usedExpense'],
28 'operations.js':['editContact','editProduct','editCheque','editExpense','deleteInvoice','refreshExpenseProjects','projectId','getMyPayments','companyId'],
29 - 'payments.js':['commitSavePayment','invoiceOutstanding','purchaseOutstanding','amount>outstanding',"direction!=='inbound'","direction!=='outbound'",'projectId',"paymentMethod!=='credit'"],
30 - 'accounting.js':['productMovement','getInventorySnapshot','getProjectFinancials','accrualProfit','cashNet'],
29 + 'payments.js':['commitSavePayment','invoiceOutstanding','purchaseOutstanding','amount>outstanding',"direction!=='inbound'","direction!=='outbound'",'projectId',"paymentMethod!=='credit'","old.invoiceType===invoiceType"],
30 + 'accounting.js':['productMovement','getInventorySnapshot','getProjectFinancials','accrualProfit','cashNet','i.prodId||i.productId','companyId===active'],
31 'drilldown.js':['openContactLedger','openDashboardDetail','openReportDetail',"status==='cleared'"],
32 'sync.js':['getMyPurchases'],
33 'backup.js':['purchases:getMyPurchases()','payments:getMyPayments()']