merge-requests/335/head
haroon amjad 5 years ago
parent 9c1fdf96f4
commit 49c454b132

@ -1215,6 +1215,7 @@ const Map localizedValues = {
"ar": "حدد طريقة النقل" "ar": "حدد طريقة النقل"
}, },
"RRT-direction-heading": {"en": "Select Direction", "ar": "حدد الاتجاه"}, "RRT-direction-heading": {"en": "Select Direction", "ar": "حدد الاتجاه"},
"RRT-way-heading": {"en": "Select Way", "ar": "حدد الطريق"},
"to-hospital": {"en": "To Hospital", "ar": "الى المستشفى"}, "to-hospital": {"en": "To Hospital", "ar": "الى المستشفى"},
"from-hospital": {"en": "From Hospital", "ar": "من المستشفى"}, "from-hospital": {"en": "From Hospital", "ar": "من المستشفى"},
"one-direc": {"en": "One Way", "ar": "ذهاب"}, "one-direc": {"en": "One Way", "ar": "ذهاب"},

@ -206,7 +206,7 @@ class _SelectTransportationMethodState
SizedBox( SizedBox(
height: 8, height: 8,
), ),
Texts(TranslationBase.of(context).directionHeading), Texts(TranslationBase.of(context).wayHeading),
SizedBox( SizedBox(
height: 5, height: 5,
), ),

@ -99,6 +99,7 @@ class _HomePageState extends State<HomePage> {
Texts( Texts(
TranslationBase.of(context) TranslationBase.of(context)
.covidTest, .covidTest,
fontSize: 15.0,
color: Colors.white, color: Colors.white,
fontWeight: FontWeight.w700, fontWeight: FontWeight.w700,
), ),
@ -127,6 +128,7 @@ class _HomePageState extends State<HomePage> {
.driveThru, .driveThru,
fontWeight: fontWeight:
FontWeight.w700, FontWeight.w700,
fontSize: 15.0,
color: Colors.white, color: Colors.white,
), ),
ButtonTheme( ButtonTheme(
@ -141,7 +143,7 @@ class _HomePageState extends State<HomePage> {
context) context)
.size .size
.width * .width *
0.15, 0.14,
height: 25.0, height: 25.0,
child: RaisedButton( child: RaisedButton(
color: Colors color: Colors
@ -163,6 +165,7 @@ class _HomePageState extends State<HomePage> {
fontWeight: fontWeight:
FontWeight FontWeight
.w700, .w700,
fontSize: 14.0,
color: Colors color: Colors
.white, .white,
), ),

@ -1115,6 +1115,8 @@ class TranslationBase {
localizedValues['RRT-transport-heading'][locale.languageCode]; localizedValues['RRT-transport-heading'][locale.languageCode];
String get directionHeading => String get directionHeading =>
localizedValues['RRT-direction-heading'][locale.languageCode]; localizedValues['RRT-direction-heading'][locale.languageCode];
String get wayHeading =>
localizedValues['RRT-way-heading'][locale.languageCode];
String get toHospital => localizedValues['to-hospital'][locale.languageCode]; String get toHospital => localizedValues['to-hospital'][locale.languageCode];
String get fromHospital => String get fromHospital =>
localizedValues['from-hospital'][locale.languageCode]; localizedValues['from-hospital'][locale.languageCode];

@ -9,23 +9,23 @@ import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart';
import 'package:flutter_inappwebview/flutter_inappwebview.dart'; import 'package:flutter_inappwebview/flutter_inappwebview.dart';
class MyInAppBrowser extends InAppBrowser { class MyInAppBrowser extends InAppBrowser {
// static String SERVICE_URL =
// 'https://hmgwebservices.com/PayFortWeb/pages/SendPayFortRequest.aspx'; // Payfort Payment Gateway URL UAT
static String SERVICE_URL = static String SERVICE_URL =
'https://hmgwebservices.com/PayFortWebLive/pages/SendPayFortRequest.aspx'; //Payfort Payment Gateway URL LIVE 'https://hmgwebservices.com/PayFortWeb/pages/SendPayFortRequest.aspx'; // Payfort Payment Gateway URL UAT
// static String PREAUTH_SERVICE_URL = // static String SERVICE_URL =
// 'https://hmgwebservices.com/PayFortWeb/pages/SendPayFortRequest.aspx'; // Payfort PreAuth Payment Gateway URL UAT // 'https://hmgwebservices.com/PayFortWebLive/pages/SendPayFortRequest.aspx'; //Payfort Payment Gateway URL LIVE
static String PREAUTH_SERVICE_URL = static String PREAUTH_SERVICE_URL =
'https://hmgwebservices.com/PayFortWebLive/pages/SendPayFortRequest.aspx'; //Payfort PreAuth Payment Gateway URL Live Store 'https://hmgwebservices.com/PayFortWeb/pages/SendPayFortRequest.aspx'; // Payfort PreAuth Payment Gateway URL UAT
// static String PRESCRIPTION_PAYMENT_WITH_ORDERID = // static String PREAUTH_SERVICE_URL =
// 'https://uat.hmgwebservices.com/epharmacy/checkout/OpcCompleteRedirectionPaymentClientbyOrder?orderID='; // 'https://hmgwebservices.com/PayFortWebLive/pages/SendPayFortRequest.aspx'; //Payfort PreAuth Payment Gateway URL Live Store
static String PRESCRIPTION_PAYMENT_WITH_ORDERID = static String PRESCRIPTION_PAYMENT_WITH_ORDERID =
'https://mdlaboratories.com/exacartapi/checkout/OpcCompleteRedirectionPaymentClientbyOrder?orderID='; //Live 'https://uat.hmgwebservices.com/epharmacy/checkout/OpcCompleteRedirectionPaymentClientbyOrder?orderID=';
// static String PRESCRIPTION_PAYMENT_WITH_ORDERID =
// 'https://mdlaboratories.com/exacartapi/checkout/OpcCompleteRedirectionPaymentClientbyOrder?orderID='; //Live
static List<String> successURLS = [ static List<String> successURLS = [
'success', 'success',

Loading…
Cancel
Save