From 4b2d468701ab069fdc2347f345da56abe37c70be Mon Sep 17 00:00:00 2001 From: rlaks5757 Date: Fri, 28 Mar 2025 14:25:29 +0900 Subject: Reapply "Merge branch 'dev' into feature/kiman" This reverts commit 494a473964fa85b36c7846750c3a012a3c8468c7. --- app/[lng]/evcp/poa/page.tsx | 61 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 app/[lng]/evcp/poa/page.tsx (limited to 'app') diff --git a/app/[lng]/evcp/poa/page.tsx b/app/[lng]/evcp/poa/page.tsx new file mode 100644 index 00000000..dec5e05b --- /dev/null +++ b/app/[lng]/evcp/poa/page.tsx @@ -0,0 +1,61 @@ +import * as React from "react" +import { type SearchParams } from "@/types/table" + +import { getValidFilters } from "@/lib/data-table" +import { Skeleton } from "@/components/ui/skeleton" +import { DataTableSkeleton } from "@/components/data-table/data-table-skeleton" +import { Shell } from "@/components/shell" +import { getChangeOrders } from "@/lib/poa/service" +import { searchParamsCache } from "@/lib/poa/validations" +import { ChangeOrderListsTable } from "@/lib/poa/table/poa-table" + +interface IndexPageProps { + searchParams: Promise +} + +export default async function IndexPage(props: IndexPageProps) { + const searchParams = await props.searchParams + const search = searchParamsCache.parse(searchParams) + + const validFilters = getValidFilters(search.filters) + + const promises = Promise.all([ + getChangeOrders({ + ...search, + filters: validFilters, + }), + ]) + + return ( + +
+
+
+

+ 변경 PO 확인 및 전자서명 +

+

+ 발행된 PO의 변경 내역을 확인하고 관리할 수 있습니다. +

+
+
+
+ + }> + + + } + > + + +
+ ) +} \ No newline at end of file -- cgit v1.2.3