سامانه صدور فاکتور و حسابداری
Mirrored from https://github.com/davoodmehraban89/Factor-easy.git
Synced Dec 4, 01:45 UTC
Gate active-company settlement scoping
davoodmehraban89 committed
Sep 28, 2026 at 15:24 UTC
92b79d246b4f07cf2336c01574c4bdd0b6a11c5d
1 file changed
+1
-1
scripts/quality-check.mjs
+1
-1
@@ -28,7 +28,7 @@ const must={
28
'companies.js':['usedSales','usedPurchases','usedExpenses','usedPayments','usedCheques'],
29
'operations.js':['editContact','editProduct','editCheque','editExpense','deleteInvoice','refreshExpenseProjects','projectId','getMyPayments','companyId'],
30
'selfcheck.js':['datastore.payments','invoices.has','purchases.has'],
31
- 'payments.js':['commitSavePayment','invoiceOutstanding','purchaseOutstanding','amount>outstanding',"direction!=='inbound'","direction!=='outbound'",'projectId',"paymentMethod!=='credit'","old.invoiceType===invoiceType"],
31
+ 'payments.js':['commitSavePayment','invoiceOutstanding','purchaseOutstanding','companyOk','legacyOk','amount>outstanding',"direction!=='inbound'","direction!=='outbound'",'projectId',"paymentMethod!=='credit'","old.invoiceType===invoiceType"],
32
'accounting.js':['productMovement','getInventorySnapshot','getProjectFinancials','accrualProfit','cashNet','i.prodId||i.productId','companyId===active'],
33
'drilldown.js':['openContactLedger','openDashboardDetail','openReportDetail',"status==='cleared'"],
34
'sync.js':['getMyPurchases'],