summaryrefslogtreecommitdiff
path: root/lib/vendor-regular-registrations/table
diff options
context:
space:
mode:
authorjoonhoekim <26rote@gmail.com>2025-11-07 15:29:36 +0900
committerjoonhoekim <26rote@gmail.com>2025-11-07 15:29:36 +0900
commita78f26bc52a2ff032a8103f36a2a660cefa9fb64 (patch)
treed7e3d3cdd771ec86174678ab44298afcd26e0660 /lib/vendor-regular-registrations/table
parent8daa2aeee017c642d2fd171094cf5d442966eb12 (diff)
(김준회) 정규벤더 등록요청 결재 연결, 공통컴포넌트(미리보기) 연결, MDG 송신 공통함수 사용처리
Diffstat (limited to 'lib/vendor-regular-registrations/table')
-rw-r--r--lib/vendor-regular-registrations/table/vendor-regular-registrations-table-toolbar-actions.tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/vendor-regular-registrations/table/vendor-regular-registrations-table-toolbar-actions.tsx b/lib/vendor-regular-registrations/table/vendor-regular-registrations-table-toolbar-actions.tsx
index f879f065..20cd3427 100644
--- a/lib/vendor-regular-registrations/table/vendor-regular-registrations-table-toolbar-actions.tsx
+++ b/lib/vendor-regular-registrations/table/vendor-regular-registrations-table-toolbar-actions.tsx
@@ -218,6 +218,8 @@ export function VendorRegularRegistrationsTableToolbarActions({
email: session.user.email || undefined,
},
approvers: approvers,
+ attachments: attachments, // 첨부파일 전달
+ title: title, // 미리보기에서 수정한 제목 전달
});
if (result.status === 'pending_approval') {
@@ -322,6 +324,9 @@ export function VendorRegularRegistrationsTableToolbarActions({
email: session.user.email || undefined,
}}
onConfirm={handleApprovalSubmit}
+ enableAttachments={true}
+ maxAttachments={10}
+ maxFileSize={100 * 1024 * 1024} // 100MB
/>
)}
</div>