Compare commits
6 Commits
63ccfb45c6
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
06271553f6 | ||
|
|
0cb4ae4124 | ||
|
|
cc34c258c7 | ||
|
|
16c55eba77 | ||
|
|
50fb227c52 | ||
|
|
f8301b1319 |
@@ -34,6 +34,8 @@
|
|||||||
"Not specified":"Not specified",
|
"Not specified":"Not specified",
|
||||||
"Thai name/english name in passport":"Thai name/english name in passport",
|
"Thai name/english name in passport":"Thai name/english name in passport",
|
||||||
"English name":"English name",
|
"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",
|
"nationality":"nationality",
|
||||||
"Date of birth":"Date of birth",
|
"Date of birth":"Date of birth",
|
||||||
"Mobilephone number":"Mobilephone number",
|
"Mobilephone number":"Mobilephone number",
|
||||||
|
|||||||
@@ -32,8 +32,10 @@
|
|||||||
"Mrs.":"นาง",
|
"Mrs.":"นาง",
|
||||||
"Miss":"นางสาว",
|
"Miss":"นางสาว",
|
||||||
"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":"ชื่อ-นามสกุล ภาษาไทย",
|
||||||
|
"English name_passport":"ชื่อ-นามสกุล ภาษาอังกฤษ",
|
||||||
"nationality":"สัญชาติ",
|
"nationality":"สัญชาติ",
|
||||||
"Date of birth":"วันเดือนปีเกิด",
|
"Date of birth":"วันเดือนปีเกิด",
|
||||||
"Mobilephone number":"เบอร์โทรศัพท์",
|
"Mobilephone number":"เบอร์โทรศัพท์",
|
||||||
|
|||||||
@@ -91,6 +91,10 @@ class _ChangePasswordPageState extends State<ChangePasswordPage> {
|
|||||||
leading: CupertinoButton(
|
leading: CupertinoButton(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Navigator.pop(context);
|
Navigator.pop(context);
|
||||||
|
_current_pass.text = "";
|
||||||
|
_new_pass.text = "";
|
||||||
|
_confirm_pass.text="";
|
||||||
|
|
||||||
},
|
},
|
||||||
child: const Icon(
|
child: const Icon(
|
||||||
Icons.arrow_back,
|
Icons.arrow_back,
|
||||||
|
|||||||
@@ -35,6 +35,8 @@ class _LoginValidateState extends State<ForgotPassword> {
|
|||||||
} else if (Platform.isIOS) {
|
} else if (Platform.isIOS) {
|
||||||
iosDeviceInfo = await device.iosInfo;
|
iosDeviceInfo = await device.iosInfo;
|
||||||
}
|
}
|
||||||
|
email.text ="";
|
||||||
|
phone.text="";
|
||||||
}
|
}
|
||||||
|
|
||||||
authen(BuildContext context) {
|
authen(BuildContext context) {
|
||||||
|
|||||||
@@ -173,7 +173,7 @@ class _TransferPromptPayDetailState extends State<TransferPromptPayDetail> {
|
|||||||
// var param = jsonEncode(<dynamic, dynamic>{"IDCardOrMobileDeviceNo": widget.phone, "Amount": priceTemp});
|
// var param = jsonEncode(<dynamic, dynamic>{"IDCardOrMobileDeviceNo": widget.phone, "Amount": priceTemp});
|
||||||
|
|
||||||
var param = jsonEncode(
|
var param = jsonEncode(
|
||||||
<dynamic, dynamic>{"requestTransactionID": Utils.getDateInitPromptPay() + widget.phone.lastChars(4), "iDCardorMobileNo": widget.phone, "amount": "${priceTemp}00"});
|
<dynamic, dynamic>{"requestTransactionID": Utils.getDateInitPromptPay() + widget.phone.lastChars(4), "iDCardorMobileNo": widget.phone, "amount": "${(double.parse(priceTemp).toStringAsFixed(2)).replaceAll(".", "")}"});
|
||||||
Api.post(context, Api.payPromptPayInitial, param).then((value) => {
|
Api.post(context, Api.payPromptPayInitial, param).then((value) => {
|
||||||
if (value != null)
|
if (value != null)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ class _PayQrDialogV2State extends State<PayQrDialogV2> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
"จำนวนเงิน/Amount ฿" + widget.price,
|
"จำนวนเงิน/Amount ฿" + widget.price,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: Color(0xff65676b),
|
color: Color(0xff65676b),
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
|
|||||||
@@ -335,7 +335,7 @@ class _RegisterDataState extends State<RegisterData> {
|
|||||||
mainAxisAlignment: MainAxisAlignment.start,
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Text(
|
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(
|
style: GoogleFonts.kanit(
|
||||||
color: Color(0xff565656),
|
color: Color(0xff565656),
|
||||||
fontSize: 15,
|
fontSize: 15,
|
||||||
@@ -388,35 +388,37 @@ class _RegisterDataState extends State<RegisterData> {
|
|||||||
color: Color(0xfff3f3f3),
|
color: Color(0xfff3f3f3),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Row(
|
Column(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Row(
|
||||||
"English name".tr(),
|
children: [
|
||||||
|
Text(
|
||||||
|
isPassport? "English name_passport".tr(): "English name".tr(),
|
||||||
|
style: GoogleFonts.kanit(
|
||||||
|
color: Color(0xff565656),
|
||||||
|
fontSize: 15,
|
||||||
|
),
|
||||||
|
),Spacer()
|
||||||
|
],
|
||||||
|
),
|
||||||
|
TextField(
|
||||||
style: GoogleFonts.kanit(
|
style: GoogleFonts.kanit(
|
||||||
color: Color(0xff565656),
|
color: Color(0xff565656),
|
||||||
fontSize: 15,
|
fontSize: 14,
|
||||||
),
|
),
|
||||||
),
|
inputFormatters: <TextInputFormatter>[FilteringTextInputFormatter.allow(RegExp('[a-z A-Z]'))],
|
||||||
Expanded(
|
keyboardType: TextInputType.text,
|
||||||
child: TextField(
|
textAlign: TextAlign.right,
|
||||||
style: GoogleFonts.kanit(
|
controller: nameEnEditText,
|
||||||
color: Color(0xff565656),
|
decoration: InputDecoration(
|
||||||
fontSize: 14,
|
hintText: '',
|
||||||
),
|
suffixIcon: Icon(
|
||||||
inputFormatters: <TextInputFormatter>[FilteringTextInputFormatter.allow(RegExp('[a-z A-Z]'))],
|
Icons.arrow_forward_ios_rounded,
|
||||||
keyboardType: TextInputType.text,
|
size: 15,
|
||||||
textAlign: TextAlign.right,
|
color: Colors.grey,
|
||||||
controller: nameEnEditText,
|
|
||||||
decoration: InputDecoration(
|
|
||||||
hintText: '',
|
|
||||||
suffixIcon: Icon(
|
|
||||||
Icons.arrow_forward_ios_rounded,
|
|
||||||
size: 15,
|
|
||||||
color: Colors.grey,
|
|
||||||
),
|
|
||||||
border: InputBorder.none,
|
|
||||||
),
|
),
|
||||||
|
border: InputBorder.none,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
// Expanded(
|
// Expanded(
|
||||||
|
|||||||
@@ -112,6 +112,8 @@ class _RegisterSignaturePageState extends State<RegisterSignaturePage> {
|
|||||||
"work_address": addressJob2.text,
|
"work_address": addressJob2.text,
|
||||||
"image_person_with_card_url": imageEkycPath,
|
"image_person_with_card_url": imageEkycPath,
|
||||||
"signature_url": signaturePath,
|
"signature_url": signaturePath,
|
||||||
|
"user_name": username.text,
|
||||||
|
"purpose": target,
|
||||||
});
|
});
|
||||||
Api.post(context, Api.ekyc, param).then((value) =>
|
Api.post(context, Api.ekyc, param).then((value) =>
|
||||||
{
|
{
|
||||||
@@ -120,7 +122,7 @@ class _RegisterSignaturePageState extends State<RegisterSignaturePage> {
|
|||||||
setState(() {
|
setState(() {
|
||||||
loading = false;
|
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, '/');
|
Navigator.pushNamed(context, '/');
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ class _TransferPromptPayDetailState extends State<TopUpAmountPage> {
|
|||||||
});
|
});
|
||||||
var param = jsonEncode(<dynamic, dynamic>{
|
var param = jsonEncode(<dynamic, dynamic>{
|
||||||
"merchantLocalID": Api.merchantId,
|
"merchantLocalID": Api.merchantId,
|
||||||
"amount": "${number}00",
|
"amount": "${(double.parse(number).toStringAsFixed(2)).replaceAll(".", "")}}",
|
||||||
"invoice": "INV${Utils.getTimestamp()}",
|
"invoice": "INV${Utils.getTimestamp()}",
|
||||||
"ref1": "REF${Utils.getTimestamp()}01",
|
"ref1": "REF${Utils.getTimestamp()}01",
|
||||||
"ref2": "REF${Utils.getTimestamp()}02",
|
"ref2": "REF${Utils.getTimestamp()}02",
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
|||||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||||
# In Windows, build-name is used as the major, minor, and patch parts
|
# In Windows, build-name is used as the major, minor, and patch parts
|
||||||
# of the product and file versions while build-number is used as the build suffix.
|
# of the product and file versions while build-number is used as the build suffix.
|
||||||
version: 1.0.4+4
|
version: 1.0.4+5
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=2.19.3 <3.0.0'
|
sdk: '>=2.19.3 <3.0.0'
|
||||||
|
|||||||
Reference in New Issue
Block a user