diff --git a/src/screens/Loan/CreateLoanOrderScreen.js b/src/screens/Loan/CreateLoanOrderScreen.js
index b5bf3d4..862fc22 100644
--- a/src/screens/Loan/CreateLoanOrderScreen.js
+++ b/src/screens/Loan/CreateLoanOrderScreen.js
@@ -300,9 +300,9 @@ const CreateLoanOrderScreen = () => {
}
setLoading(false);
if (res.success) {
- Alert.alert('Success', res.message || 'Order created', [{ text: 'OK', onPress: () => navigation.goBack() }]);
+ Alert.alert('Üstünlik', res.message || 'Order created', [{ text: 'OK', onPress: () => navigation.goBack() }]);
} else {
- Alert.alert('Error', res.error || 'Could not create');
+ Alert.alert('Ýalňyşlyk', res.error || 'Could not create');
}
};
@@ -350,10 +350,10 @@ const CreateLoanOrderScreen = () => {
-
+
-
+
{setWorkRegion(val); setWorkProvinceId('');}} placeholder="Saýla" error={submitted && !workRegion} />
({label:b.name,value:b.id})) : []} onValueChange={setWorkProvinceId} placeholder="Saýla" disabled={!workRegion} error={submitted && !workProvinceId} />
diff --git a/src/screens/Loan/LoanOrderDetailsScreen.js b/src/screens/Loan/LoanOrderDetailsScreen.js
index cb72455..e24a409 100644
--- a/src/screens/Loan/LoanOrderDetailsScreen.js
+++ b/src/screens/Loan/LoanOrderDetailsScreen.js
@@ -173,12 +173,11 @@ const LoanOrderDetailsScreen = () => {
{/* Applicant card info */}
{order.card_number && (
<>
- Kartanyň maglumatlary (Arza beriji)
+ Kart maglumatlary (Arza beriji)
- {order.card_name && }
-
- {order.card_month && }
- {order.card_year && }
+ {order.card_name && }
+
+ {order.card_month && order.card_year && }
>
)}
@@ -189,11 +188,9 @@ const LoanOrderDetailsScreen = () => {
Zamun (1)
- {order.guarantor_card_name && }
- {order.guarantor_card_number && }
- {order.guarantor_card_month && }
- {order.guarantor_card_year && }
- {order.guarantor_note && }
+ {order.guarantor_card_name && }
+ {order.guarantor_card_number && }
+ {order.guarantor_card_month && order.guarantor_card_year && }
>
)}
@@ -204,11 +201,9 @@ const LoanOrderDetailsScreen = () => {
Zamun (2)
- {order.guarantor_2_card_name && }
- {order.guarantor_2_card_number && }
- {order.guarantor_2_card_month && }
- {order.guarantor_2_card_year && }
- {order.guarantor_2_note && }
+ {order.guarantor_2_card_name && }
+ {order.guarantor_2_card_number && }
+ {order.guarantor_2_card_month && order.guarantor_2_card_year && }
>
)}