refactor(FE-208,213): enhance PurchaseOrderDetail and PurchaseOrderStaffApprovalForm components with initialValues prop and clean up unused code

This commit is contained in:
rstubryan
2025-11-18 18:22:10 +07:00
parent 75e7b9a6de
commit 8c3cd3bc53
3 changed files with 85 additions and 172 deletions
@@ -758,6 +758,7 @@ const PurchaseOrderDetail = ({
>
<PurchaseOrderStaffApprovalForm
type='add'
initialValues={purchaseData}
onCancel={staffApprovalModal.closeModal}
/>
</Modal>