import LoanDetails from "@/components/dashboard/reports/LoanDetails";
import ExcelExport from "@/components/dashboard/reports/ExcelExport";
import {GET_EXCEL_EXPORT, GET_EXCEL_EXPORT_status} from "@/core/data/apiRoutes";
import {useTranslations} from "next-intl";

const DashboardReportsComponent = (props) => {
    const t = useTranslations();

    return (
        <>
            <ExcelExport url={GET_EXCEL_EXPORT} title={t("filters.excel_export_reports")} filenameStr={'گزارش عملکرد'}/>
            <ExcelExport url={GET_EXCEL_EXPORT_status} title={t("filters.excel_export_reports_status")}
                         filenameStr={'گزارش وضعیت وام های کشور'}/>
            <LoanDetails/>
        </>
    )
};

export default DashboardReportsComponent;