diff --git a/view/next-project/src/components/purchasereports/OpenEditModalButton.tsx b/view/next-project/src/components/purchasereports/OpenEditModalButton.tsx index 8349ebfd2..a21eeca90 100644 --- a/view/next-project/src/components/purchasereports/OpenEditModalButton.tsx +++ b/view/next-project/src/components/purchasereports/OpenEditModalButton.tsx @@ -2,11 +2,14 @@ import * as React from 'react'; import { useState } from 'react'; import { DetailEditModal } from './DetailEditModal'; +import { Expense, PurchaseReportView } from '@/type/common'; import { CloseButton, EditButton, Modal, PrimaryButton } from '@components/common'; import EditModal from '@components/purchasereports/EditModal'; interface Props { children?: React.ReactNode; + purchaseReportViewItem: PurchaseReportView; + expenses: Expense[]; id: number; isDisabled: boolean; } @@ -47,6 +50,8 @@ const OpenEditModalButton: React.FC = (props) => { {step === 'editDetails' && (