restructured card payment modal and added audit trailing

This commit is contained in:
swtmply
2023-03-14 02:35:56 +08:00
parent a44ed3c406
commit a3cc5c2324
3 changed files with 95 additions and 38 deletions

View File

@@ -25,16 +25,12 @@ function CardPaymentModalContainer({
const handleCancel = () => {
toggleModalVisible();
actions.refetch();
};
const handleOK = () => {
toggleModalVisible();
actions.refetch();
};
const handleNewPayment = () => {};
return (
<Modal
visible={visible}
@@ -44,9 +40,6 @@ function CardPaymentModalContainer({
<Button key="back" onClick={handleCancel}>
Go Back
</Button>,
<Button key="submit" type="primary" onClick={handleNewPayment}>
Submit Payment
</Button>,
]}
width="50%"
destroyOnClose