mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
fix: remove expense multi-categories tooltip.
This commit is contained in:
@@ -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) => (
|
||||
<div>
|
||||
- {category.expense_account.name} ${category.amount}
|
||||
</div>
|
||||
));
|
||||
return (
|
||||
<Tooltip content={mutliCategories}>{'- Multi Categories -'}</Tooltip>
|
||||
);
|
||||
return <T id={'expense.column.multi_categories'} />;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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": "- متعدد التصنيفات -"
|
||||
}
|
||||
|
||||
|
||||
@@ -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 -"
|
||||
}
|
||||
Reference in New Issue
Block a user