2023-11-02 18:27:44 +00:00
|
|
|
import { ReactElement } from "react";
|
2023-04-06 09:39:24 +00:00
|
|
|
// layouts
|
2023-10-25 10:18:57 +00:00
|
|
|
import { AppLayout } from "layouts/app-layout";
|
2023-11-01 08:15:04 +00:00
|
|
|
import { ProjectSettingLayout } from "layouts/settings-layout";
|
2023-04-06 09:39:24 +00:00
|
|
|
// components
|
2023-10-18 13:47:02 +00:00
|
|
|
import { ProjectSettingHeader } from "components/headers";
|
2023-11-01 08:12:51 +00:00
|
|
|
import { EstimatesList } from "components/estimates/estimate-list";
|
2023-04-06 09:39:24 +00:00
|
|
|
// types
|
2023-11-02 18:27:44 +00:00
|
|
|
import { NextPageWithLayout } from "types/app";
|
2023-04-11 12:24:01 +00:00
|
|
|
|
2023-11-02 18:27:44 +00:00
|
|
|
const EstimatesSettingsPage: NextPageWithLayout = () => (
|
|
|
|
<div className="pr-9 py-8 w-full overflow-y-auto">
|
|
|
|
<EstimatesList />
|
|
|
|
</div>
|
2023-11-01 08:12:51 +00:00
|
|
|
);
|
2023-04-06 09:39:24 +00:00
|
|
|
|
2023-11-02 18:27:44 +00:00
|
|
|
EstimatesSettingsPage.getLayout = function getLayout(page: ReactElement) {
|
|
|
|
return (
|
|
|
|
<AppLayout header={<ProjectSettingHeader title="Estimates Settings" />} withProjectWrapper>
|
|
|
|
<ProjectSettingLayout>{page}; </ProjectSettingLayout>
|
|
|
|
</AppLayout>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default EstimatesSettingsPage;
|