From aac71becfc2345720d6bb1ee58725c68a582f2db Mon Sep 17 00:00:00 2001 From: harry Date: Sat, 23 May 2026 16:16:19 +0500 Subject: [PATCH] remove the invetory sale value from report Since product prices can be negotiated with every client, the inventory value at sale cannot be determined. Removing the number from the report but keeping the placeholder. --- src/lib/i18n/en.json | 1 - src/lib/i18n/tg.json | 1 - src/routes/admin/reports/+page.svelte | 8 +------- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/lib/i18n/en.json b/src/lib/i18n/en.json index e20f7aa..ef33f3c 100644 --- a/src/lib/i18n/en.json +++ b/src/lib/i18n/en.json @@ -146,7 +146,6 @@ "active_skus": "Active parts", "units_on_hand": "Units on hand", "cost_value": "Value (at cost)", - "sale_value": "Value (at sale)", "low_stock": "Low stock", "out_of_stock": "Out of stock", "top_parts": "Top selling parts", diff --git a/src/lib/i18n/tg.json b/src/lib/i18n/tg.json index e1aa969..6494ba0 100644 --- a/src/lib/i18n/tg.json +++ b/src/lib/i18n/tg.json @@ -146,7 +146,6 @@ "active_skus": "Қисмҳои фаъол", "units_on_hand": "Дар анбор", "cost_value": "Арзиш (бо нархи харид)", - "sale_value": "Арзиш (бо нархи фурӯш)", "low_stock": "Захираи кам", "out_of_stock": "Тамом шуд", "top_parts": "Қисмҳои серфурӯш", diff --git a/src/routes/admin/reports/+page.svelte b/src/routes/admin/reports/+page.svelte index 9e3483a..497a407 100644 --- a/src/routes/admin/reports/+page.svelte +++ b/src/routes/admin/reports/+page.svelte @@ -56,13 +56,7 @@ {$t('common.currency_short')} -
-
{$t('reports.sale_value')}
-
- {formatMoney(inventory.sale_value_dirams, lang)} - {$t('common.currency_short')} -
-
+
{$t('reports.low_stock')}
0}>{inventory.lowStockCount}