mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-21 21:43:57 +00:00
fix wallet bug
This commit is contained in:
@@ -108,7 +108,7 @@
|
||||
amount: '0.00',
|
||||
transaction_type: 0,
|
||||
reference: ''
|
||||
}
|
||||
},
|
||||
}
|
||||
},
|
||||
created(){
|
||||
@@ -119,7 +119,7 @@
|
||||
parameters: {
|
||||
amount: {
|
||||
required,
|
||||
minValue: 10.000,
|
||||
minValue: this.minValue(),
|
||||
},
|
||||
reference: {
|
||||
required: requiredIf(function () { return this.parameters.transaction_type !== 0 })
|
||||
@@ -127,6 +127,12 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
minValue()
|
||||
{
|
||||
return this.transaction_type === 0 ? 10.0000 : 0;
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
successHandler(response){
|
||||
if (this.parameters.transaction_type === 0) {
|
||||
|
||||
Reference in New Issue
Block a user