TP-65692 | Payment Link fix

This commit is contained in:
yashmantri
2024-09-30 19:04:19 +05:30
parent 89985a9fdb
commit e225f2290c
3 changed files with 7 additions and 7 deletions

View File

@@ -134,8 +134,8 @@ def reactNativeArchitectures() {
return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
}
def VERSION_CODE = 199
def VERSION_NAME = "2.13.11"
def VERSION_CODE = 200
def VERSION_NAME = "2.13.12"
android {
ndkVersion rootProject.ext.ndkVersion

View File

@@ -1,7 +1,7 @@
{
"name": "AV_APP",
"version": "2.13.11",
"buildNumber": "199",
"version": "2.13.12",
"buildNumber": "200",
"private": true,
"scripts": {
"android:dev": "yarn move:dev && react-native run-android",

View File

@@ -263,9 +263,9 @@ const OnlinePayment: React.FC<IOnlinePayment> = ({
max: maxAmount,
validate: (value) => {
const amountVal = Number(value);
if (amountVal !== foreClosureDetails?.totalAmount)
return isValidAmountEntered(amountVal) && Number.isInteger(amountVal);
return isValidAmountEntered(amountVal);
if (amountVal === foreClosureDetails?.totalAmount || amountVal === amount)
return isValidAmountEntered(amountVal);
return isValidAmountEntered(amountVal) && Number.isInteger(amountVal);
},
}}
/>