7/3/1
This commit is contained in:
@@ -110,8 +110,8 @@ class FirebaseMessagesController extends GetxController {
|
||||
'body': message.notification!.body
|
||||
});
|
||||
} else if (message.notification!.title == 'Cancel Trip'.tr) {
|
||||
// NotificationController().showNotification(
|
||||
// 'Cancel Trip'.tr, 'Passenger Cancel Trip'.tr, 'cancel');
|
||||
NotificationController().showNotification(
|
||||
'Cancel Trip'.tr, 'Passenger Cancel Trip'.tr, 'cancel');
|
||||
cancelTripDialog();
|
||||
} else if (message.notification!.title! == 'token change'.tr) {
|
||||
// NotificationController()
|
||||
|
||||
@@ -156,44 +156,46 @@ class AI extends GetxController {
|
||||
),
|
||||
],
|
||||
);
|
||||
} else if (responseCriminalRecordEgypt['FullName'] !=
|
||||
responseIdEgyptDriverLicense['name_arabic']) {
|
||||
Get.defaultDialog(
|
||||
barrierDismissible: false,
|
||||
title: 'Criminal Record Mismatch',
|
||||
content: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
const Icon(Icons.warning, size: 48, color: Colors.red),
|
||||
const SizedBox(height: 16),
|
||||
Text(
|
||||
'The full name on your criminal record does not match the one on your driver’s license. Please verify and provide the correct documents.'
|
||||
.tr,
|
||||
textAlign: TextAlign.center,
|
||||
style: AppStyle.title,
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
IconButton(
|
||||
onPressed: () async {
|
||||
await Get.find<TextToSpeechController>().speakText(
|
||||
'The full name on your criminal record does not match the one on your driver’s license. Please verify and provide the correct documents.'
|
||||
.tr,
|
||||
);
|
||||
},
|
||||
icon: const Icon(Icons.volume_up),
|
||||
),
|
||||
],
|
||||
),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
Get.back();
|
||||
},
|
||||
child: const Text('OK'),
|
||||
),
|
||||
],
|
||||
);
|
||||
} else {
|
||||
}
|
||||
// else if (responseCriminalRecordEgypt['FullName'] !=
|
||||
// responseIdEgyptDriverLicense['name_arabic']) {
|
||||
// Get.defaultDialog(
|
||||
// barrierDismissible: false,
|
||||
// title: 'Criminal Record Mismatch',
|
||||
// content: Column(
|
||||
// mainAxisSize: MainAxisSize.min,
|
||||
// children: [
|
||||
// const Icon(Icons.warning, size: 48, color: Colors.red),
|
||||
// const SizedBox(height: 16),
|
||||
// Text(
|
||||
// 'The full name on your criminal record does not match the one on your driver’s license. Please verify and provide the correct documents.'
|
||||
// .tr,
|
||||
// textAlign: TextAlign.center,
|
||||
// style: AppStyle.title,
|
||||
// ),
|
||||
// const SizedBox(height: 16),
|
||||
// IconButton(
|
||||
// onPressed: () async {
|
||||
// await Get.find<TextToSpeechController>().speakText(
|
||||
// 'The full name on your criminal record does not match the one on your driver’s license. Please verify and provide the correct documents.'
|
||||
// .tr,
|
||||
// );
|
||||
// },
|
||||
// icon: const Icon(Icons.volume_up),
|
||||
// ),
|
||||
// ],
|
||||
// ),
|
||||
// actions: [
|
||||
// TextButton(
|
||||
// onPressed: () {
|
||||
// Get.back();
|
||||
// },
|
||||
// child: const Text('OK'),
|
||||
// ),
|
||||
// ],
|
||||
// );
|
||||
// }
|
||||
else {
|
||||
await addDriverEgypt();
|
||||
await addRegistrationCarEgypt();
|
||||
|
||||
@@ -234,7 +236,7 @@ class AI extends GetxController {
|
||||
var status = responseIdEgyptBack['fullName'] ?? '';
|
||||
var birthdate = responseIdEgyptFront['dob'] != null
|
||||
? DateTime.parse(responseIdEgyptFront['dob'] + '-01-01').toString()
|
||||
: '';
|
||||
: '1960-01-01';
|
||||
|
||||
var maritalStatus = responseIdEgyptBack['maritalStatus'] ?? '';
|
||||
var site = responseIdEgyptDriverLicense['address'] ?? '';
|
||||
|
||||
@@ -24,6 +24,8 @@ import '../../functions/location_controller.dart';
|
||||
class MapDriverController extends GetxController {
|
||||
bool isLoading = true;
|
||||
final formKey1 = GlobalKey<FormState>();
|
||||
final formKey2 = GlobalKey<FormState>();
|
||||
final messageToPassenger = TextEditingController();
|
||||
final sosEmergincyNumberCotroller = TextEditingController();
|
||||
List data = [];
|
||||
List dataDestination = [];
|
||||
|
||||
@@ -29,8 +29,7 @@ class PaymobPayout extends GetxController {
|
||||
'client_secret': AK.payMobOutClientSecrret
|
||||
};
|
||||
var res = await http.post(
|
||||
Uri.parse(
|
||||
'https://stagingpayouts.paymobsolutions.com/api/secure/o/token/'),
|
||||
Uri.parse('https://payouts.paymobsolutions.com/api/secure/o/token/'),
|
||||
headers: headers,
|
||||
body: body,
|
||||
);
|
||||
@@ -55,8 +54,7 @@ class PaymobPayout extends GetxController {
|
||||
"msisdn": msisdn, // "01023456789"
|
||||
});
|
||||
var res = await http.post(
|
||||
Uri.parse(
|
||||
'https://stagingpayouts.paymobsolutions.com/api/secure/disburse/'),
|
||||
Uri.parse('https://paymobsolutions.com/api/secure/disburse/'),
|
||||
headers: headers,
|
||||
body: body,
|
||||
);
|
||||
@@ -131,8 +129,7 @@ class PaymobPayout extends GetxController {
|
||||
};
|
||||
var res = await http
|
||||
.post(
|
||||
Uri.parse(
|
||||
'https://stagingpayouts.paymobsolutions.com/api/secure/disburse/'),
|
||||
Uri.parse('https://paymobsolutions.com/api/secure/disburse/'),
|
||||
headers: headers,
|
||||
body: body,
|
||||
)
|
||||
|
||||
@@ -4,61 +4,60 @@ class MyTranslation extends Translations {
|
||||
@override
|
||||
Map<String, Map<String, String>> get keys => {
|
||||
"ar": {
|
||||
'Cost Of Trip IS ': "تكلفة الرحلة هي",
|
||||
'message From passenger': "رسالة من الراكب",
|
||||
"Where are you, sir?": "أنا وصلت حضرتك فين.",
|
||||
"I've been trying to reach you but your phone is off.":
|
||||
"بحاول أكلمك التلفون مغلق.",
|
||||
"Please don't be late": "أرجو عدم التأخير",
|
||||
"Please don't be late, I'm waiting for you at the specified location.":
|
||||
"أرجو عدم التأخير، أنا منتظرك على ال لوكيشن المحدد.",
|
||||
"You must be recharge your Account":
|
||||
"رصيد حسابك غير كافٍ. يرجى إعادة الشحن للمتابعة",
|
||||
"Commercial International Bank (CIB)": "البنك التجاري الدولي (CIB)",
|
||||
"National Bank of Egypt": "البنك الأهلي المصري",
|
||||
"Qatar National Bank (QNB Alahli)": "بنك قطر الوطني (QNB الأهلي)",
|
||||
"Ahli United Bank": "البنك الأهلي المتحد",
|
||||
"Citi Bank N.A. Egypt": "سيتي بنك مصر",
|
||||
"MIDBANK": "بنك ميد",
|
||||
"Banque Du Caire": "بنك القاهرة",
|
||||
"HSBC Bank Egypt S.A.E": "اتش اس بي سي",
|
||||
"Credit Agricole Egypt S.A.E": "كريدي أجريكول مصر",
|
||||
"Egyptian Gulf Bank": "البنك المصري الخليجي",
|
||||
"The United Bank": "البنك المتحد",
|
||||
"Qatar National Bank Alahli": "البنك الأهلي القطري",
|
||||
"Arab Bank PLC": "البنك العربي",
|
||||
"Emirates National Bank of Dubai": "بنك الإمارات دبي الوطني",
|
||||
"Al Ahli Bank of Kuwait – Egypt": "البنك الأهلي الكويتي - مصر",
|
||||
"National Bank of Kuwait – Egypt": "البنك الوطني الكويتي - مصر",
|
||||
"Arab Banking Corporation - Egypt S.A.E":
|
||||
"الشركة العربية المصرفية - مصر",
|
||||
"First Abu Dhabi Bank": "بنك أبوظبي الأول",
|
||||
"Abu Dhabi Islamic Bank – Egypt": "مصرف أبوظبي الإسلامي - مصر",
|
||||
"Commercial International Bank - Egypt S.A.E":
|
||||
"البنك التجاري الدولي - مصر",
|
||||
"Housing And Development Bank": "بنك الإسكان والتعمير",
|
||||
"Banque Misr": "بنك مصر",
|
||||
"AlexBank": "بنك الإسكندرية",
|
||||
"Banque du Caire (BDC)": "بنك القاهرة",
|
||||
"HSBC Bank Egypt": "بنك HSBC مصر",
|
||||
"Faisal Islamic Bank of Egypt (FAIB)": "بنك فيصل الإسلامي المصري",
|
||||
"Arab African International Bank (AAIB)":
|
||||
"البنك العربي الأفريقي الدولي",
|
||||
"Export Development Bank of Egypt (EDBE)":
|
||||
"بنك تنمية الصادرات المصري",
|
||||
"Industrial Development Bank of Egypt (IDB)":
|
||||
"بنك التنمية الصناعية المصري",
|
||||
"Suez Canal Bank (SCB)": "بنك قناة السويس",
|
||||
"Bank Audi Egypt": "بنك عوده مصر",
|
||||
"Union National Bank Egypt": "بنك الاتحاد الوطني مصر",
|
||||
"Al Baraka Bank Egypt": "بنك البركة مصر",
|
||||
"Blom Bank (BBE)": "بنك بلوم مصر",
|
||||
"Crédit Agricole Egypt (CAE)": "بنك كريدي أجريكول مصر",
|
||||
"Egyptian Gulf Bank (EG Bank)": "بنك الخليج المصري",
|
||||
"Housing and Development Bank (HDB)": "بنك التعمير والإسكان",
|
||||
"The United Bank of Egypt (UB)": "البنك المتحد مصر",
|
||||
"Arab Bank Plc. (ARAB)": "البنك العربي ش.م.ع.",
|
||||
"Emirates NBD (ENBD)": "بنك الإمارات دبي الوطني",
|
||||
"Al Ahli Bank of Kuwait - Egypt (ABK-Egypt)":
|
||||
"البنك الأهلي الكويتي - مصر",
|
||||
"National Bank of Kuwait - Egypt (NBK-Egypt)":
|
||||
"بنك الكويت الوطني - مصر",
|
||||
"Arab Banking Corporation (Bank ABC)":
|
||||
"مؤسسة التمويل العربي (بنك ABC)",
|
||||
"First Abu Dhabi Bank (FAB)": "بنك أبوظبي الأول",
|
||||
"Abu Dhabi Islamic Bank (ADIB)": "بنك أبوظبي الإسلامي",
|
||||
"Egyptian Arab Land Bank (EALB)": "بنك التعمير العربي المصري",
|
||||
"Abu Dhabi Commercial Bank - Egypt (ADCB)":
|
||||
"بنك أبوظبي التجاري - مصر",
|
||||
"Bank of Alexandria (BOA)": "بنك الإسكندرية",
|
||||
"Société Arabe Internationale de Banque (SAIB)":
|
||||
"البنك العربي الدولي للتجارة (SAIB)",
|
||||
"Attijariwafa Bank Egypt (ABRK)": "بنك التجاري وفا مصر",
|
||||
"Principal Bank for Development and Agricultural Credit (POST)":
|
||||
"البنك الرئيسي للتنمية والائتمان الزراعي",
|
||||
"Nasser Social Bank (NSB)": "بنك ناصر الاجتماعي",
|
||||
"Mashreq Bank (MASH)": "بنك المشرق",
|
||||
"Arab International Bank (AIB)": "البنك العربي الدولي",
|
||||
"General Authority for Suez Canal Economic Zone (GASC)":
|
||||
"الهيئة العامة للمنطقة الاقتصادية لقناة السويس",
|
||||
"Arab Investment Bank (AIBK)": "بنك الاستثمار العربي (AIBK)",
|
||||
"Piraeus Bank (PDAC)": "بنك بيريوس",
|
||||
"National Bank of Greece (ceased operations in Egypt)":
|
||||
"البنك الوطني اليوناني (توقف عن العمل في مصر)",
|
||||
"Central Bank of Egypt (CBE)": "البنك المركزي المصري",
|
||||
"Barclays Egypt (BBE)": "بنك باركليز مصر",
|
||||
"Arab African International Bank": "البنك العربي الأفريقي الدولي",
|
||||
"Egyptian Arab Land Bank": "البنك المصري العربي",
|
||||
"Export Development Bank of Egypt": "بنك التنمية والتصدير المصري",
|
||||
"Faisal Islamic Bank of Egypt": "البنك الإسلامي المصري",
|
||||
"Blom Bank": "بلوم بنك",
|
||||
"Abu Dhabi Commercial Bank – Egypt": "بنك أبوظبي التجاري - مصر",
|
||||
"Alex Bank Egypt": "بنك الإسكندرية",
|
||||
"Societe Arabe Internationale De Banque": "البنك العربي الدولي",
|
||||
"National Bank of Egypt": "البنك الأهلي المصري",
|
||||
"Al Baraka Bank Egypt B.S.C.": "بنك البركة مصر",
|
||||
"Egypt Post": "البريد المصري",
|
||||
"Nasser Social Bank": "بنك ناصر الاجتماعي",
|
||||
"Industrial Development Bank": "بنك التنمية الصناعية والعمال",
|
||||
"Suez Canal Bank": "بنك قناة السويس",
|
||||
"Mashreq Bank": "بنك المشرق",
|
||||
"Arab Investment Bank": "البنك العربي للاستثمار",
|
||||
"General Authority For Supply Commodities":
|
||||
"الهيئة العامة للسلع التموينية",
|
||||
"Arab International Bank": "البنك العربي الدولي",
|
||||
"Agricultural Bank of Egypt": "البنك الزراعي المصري",
|
||||
"National Bank of Greece": "البنك الوطني اليوناني",
|
||||
"Central Bank Of Egypt": "البنك المركزي المصري",
|
||||
"ATTIJARIWAFA BANK Egypt": "البنك التجاري وفا مصر",
|
||||
"Morning Promo": "عرض الصباح",
|
||||
"this is count of your all trips in the morning promo today from 7:00am-10:00am":
|
||||
"هذا عدد جميع رحلاتك في عرض الصباح اليوم من الساعة 7:00 صباحًا حتى 10:00 صباحًا",
|
||||
|
||||
Reference in New Issue
Block a user