فینورا پرو - سامانه جامع حسابداری و صدور فاکتور
fix(P0): remove stale catalog-price dependency from profitability grouping
davoodmehraban89 committed
Nov 1, 2026 at 10:44 UTC
6faf8f528805aaaa4c30efc47bb9a59aeb5d2406
1 file changed
-1
src/controllers/ReportController.js
-1
@@ -276,7 +276,6 @@ class ReportControllerImpl {
276
(inv.items || []).forEach((it, index) => {
277
const key = it.productId || 'unknown_' + (it.productName || '');
278
if (!stats[key]) {
279
- const p = productMap[it.productId];
279
stats[key] = {
280
productId: it.productId,
281
productName: it.productName || 'ناشناس',