mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 14:50:32 +00:00
feat(financial report menu): sales & purchases .
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { FormattedMessage as T } from 'react-intl';
|
import { FormattedMessage as T } from 'react-intl';
|
||||||
|
|
||||||
export default [
|
export const financialReportMenus = [
|
||||||
{
|
{
|
||||||
sectionTitle: 'Financial Accounting',
|
sectionTitle: 'Financial Accounting',
|
||||||
reports: [
|
reports: [
|
||||||
@@ -47,6 +47,14 @@ export default [
|
|||||||
'Shows the average age of unresolved issues for a project or filter. This helps you see whether your backlog is being kept up to date.',
|
'Shows the average age of unresolved issues for a project or filter. This helps you see whether your backlog is being kept up to date.',
|
||||||
link: '/financial-reports/payable-aging-summary',
|
link: '/financial-reports/payable-aging-summary',
|
||||||
},
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
];
|
||||||
|
|
||||||
|
export const SalesAndPurchasesReportMenus = [
|
||||||
|
{
|
||||||
|
sectionTitle: 'Sales & Purchases',
|
||||||
|
reports: [
|
||||||
{
|
{
|
||||||
title: 'Purchases By Items',
|
title: 'Purchases By Items',
|
||||||
desc:
|
desc:
|
||||||
|
|||||||
@@ -3,7 +3,10 @@ import { Link } from 'react-router-dom';
|
|||||||
import { For } from 'components';
|
import { For } from 'components';
|
||||||
|
|
||||||
import DashboardInsider from 'components/Dashboard/DashboardInsider';
|
import DashboardInsider from 'components/Dashboard/DashboardInsider';
|
||||||
import financialReportMenus from 'config/financialReportsMenu';
|
import {
|
||||||
|
financialReportMenus,
|
||||||
|
SalesAndPurchasesReportMenus,
|
||||||
|
} from 'config/financialReportsMenu';
|
||||||
|
|
||||||
import 'style/pages/FinancialStatements/FinancialSheets.scss';
|
import 'style/pages/FinancialStatements/FinancialSheets.scss';
|
||||||
|
|
||||||
@@ -38,8 +41,11 @@ export default function FinancialReports() {
|
|||||||
<DashboardInsider name={'financial-reports'}>
|
<DashboardInsider name={'financial-reports'}>
|
||||||
<div class="financial-reports">
|
<div class="financial-reports">
|
||||||
<For render={FinancialReportsSection} of={financialReportMenus} />
|
<For render={FinancialReportsSection} of={financialReportMenus} />
|
||||||
|
<For
|
||||||
|
render={FinancialReportsSection}
|
||||||
|
of={SalesAndPurchasesReportMenus}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</DashboardInsider>
|
</DashboardInsider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user