| @@ -11,7 +11,7 @@ import { Suspense } from "react"; | |||||
| import RoughScheduleDetailView from "@/components/RoughScheduleDetail/RoughScheudleDetailView"; | import RoughScheduleDetailView from "@/components/RoughScheduleDetail/RoughScheudleDetailView"; | ||||
| export const metadata: Metadata = { | export const metadata: Metadata = { | ||||
| title: "Rough Scheduling Detail", | |||||
| title: "Demand Forecast Detail", | |||||
| }; | }; | ||||
| const roughSchedulingDetail: React.FC = async () => { | const roughSchedulingDetail: React.FC = async () => { | ||||
| @@ -28,7 +28,7 @@ const roughSchedulingDetail: React.FC = async () => { | |||||
| rowGap={2} | rowGap={2} | ||||
| > | > | ||||
| <Typography variant="h4" marginInlineEnd={2}> | <Typography variant="h4" marginInlineEnd={2}> | ||||
| {t("Rough Scheduling Detail")} | |||||
| {t("Demand Forecast Detail")} | |||||
| </Typography> | </Typography> | ||||
| {/* <Button | {/* <Button | ||||
| variant="contained" | variant="contained" | ||||
| @@ -10,7 +10,7 @@ import Link from "next/link"; | |||||
| import { Suspense } from "react"; | import { Suspense } from "react"; | ||||
| export const metadata: Metadata = { | export const metadata: Metadata = { | ||||
| title: "Rough Scheduling", | |||||
| title: "Demand Forecast", | |||||
| }; | }; | ||||
| const roughScheduling: React.FC = async () => { | const roughScheduling: React.FC = async () => { | ||||
| @@ -27,7 +27,7 @@ const roughScheduling: React.FC = async () => { | |||||
| rowGap={2} | rowGap={2} | ||||
| > | > | ||||
| <Typography variant="h4" marginInlineEnd={2}> | <Typography variant="h4" marginInlineEnd={2}> | ||||
| {t("Rough Scheduling")} | |||||
| {t("Demand Forecast")} | |||||
| </Typography> | </Typography> | ||||
| {/* <Button | {/* <Button | ||||
| variant="contained" | variant="contained" | ||||
| @@ -12,7 +12,7 @@ import RoughScheduleLoading from "@/components/RoughScheduleSetting/RoughSchedul | |||||
| import RoughScheduleSetting from "@/components/RoughScheduleSetting/RoughScheduleSetting"; | import RoughScheduleSetting from "@/components/RoughScheduleSetting/RoughScheduleSetting"; | ||||
| export const metadata: Metadata = { | export const metadata: Metadata = { | ||||
| title: "Rough Schedule Setting", | |||||
| title: "Demand Forecast Setting", | |||||
| }; | }; | ||||
| const roughScheduleSetting: React.FC = async () => { | const roughScheduleSetting: React.FC = async () => { | ||||
| @@ -29,7 +29,7 @@ const roughScheduleSetting: React.FC = async () => { | |||||
| rowGap={2} | rowGap={2} | ||||
| > | > | ||||
| <Typography variant="h4" marginInlineEnd={2}> | <Typography variant="h4" marginInlineEnd={2}> | ||||
| {t("Rough Schedule Setting")} | |||||
| {t("Demand Forecast Setting")} | |||||
| </Typography> | </Typography> | ||||
| {/* <Button | {/* <Button | ||||
| variant="contained" | variant="contained" | ||||
| @@ -13,9 +13,9 @@ const pathToLabelMap: { [path: string]: string } = { | |||||
| "/tasks": "Task Template", | "/tasks": "Task Template", | ||||
| "/tasks/create": "Create Task Template", | "/tasks/create": "Create Task Template", | ||||
| "/settings/qcItem": "Qc Item", | "/settings/qcItem": "Qc Item", | ||||
| "/settings/rss": "Rough Schedule Setting", | |||||
| "/scheduling/rough": "Rough Scheduling", | |||||
| "/scheduling/rough/edit": "Rough Scheduling Detail", | |||||
| "/settings/rss": "Demand Forecast Setting", | |||||
| "/scheduling/rough": "Demand Forecast", | |||||
| "/scheduling/rough/edit": "Demand Forecast Detail", | |||||
| "/scheduling/detail": "Detail Scheduling", | "/scheduling/detail": "Detail Scheduling", | ||||
| }; | }; | ||||
| @@ -173,7 +173,7 @@ const NavigationContent: React.FC = () => { | |||||
| children: [ | children: [ | ||||
| { | { | ||||
| icon: <RequestQuote />, | icon: <RequestQuote />, | ||||
| label: "Rough Scheduling", | |||||
| label: "Demand Forecast", | |||||
| path: "/scheduling/rough", | path: "/scheduling/rough", | ||||
| }, | }, | ||||
| { | { | ||||
| @@ -215,7 +215,7 @@ const NavigationContent: React.FC = () => { | |||||
| }, | }, | ||||
| { | { | ||||
| icon: <RequestQuote />, | icon: <RequestQuote />, | ||||
| label: "Rough Schedule Setting", | |||||
| label: "Demand Forecast Setting", | |||||
| path: "/settings/rss", | path: "/settings/rss", | ||||
| }, | }, | ||||
| { | { | ||||
| @@ -89,7 +89,7 @@ const RSOverview: React.FC<Props> = ({ records }) => { | |||||
| }, | }, | ||||
| { | { | ||||
| name: "scheduledPeriod", | name: "scheduledPeriod", | ||||
| label: "Rough Schedule Period", | |||||
| label: "Demand Forecast Period", | |||||
| }, | }, | ||||
| { | { | ||||
| name: "scheduledAt", | name: "scheduledAt", | ||||
| @@ -46,7 +46,7 @@ const RoughScheduleDetailView: React.FC<Props> = ({ | |||||
| const { t } = useTranslation(); | const { t } = useTranslation(); | ||||
| const router = useRouter(); | const router = useRouter(); | ||||
| const [isEdit, setIsEdit] = useState(false); | const [isEdit, setIsEdit] = useState(false); | ||||
| //const title = "Rough Schedule Detail" | |||||
| //const title = "Demand Forecast Detail" | |||||
| const [mode, redirPath] = useMemo(() => { | const [mode, redirPath] = useMemo(() => { | ||||
| // var typeId = TypeEnum.CONSUMABLE_ID | // var typeId = TypeEnum.CONSUMABLE_ID | ||||
| var title = ""; | var title = ""; | ||||