|
|
@@ -0,0 +1,40 @@ |
|
|
|
// import { TypeEnum } from "@/app/utils/typeEnum"; |
|
|
|
// import DetailedSchedule from "@/components/DetailedSchedule"; |
|
|
|
// import { getServerI18n } from "@/i18n"; |
|
|
|
|
|
|
|
import PutAwayScan from "@/components/PutAwayScan"; |
|
|
|
import { I18nProvider, getServerI18n } from "@/i18n"; |
|
|
|
import Stack from "@mui/material/Stack"; |
|
|
|
import Typography from "@mui/material/Typography"; |
|
|
|
import { Metadata } from "next"; |
|
|
|
import { Suspense } from "react"; |
|
|
|
|
|
|
|
export const metadata: Metadata = { |
|
|
|
title: "Put Away", |
|
|
|
}; |
|
|
|
|
|
|
|
const PutAway: React.FC = async () => { |
|
|
|
const { t } = await getServerI18n("putAway"); |
|
|
|
|
|
|
|
return ( |
|
|
|
<> |
|
|
|
<Stack |
|
|
|
direction="row" |
|
|
|
justifyContent="space-between" |
|
|
|
flexWrap="wrap" |
|
|
|
rowGap={2} |
|
|
|
> |
|
|
|
<Typography variant="h4" marginInlineEnd={2}> |
|
|
|
{t("Put Away")} |
|
|
|
</Typography> |
|
|
|
</Stack> |
|
|
|
<I18nProvider namespaces={["putAway", "common"]}> |
|
|
|
<Suspense fallback={<PutAwayScan.Loading />}> |
|
|
|
<PutAwayScan /> |
|
|
|
</Suspense> |
|
|
|
</I18nProvider> |
|
|
|
</> |
|
|
|
); |
|
|
|
}; |
|
|
|
|
|
|
|
export default PutAway; |