diff --git a/src/app/[lang]/(dashboard)/(private)/apps/report/neraca/page.tsx b/src/app/[lang]/(dashboard)/(private)/apps/report/neraca/page.tsx new file mode 100644 index 0000000..fa21421 --- /dev/null +++ b/src/app/[lang]/(dashboard)/(private)/apps/report/neraca/page.tsx @@ -0,0 +1,22 @@ +import ReportTitle from '@/components/report/ReportTitle' +import ReportNeracaCard from '@/views/apps/report/neraca/ReportNeracaCard' +import ReportNeracaContent from '@/views/apps/report/neraca/ReportNeracaContent' +import Grid from '@mui/material/Grid2' + +const NeracaPage = () => { + return ( + + + + + + + + + + + + ) +} + +export default NeracaPage diff --git a/src/views/apps/report/ReportFinancialList.tsx b/src/views/apps/report/ReportFinancialList.tsx index 0851ed9..74db207 100644 --- a/src/views/apps/report/ReportFinancialList.tsx +++ b/src/views/apps/report/ReportFinancialList.tsx @@ -24,7 +24,7 @@ const ReportFinancialList: React.FC = () => { { title: 'Neraca', iconClass: 'tabler-cash', - link: getLocalizedUrl(`/apps/report/nerace`, locale as Locale) + link: getLocalizedUrl(`/apps/report/neraca`, locale as Locale) } ] diff --git a/src/views/apps/report/neraca/ReportNeracaCard.tsx b/src/views/apps/report/neraca/ReportNeracaCard.tsx new file mode 100644 index 0000000..3a343ab --- /dev/null +++ b/src/views/apps/report/neraca/ReportNeracaCard.tsx @@ -0,0 +1,62 @@ +// MUI Imports +import Grid from '@mui/material/Grid2' + +// Type Imports +import type { UserDataType } from '@components/card-statistics/HorizontalWithSubtitle' + +// Component Imports +import HorizontalWithSubtitle from '@components/card-statistics/HorizontalWithSubtitle' + +// Vars +const data: UserDataType[] = [ + { + title: 'Quick Ratio', + stats: '2,4', + avatarIcon: 'tabler-gauge', + avatarColor: 'success', + trend: 'positive', + trendNumber: 'Target 0,2', + subtitle: 'Hari Ini' + }, + { + title: 'Current Ratio', + stats: '1,09', + avatarIcon: 'tabler-trending-down', + avatarColor: 'error', + trend: 'negative', + trendNumber: '7,6%', + subtitle: 'vs bulan sebelumnya' + }, + { + title: 'Debt Equity Ratio', + stats: '0', + avatarIcon: 'tabler-trending-up', + avatarColor: 'success', + trend: 'positive', + trendNumber: '0%', + subtitle: 'vs bulan sebelumnya' + }, + { + title: 'Equity Ratio', + stats: '0,65', + avatarIcon: 'tabler-trending-down', + avatarColor: 'error', + trend: 'negative', + trendNumber: '4,4%', + subtitle: 'vs bulan sebelumnya' + } +] + +const ReportNeracaCard = () => { + return ( + + {data.map((item, i) => ( + + + + ))} + + ) +} + +export default ReportNeracaCard diff --git a/src/views/apps/report/neraca/ReportNeracaContent.tsx b/src/views/apps/report/neraca/ReportNeracaContent.tsx new file mode 100644 index 0000000..63b02a9 --- /dev/null +++ b/src/views/apps/report/neraca/ReportNeracaContent.tsx @@ -0,0 +1,113 @@ +'use client' + +import DateRangePicker from '@/components/RangeDatePicker' +import { ReportItem, ReportItemFooter, ReportItemHeader, ReportItemSubheader } from '@/components/report/ReportItem' +import { Button, Card, CardContent, Paper } from '@mui/material' +import { useState } from 'react' + +const ReportNeracaContent = () => { + const [startDate, setStartDate] = useState(new Date()) + const [endDate, setEndDate] = useState(new Date()) + + return ( + + + + } + className='max-sm:is-full' + > + Ekspor + + + + + + + + {}} /> + {}} /> + {}} /> + {}} /> + + + + + {}} /> + {}} /> + {}} /> + {}} /> + {}} /> + {}} + /> + + + + + {}} /> + {}} /> + + + + + {}} + /> + {}} /> + + + + + + + + + + + + + {}} /> + {}} /> + {}} /> + + + + + + + + + {}} /> + {}} + /> + {}} /> + {}} /> + + + + + + + + ) +} + +export default ReportNeracaContent