feat: add assets page to pazuz routes
This commit is contained in:
parent
642016efeb
commit
ed05cd7274
4 changed files with 44 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ const Sidebar = ({
|
|||
<div className={classes.sidebar}>
|
||||
{loading && <P>Loading...</P>}
|
||||
{!loading &&
|
||||
data.map((it, idx) => (
|
||||
data?.map((it, idx) => (
|
||||
<div
|
||||
key={idx}
|
||||
className={classnames({
|
||||
|
|
|
|||
35
new-lamassu-admin/src/pages/Assets/Assets.js
Normal file
35
new-lamassu-admin/src/pages/Assets/Assets.js
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
import Grid from '@material-ui/core/Grid'
|
||||
import { makeStyles } from '@material-ui/core/styles'
|
||||
|
||||
// import moment from 'moment'
|
||||
// import React from 'react'
|
||||
// import { Tooltip } from 'src/components/Tooltip'
|
||||
import TitleSection from 'src/components/layout/TitleSection'
|
||||
// import DataTable from 'src/components/tables/DataTable'
|
||||
import { H4 } from 'src/components/typography'
|
||||
|
||||
import styles from './Assets.styles'
|
||||
const useStyles = makeStyles(styles)
|
||||
|
||||
const Assets = () => {
|
||||
const classes = useStyles()
|
||||
|
||||
return (
|
||||
<>
|
||||
<TitleSection title="Balance sheet" />
|
||||
<H4>{'future page'}</H4>
|
||||
<div className={classes.root}>
|
||||
<Grid container>
|
||||
<Grid container direction="column" item xs={6}>
|
||||
{/* <LeftSide /> */}
|
||||
</Grid>
|
||||
<Grid container direction="column" item xs={6}>
|
||||
{/* <RightSide /> */}
|
||||
</Grid>
|
||||
</Grid>
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
export default Assets
|
||||
0
new-lamassu-admin/src/pages/Assets/Assets.styles.js
Normal file
0
new-lamassu-admin/src/pages/Assets/Assets.styles.js
Normal file
|
|
@ -3,6 +3,7 @@ import { Redirect } from 'react-router-dom'
|
|||
|
||||
import ATMWallet from 'src/pages/ATMWallet/ATMWallet'
|
||||
import Accounting from 'src/pages/Accounting/Accounting'
|
||||
import Assets from 'src/pages/Assets/Assets'
|
||||
import Blacklist from 'src/pages/Blacklist'
|
||||
import Cashout from 'src/pages/Cashout'
|
||||
import Commissions from 'src/pages/Commissions'
|
||||
|
|
@ -242,6 +243,13 @@ const getPazuzRoutes = () => [
|
|||
route: '/accounting/wallets',
|
||||
allowedRoles: [ROLES.USER, ROLES.SUPERUSER],
|
||||
component: ATMWallet
|
||||
},
|
||||
{
|
||||
key: 'assetspage',
|
||||
label: 'Assets',
|
||||
route: '/accounting/assets',
|
||||
allowedRoles: [ROLES.USER, ROLES.SUPERUSER],
|
||||
component: Assets
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue