|
@@ -168,7 +168,7 @@ const Upsert = useUpsert({
|
|
|
payment_type_list.map(e => {
|
|
|
return {
|
|
|
label: e.name || '',
|
|
|
- value: e.id
|
|
|
+ value: e.value
|
|
|
};
|
|
|
})
|
|
|
);
|
|
@@ -181,14 +181,14 @@ const Upsert = useUpsert({
|
|
|
'DEPOSIT_method',
|
|
|
payment_type_list.map(e => ({
|
|
|
label: e.name || '',
|
|
|
- value: e.id
|
|
|
+ value: e.value
|
|
|
}))
|
|
|
);
|
|
|
Upsert.value?.setOptions(
|
|
|
'WITHDRAWAL_method',
|
|
|
payment_type_list.map(e => ({
|
|
|
label: e.name || '',
|
|
|
- value: e.id
|
|
|
+ value: e.value
|
|
|
}))
|
|
|
);
|
|
|
return
|
|
@@ -202,7 +202,7 @@ const Upsert = useUpsert({
|
|
|
'method',
|
|
|
payment_type_list.map(e => ({
|
|
|
label: e.name || '',
|
|
|
- value: e.id
|
|
|
+ value: e.value
|
|
|
}))
|
|
|
);
|
|
|
},
|