Update routes and components for PMViewUnsignedReport

This commit is contained in:
Mattias 2024-03-21 12:36:14 +01:00
parent ebc59e0c11
commit a31a50965f
4 changed files with 5 additions and 28 deletions

View file

@ -1,13 +1,8 @@
import BasicWindow from "../../Components/BasicWindow";
import BackButton from "../../Components/BackButton";
import ViewOtherTimeReport from "../../Components/ViewOtherTimeReport";
function PMOtherUsersTR(): JSX.Element {
const content = (
<>
<ViewOtherTimeReport />
</>
);
const content = <></>;
const buttons = (
<>

View file

@ -1,34 +1,16 @@
import BackButton from "../../Components/BackButton";
import BasicWindow from "../../Components/BasicWindow";
import Button from "../../Components/Button";
import TimeReport from "../../Components/NewWeeklyReport";
import ViewOtherTimeReport from "../../Components/ViewOtherTimeReport";
function PMViewUnsignedReport(): JSX.Element {
const content = (
<>
<h1 className="font-bold text-[30px] mb-[20px]">
Username&apos;s Time Report
</h1>
<TimeReport />
<ViewOtherTimeReport />
</>
);
const buttons = (
<>
<Button
text="Sign"
onClick={(): void => {
return;
}}
type="button"
/>
<Button
text="Save"
onClick={(): void => {
return;
}}
type="button"
/>
<BackButton />
</>
);