feat: manual journal drawer & paper footer RLT.

This commit is contained in:
elforjani3
2021-06-27 14:08:32 +02:00
parent c42a134b76
commit a6770c145b
4 changed files with 13 additions and 6 deletions

View File

@@ -1,6 +1,7 @@
import React, { lazy } from 'react';
import { Drawer, DrawerSuspense } from 'components';
import withDrawers from 'containers/Drawer/withDrawers';
import intl from 'react-intl-universal';
import { compose } from 'utils';
@@ -17,7 +18,7 @@ function ExpenseDrawer({
payload: { expenseId, title },
}) {
return (
<Drawer isOpen={isOpen} name={name} title={'Expense'}>
<Drawer isOpen={isOpen} name={name} title={intl.get('expense')}>
<DrawerSuspense>
<ExpenseDrawerContent expenseId={expenseId} />
</DrawerSuspense>