bug fixed

This commit is contained in:
nutchayut
2025-01-28 22:20:11 +07:00
parent 63ccfb45c6
commit f8301b1319
7 changed files with 16 additions and 4 deletions

View File

@@ -34,6 +34,8 @@
"Not specified":"Not specified",
"Thai name/english name in passport":"Thai name/english name in passport",
"English name":"English name",
"Thai name/english name in passport_passport":"First name - last name, local language as per passport",
"English name_passport":"First name - last name in English",
"nationality":"nationality",
"Date of birth":"Date of birth",
"Mobilephone number":"Mobilephone number",

View File

@@ -34,6 +34,8 @@
"Not specified":"ไม่ระบุ",
"Thai name/english name in passport":"ชื่อภาษาไทย",
"English name":"ชื่อภาษาอังกฤษ",
"Thai name/english name in passport_passport":"ชื่อภาษาไทย",
"English name_passport":"ชื่อภาษาอังกฤษ",
"nationality":"สัญชาติ",
"Date of birth":"วันเดือนปีเกิด",
"Mobilephone number":"เบอร์โทรศัพท์",

View File

@@ -91,6 +91,10 @@ class _ChangePasswordPageState extends State<ChangePasswordPage> {
leading: CupertinoButton(
onPressed: () {
Navigator.pop(context);
_current_pass.text = "";
_new_pass.text = "";
_confirm_pass.text="";
},
child: const Icon(
Icons.arrow_back,

View File

@@ -35,6 +35,8 @@ class _LoginValidateState extends State<ForgotPassword> {
} else if (Platform.isIOS) {
iosDeviceInfo = await device.iosInfo;
}
email.text ="";
phone.text="";
}
authen(BuildContext context) {

View File

@@ -108,7 +108,7 @@ class _PayQrDialogV2State extends State<PayQrDialogV2> {
),
),
Text(
"จำนวนเงิน/Amount ฿" + widget.price,
"จำนวนเงิน/Amount ฿" + widget.price,
style: TextStyle(
color: Color(0xff65676b),
fontSize: 16,

View File

@@ -335,7 +335,7 @@ class _RegisterDataState extends State<RegisterData> {
mainAxisAlignment: MainAxisAlignment.start,
children: [
Text(
"Thai name/english name in passport".tr(),
isPassport?"Thai name/english name in passport_passport".tr(): "Thai name/english name in passport".tr(),
style: GoogleFonts.kanit(
color: Color(0xff565656),
fontSize: 15,
@@ -392,7 +392,7 @@ class _RegisterDataState extends State<RegisterData> {
mainAxisSize: MainAxisSize.min,
children: [
Text(
"English name".tr(),
isPassport? "English name_passport".tr(): "English name".tr(),
style: GoogleFonts.kanit(
color: Color(0xff565656),
fontSize: 15,

View File

@@ -112,6 +112,8 @@ class _RegisterSignaturePageState extends State<RegisterSignaturePage> {
"work_address": addressJob2.text,
"image_person_with_card_url": imageEkycPath,
"signature_url": signaturePath,
"user_name": username.text,
"purpose": target,
});
Api.post(context, Api.ekyc, param).then((value) =>
{
@@ -120,7 +122,7 @@ class _RegisterSignaturePageState extends State<RegisterSignaturePage> {
setState(() {
loading = false;
}),
Utils.showAlertDialogCallback(context, "กรุณาเช็ e-mail เพื่อยืนยัน\nPlease check you e-mail and confirm", (value) {
Utils.showAlertDialogCallback(context, "กรุณาเช็ e-mail เพื่อยืนยัน และรอการตรวจสอบข้อมูลยืนยันตัวตนภายใน 48 ชั่วโมง\nPlease check your email to confirm and wait for verification of your identity within 48 hours", (value) {
Navigator.pushNamed(context, '/');
})
}