'use client' import { Container, Typography } from '@mui/material' import Grid from '@mui/material/Grid2' import ReportCard from './ReportCard' import { getLocalizedUrl } from '@/utils/i18n' import { Locale } from '@/configs/i18n' import { useParams } from 'next/navigation' const ReportFinancialList: React.FC = () => { const { lang: locale } = useParams() const financialReports = [ // { // title: 'Arus Kas', // iconClass: 'tabler-cash', // link: getLocalizedUrl(`/apps/report/cash-flow`, locale as Locale) // }, { title: 'Laba Rugi', iconClass: 'tabler-cash', link: getLocalizedUrl(`/apps/report/profit-loss`, locale as Locale) }, { title: 'Metode Pembayaran', iconClass: 'tabler-cash', link: getLocalizedUrl(`/apps/report/financial/payment-method`, locale as Locale) } // { // title: 'Neraca', // iconClass: 'tabler-cash', // link: getLocalizedUrl(`/apps/report/neraca`, locale as Locale) // }, // { // title: 'Ringkasan Eksekutif', // iconClass: 'tabler-cash', // link: getLocalizedUrl(`/apps/report/neraca`, locale as Locale) // } ] return (
Finansial {financialReports.map((report, index) => ( ))}
) } export default ReportFinancialList