سامانه صدور فاکتور و حسابداری
Mirrored from https://github.com/davoodmehraban89/Factor-easy.git
Synced Dec 3, 23:15 UTC
Verify Phase 5 company settings and permission boundary
davoodmehraban89 committed
Sep 29, 2026 at 21:01 UTC
16ee716c446cc2ac23f02e79983fea40ae10315b
1 file changed
+2
scripts/quality-check.mjs
+2
@@ -97,3 +97,5 @@ for(const x of ["type:$('prod-type-input')","category:$('prod-category-input')",
97
for(const x of ['warehouseId','pur-warehouse'])if(!all['purchases.js'].includes(x))throw new Error('Phase5 purchase warehouse integration missing '+x);
98
for(const x of ['warehouseId','invoice-warehouse-id'])if(!all['invoices.js'].includes(x))throw new Error('Phase5 sales warehouse integration missing '+x);
99
for(const x of ['p5PostInventoryValue','invoiceCreatesAccountingEntry','p5PopulateWarehouseSelects'])if(!all['phase5-enterprise.js'].includes(x))throw new Error('Phase5 inventory integration missing '+x);
100
+
101
+for(const x of ['p5SaveCompanyOpsSettings','p5-set-default-wh','p5-set-base-cur','RLS مالکمحور'])if(!all['phase5-enterprise.js'].includes(x))throw new Error('Phase5 company settings/permission boundary missing '+x);