سامانه صدور فاکتور و حسابداری
Guard cash versus credit outstanding semantics
davoodmehraban89 committed
Sep 28, 2026 at 15:13 UTC
32af8637ea976c0023289b95bc6ff6f34c886d7f
1 file changed
+1
-1
scripts/quality-check.mjs
+1
-1
@@ -26,7 +26,7 @@ const must={
26
'purchases.js':['window.purSave=function','window.purEdit=function','window.purPrint=function','window.purRefreshProjects=function','pur-payment-method'],
27
'projects.js':['editContactProject','deleteContactProject','addSubproject','editSubproject','deleteSubproject','usedExpense'],
28
'operations.js':['editContact','editProduct','editCheque','editExpense','deleteInvoice','refreshExpenseProjects','projectId','getMyPayments'],
29
- 'payments.js':['commitSavePayment','invoiceOutstanding','purchaseOutstanding','amount>outstanding',"direction!=='inbound'","direction!=='outbound'",'projectId'],
29
+ 'payments.js':['commitSavePayment','invoiceOutstanding','purchaseOutstanding','amount>outstanding',"direction!=='inbound'","direction!=='outbound'",'projectId',"paymentMethod!=='credit'"],
30
'drilldown.js':['openContactLedger','openDashboardDetail','openReportDetail',"status==='cleared'"],
31
'sync.js':['getMyPurchases'],
32
'backup.js':['purchases:getMyPurchases()','payments:getMyPayments()']