From a9575387c3a765a1a65ebc179dae16a21af6eb25 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Fri, 12 Sep 2025 08:01:02 +0000
Subject: (임수민) 일반 계약 템플릿 구현 및 basic contract 필터 수정
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/basic-contract/template/basic-contract-template.tsx | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'lib/basic-contract/template/basic-contract-template.tsx')

diff --git a/lib/basic-contract/template/basic-contract-template.tsx b/lib/basic-contract/template/basic-contract-template.tsx
index 470bc925..8ac421f5 100644
--- a/lib/basic-contract/template/basic-contract-template.tsx
+++ b/lib/basic-contract/template/basic-contract-template.tsx
@@ -29,6 +29,7 @@ export function BasicContractTemplateTable({ promises }: BasicTemplateTableProps
   const router = useRouter();
   const [rowAction, setRowAction] =
     React.useState<DataTableRowAction<BasicContractTemplate> | null>(null)
+  const [selectedRows, setSelectedRows] = React.useState<BasicContractTemplate[]>([])
   const [{ data, pageCount }] =
     React.use(promises)
   
@@ -56,6 +57,7 @@ export function BasicContractTemplateTable({ promises }: BasicTemplateTableProps
       data,
       columns,
       pageCount,
+      filterFields: advancedFilterFields,
       enablePinning: true,
       enableAdvancedFilter: true,
       initialState: {
@@ -73,6 +75,7 @@ export function BasicContractTemplateTable({ promises }: BasicTemplateTableProps
         <DataTableAdvancedToolbar
           table={table}
           filterFields={advancedFilterFields}
+          shallow={false}
         >
           <TemplateTableToolbarActions table={table} />
          </DataTableAdvancedToolbar>
-- 
cgit v1.2.3

