diff --git a/src/pages/transfer/transferfee/blocks/AddDialog.tsx b/src/pages/transfer/transferfee/blocks/AddDialog.tsx
index e626f5e..65f032e 100644
--- a/src/pages/transfer/transferfee/blocks/AddDialog.tsx
+++ b/src/pages/transfer/transferfee/blocks/AddDialog.tsx
@@ -75,7 +75,7 @@ const AddFeeDialog = () => {
period_end: '',
deduct_amount: 0,
deduct_percentage: 0,
- priority: false,
+ priority: '',
status: '',
status_include: '',
created_by: '',
@@ -107,7 +107,7 @@ const AddFeeDialog = () => {
transaction_type: formField.transaction_type,
status: formField.status,
status_include: formField.status_include,
- priority: formField.priority ? 'Y' : 'N'
+ priority: formField.priority
};
};
useEffect(() => {
@@ -162,7 +162,6 @@ const AddFeeDialog = () => {
const response = await PostData(`${API_URL}/transactionfees/create`, {
...formField
});
- // console.log(response);
if (response?.status) {
toast.success('Success Create Transfer Fee');
reload();
@@ -370,10 +369,8 @@ const AddFeeDialog = () => {
-
-
-
+
+
+
{/*
diff --git a/src/pages/transfer/transferfee/hooks/ManageTransferFeeContext.tsx b/src/pages/transfer/transferfee/hooks/ManageTransferFeeContext.tsx
index 8188d4d..8703234 100644
--- a/src/pages/transfer/transferfee/hooks/ManageTransferFeeContext.tsx
+++ b/src/pages/transfer/transferfee/hooks/ManageTransferFeeContext.tsx
@@ -153,7 +153,7 @@ const ManageTransferFeeContextProvider = ({ children }: { children: React.ReactN
meta: { headerClassName: 'w-[100px]' }
},
{
- accessorFn: (row) => (row.status === 'Y' ? 'Active' : 'Inactieve'),
+ accessorFn: (row) => (row.status === 'Y' ? 'Active' : 'Inactive'),
id: 'status',
header: ({ column }) =>
,
enableSorting: true,
diff --git a/src/pages/transfer/transfertype/blocks/EditDialog.tsx b/src/pages/transfer/transfertype/blocks/EditDialog.tsx
index 54bf485..0061789 100644
--- a/src/pages/transfer/transfertype/blocks/EditDialog.tsx
+++ b/src/pages/transfer/transfertype/blocks/EditDialog.tsx
@@ -240,6 +240,7 @@ const EditDialog = () => {
{
{
{
{
{
-
+