mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
feat: add sales tax summary report to reports list
This commit is contained in:
@@ -85,18 +85,8 @@ export const financialReportMenus = [
|
||||
subject: AbilitySubject.Report,
|
||||
ability: ReportsAction.READ_PROFIT_LOSS,
|
||||
},
|
||||
{
|
||||
title: 'Sales Tax Liability Summary',
|
||||
desc: 'Reports the total amount of sales tax collected from customers',
|
||||
link: '/financial-reports/sales-tax-liability-summary',
|
||||
subject: AbilitySubject.Report,
|
||||
ability: ReportsAction.READ_SALES_TAX_LIABILITY_SUMMARY,
|
||||
}
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
export const SalesAndPurchasesReportMenus = [
|
||||
{
|
||||
sectionTitle: <T id={'sales_purchases_reports'} />,
|
||||
reports: [
|
||||
@@ -126,19 +116,6 @@ export const SalesAndPurchasesReportMenus = [
|
||||
subject: AbilitySubject.Report,
|
||||
ability: ReportsAction.READ_SALES_BY_ITEMS,
|
||||
},
|
||||
{
|
||||
title: <T id={'inventory_valuation'} />,
|
||||
desc: (
|
||||
<T
|
||||
id={
|
||||
'summarize_the_business_s_purchase_items_quantity_cost_and_average'
|
||||
}
|
||||
/>
|
||||
),
|
||||
link: '/financial-reports/inventory-valuation',
|
||||
subject: AbilitySubject.Report,
|
||||
ability: ReportsAction.READ_INVENTORY_VALUATION_SUMMARY,
|
||||
},
|
||||
{
|
||||
title: <T id={'customers_balance_summary'} />,
|
||||
desc: (
|
||||
@@ -196,4 +173,16 @@ export const SalesAndPurchasesReportMenus = [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
sectionTitle: 'Taxes',
|
||||
reports: [
|
||||
{
|
||||
title: 'Sales Tax Liability Summary',
|
||||
desc: 'Reports the total amount of sales tax collected from customers',
|
||||
link: '/financial-reports/sales-tax-liability-summary',
|
||||
subject: AbilitySubject.Report,
|
||||
ability: ReportsAction.READ_SALES_TAX_LIABILITY_SUMMARY,
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
@@ -741,6 +741,21 @@ export const SidebarMenu = [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
text: 'Taxes',
|
||||
type: ISidebarMenuItemType.Group,
|
||||
children: [
|
||||
{
|
||||
text: 'Sales Tax Liability Summary',
|
||||
href: '/financial-reports/sales-tax-liability-summary',
|
||||
type: ISidebarMenuItemType.Link,
|
||||
permission: {
|
||||
subject: AbilitySubject.Report,
|
||||
ability: ReportsAction.READ_SALES_TAX_LIABILITY_SUMMARY,
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
text: <T id={'sidebar.inventory'} />,
|
||||
type: ISidebarMenuItemType.Group,
|
||||
|
||||
Reference in New Issue
Block a user