diff --git a/src/pages/master/provider/blocks/AddDialog.tsx b/src/pages/master/provider/blocks/AddDialog.tsx
index 636ba54..3f5fe6e 100644
--- a/src/pages/master/provider/blocks/AddDialog.tsx
+++ b/src/pages/master/provider/blocks/AddDialog.tsx
@@ -64,8 +64,8 @@ const AddDialog = () => {
description: '',
type: '',
status: '',
- transactionTypeId: '',
- agentId: '',
+ transaction_type: '',
+ agent: '',
created_by: '',
created_at: ''
};
@@ -104,15 +104,15 @@ const AddDialog = () => {
formField.description.trim() === '' ||
formField.type.trim() === '' ||
formField.status.trim() === '' ||
- formField.transactionTypeId.trim() === '' ||
- formField.agentId.trim() === ''
+ formField.transaction_type === '' ||
+ formField.agent.trim() === ''
) {
setAlert({ show: true, message: 'Please fill in all required fields.' });
return;
}
doCreateProvider(e);
- // console.log(formField);
+ console.log(formField);
setAlert({ show: false, message: '' });
};
@@ -263,9 +263,9 @@ const AddDialog = () => {
Transaction Type Id*