2024-03-13 14:18:06 +01:00
|
|
|
import BasicWindow from "../../Components/BasicWindow";
|
2024-03-14 10:32:39 +01:00
|
|
|
import Button from "../../Components/Button";
|
2024-03-17 16:55:51 +01:00
|
|
|
import BackButton from "../../Components/BackButton";
|
2024-03-17 13:39:16 +01:00
|
|
|
import NewTimeReport from "../../Components/NewWeeklyReport";
|
2024-03-13 14:18:06 +01:00
|
|
|
|
|
|
|
function UserEditTimeReportPage(): JSX.Element {
|
2024-03-14 15:17:15 +01:00
|
|
|
const content = (
|
|
|
|
<>
|
|
|
|
<h1 className="font-bold text-[30px] mb-[20px]">Edit Time Report</h1>
|
|
|
|
<NewTimeReport />
|
|
|
|
</>
|
|
|
|
);
|
2024-03-13 14:18:06 +01:00
|
|
|
|
2024-03-14 10:32:39 +01:00
|
|
|
const buttons = (
|
|
|
|
<>
|
|
|
|
<Button
|
|
|
|
text="Save"
|
|
|
|
onClick={(): void => {
|
|
|
|
return;
|
|
|
|
}}
|
2024-03-15 14:30:53 +01:00
|
|
|
type="button"
|
2024-03-14 10:32:39 +01:00
|
|
|
/>
|
2024-03-15 15:22:55 +01:00
|
|
|
<BackButton />
|
2024-03-14 10:32:39 +01:00
|
|
|
</>
|
|
|
|
);
|
2024-03-13 14:18:06 +01:00
|
|
|
|
|
|
|
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
|
|
|
|
}
|
|
|
|
export default UserEditTimeReportPage;
|