diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/avl/avl-page-client.tsx | 11 | ||||
| -rw-r--r-- | app/[lng]/evcp/(evcp)/avl/page.tsx | 6 |
2 files changed, 15 insertions, 2 deletions
diff --git a/app/[lng]/evcp/(evcp)/avl/avl-page-client.tsx b/app/[lng]/evcp/(evcp)/avl/avl-page-client.tsx index a9d5713d..f8df3c49 100644 --- a/app/[lng]/evcp/(evcp)/avl/avl-page-client.tsx +++ b/app/[lng]/evcp/(evcp)/avl/avl-page-client.tsx @@ -11,6 +11,7 @@ import { AvlRegistrationArea } from "@/lib/avl/table/avl-registration-area" import { getAvlLists } from "@/lib/avl/service" import { AvlListItem } from "@/lib/avl/types" import { toast } from "sonner" +import { InformationButton } from "@/components/information/information-button" interface AvlPageClientProps { initialData: AvlListItem[] @@ -78,6 +79,16 @@ export function AvlPageClient({ initialData }: AvlPageClientProps) { return ( <div className="h-screen flex flex-col"> <div className="flex-1 overflow-hidden"> + + + {/* info button and header section */} + <div className="flex items-center gap-2 mt-2"> + <h2 className="text-2xl font-bold tracking-tight"> + AVL(Approved Vendor List) 목록 + </h2> + <InformationButton pagePath="evcp/avl" /> + </div> + <ResizablePanelGroup direction="vertical" className="h-full"> {/* 상단 패널: AVL 목록 */} <ResizablePanel defaultSize={40} minSize={20}> diff --git a/app/[lng]/evcp/(evcp)/avl/page.tsx b/app/[lng]/evcp/(evcp)/avl/page.tsx index 1c345cda..b1dbfeb0 100644 --- a/app/[lng]/evcp/(evcp)/avl/page.tsx +++ b/app/[lng]/evcp/(evcp)/avl/page.tsx @@ -3,7 +3,6 @@ import { type SearchParams } from "@/types/table" import { getValidFilters } from "@/lib/data-table" import { vendorPoSearchParamsCache } from "@/lib/po/vendor-table/validations" import { getAvlLists } from "@/lib/avl/service" -import { AvlListItem } from "@/lib/avl/types" import { AvlPageClient } from "./avl-page-client" interface AvlPageProps { @@ -45,5 +44,8 @@ export default async function AvlPage(props: AvlPageProps) { const searchParams = await props.searchParams const initialData = await getInitialAvlData(searchParams) - return <AvlPageClient initialData={initialData} /> + return (<> + <AvlPageClient initialData={initialData} /> + </> + ) } |
