From e710edb0a10f1088292dda318e4f7c3df32ffb64 Mon Sep 17 00:00:00 2001 From: "a.bouhuolia" Date: Sat, 11 Sep 2021 20:03:26 +0200 Subject: [PATCH] fix: remove expense multi-categories tooltip. --- .../containers/Expenses/ExpensesLanding/components.js | 9 +-------- client/src/lang/ar/index.json | 3 ++- client/src/lang/en/index.json | 3 ++- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/client/src/containers/Expenses/ExpensesLanding/components.js b/client/src/containers/Expenses/ExpensesLanding/components.js index 462e95304..b1dcb4215 100644 --- a/client/src/containers/Expenses/ExpensesLanding/components.js +++ b/client/src/containers/Expenses/ExpensesLanding/components.js @@ -115,14 +115,7 @@ export function ExpenseAccountAccessor(expense) { if (expense.categories.length === 1) { return expense.categories[0].expense_account.name; } else if (expense.categories.length > 1) { - const mutliCategories = expense.categories.map((category) => ( -
- - {category.expense_account.name} ${category.amount} -
- )); - return ( - {'- Multi Categories -'} - ); + return ; } } diff --git a/client/src/lang/ar/index.json b/client/src/lang/ar/index.json index e5ae6b357..c6d95a71a 100644 --- a/client/src/lang/ar/index.json +++ b/client/src/lang/ar/index.json @@ -1311,6 +1311,7 @@ "expenses.empty_status.title": "إضافة وإدارة مصاريف مؤسستك", "expenses.empty_status.description": "قم بإنشاء وإدارة المصروفات التي تُعد جزء من التكاليف التشغيلية لمؤسستك.", "manual_journals.empty_status.title": "قم بإدخال اول القيود اليدوية علي شجرة الحسابات.", - "manual_journals.empty_status.description": "يمكن القيود اليدوية لتسجيل المعاملات المالية ، ويستخدمها المحاسبون للعمل مع دفتر الأستاذ." + "manual_journals.empty_status.description": "يمكن القيود اليدوية لتسجيل المعاملات المالية ، ويستخدمها المحاسبون للعمل مع دفتر الأستاذ.", + "expense.column.multi_categories": "- متعدد التصنيفات -" } diff --git a/client/src/lang/en/index.json b/client/src/lang/en/index.json index 2385e1316..647981950 100644 --- a/client/src/lang/en/index.json +++ b/client/src/lang/en/index.json @@ -1282,5 +1282,6 @@ "manual_journals.empty_status.description": "Manual journals can be used to record financial transactions manually, used by accountants to work with the ledger.", "manual_journals.empty_status.title": "Create your first journal entries on accounts chart.", "expenses.empty_status.description": "Create and manage expeses that are part of your organization's operating costs.", - "expenses.empty_status.title": "Create and manage your organization's expenses" + "expenses.empty_status.title": "Create and manage your organization's expenses", + "expense.column.multi_categories": "- Multi Categories -" } \ No newline at end of file