dev_3.3_faiz_payfort
haroon amjad 2 years ago
parent 86d3e03c06
commit e6d093a84c

@ -20,8 +20,8 @@ var PACKAGES_ORDERS = '/api/orders';
var PACKAGES_ORDER_HISTORY = '/api/orders/items'; var PACKAGES_ORDER_HISTORY = '/api/orders/items';
var PACKAGES_TAMARA_OPT = '/api/orders/paymentoptions/tamara'; var PACKAGES_TAMARA_OPT = '/api/orders/paymentoptions/tamara';
// var BASE_URL = 'http://10.50.100.198:4422/'; // var BASE_URL = 'http://10.50.100.198:4422/';
var BASE_URL = 'https://uat.hmgwebservices.com/'; // var BASE_URL = 'https://uat.hmgwebservices.com/';
// var BASE_URL = 'https://hmgwebservices.com/'; var BASE_URL = 'https://hmgwebservices.com/';
// var BASE_URL = 'http://10.20.200.111:1010/'; // var BASE_URL = 'http://10.20.200.111:1010/';
// var BASE_URL = 'https://uat.hmgwebservices.com/'; // var BASE_URL = 'https://uat.hmgwebservices.com/';
// var BASE_URL = 'https://hmgwebservices.com/'; // var BASE_URL = 'https://hmgwebservices.com/';

@ -175,7 +175,7 @@ class BaseAppClient {
// body['IdentificationNo'] = 1023854217; // body['IdentificationNo'] = 1023854217;
// body['MobileNo'] = "531940021"; // body['MobileNo'] = "531940021";
// body['PatientID'] = 291367; //3844083 // body['PatientID'] = 1018977; //3844083
// body['TokenID'] = "@dm!n"; // body['TokenID'] = "@dm!n";
// Patient ID: 3027574 // Patient ID: 3027574

@ -614,42 +614,38 @@ class Utils {
hasBadge: true, hasBadge: true,
isEnable: projectViewModel.havePrivilege(5)), isEnable: projectViewModel.havePrivilege(5)),
projectViewModel.isArabic projectViewModel.isArabic
? !projectViewModel.isLoginChild ? Positioned(
? Positioned( left: 8,
left: 8, top: 4,
top: 4, child: badge_import.Badge(
child: badge_import.Badge( toAnimate: false,
toAnimate: false, elevation: 0,
elevation: 0, position: badge_import.BadgePosition.topEnd(),
position: badge_import.BadgePosition.topEnd(), shape: badge_import.BadgeShape.circle,
shape: badge_import.BadgeShape.circle, badgeColor: secondaryColor.withOpacity(1.0),
badgeColor: secondaryColor.withOpacity(1.0), borderRadius: BorderRadius.circular(8),
borderRadius: BorderRadius.circular(8), badgeContent: Container(
badgeContent: Container( padding: EdgeInsets.all(2.0),
padding: EdgeInsets.all(2.0), child: Text(count.toString(), style: TextStyle(color: Colors.white, fontWeight: FontWeight.bold, fontSize: 12.0)),
child: Text(count.toString(), style: TextStyle(color: Colors.white, fontWeight: FontWeight.bold, fontSize: 12.0)), ),
), ),
), )
) : Positioned(
: Container() right: 8,
: !projectViewModel.isLoginChild top: 4,
? Positioned( child: badge_import.Badge(
right: 8, toAnimate: false,
top: 4, elevation: 0,
child: badge_import.Badge( position: badge_import.BadgePosition.topEnd(),
toAnimate: false, shape: badge_import.BadgeShape.circle,
elevation: 0, badgeColor: secondaryColor.withOpacity(1.0),
position: badge_import.BadgePosition.topEnd(), borderRadius: BorderRadius.circular(8),
shape: badge_import.BadgeShape.circle, badgeContent: Container(
badgeColor: secondaryColor.withOpacity(1.0), padding: EdgeInsets.all(2.0),
borderRadius: BorderRadius.circular(8), child: Text(count.toString(), style: TextStyle(color: Colors.white, fontWeight: FontWeight.bold, fontSize: 12.0)),
badgeContent: Container( ),
padding: EdgeInsets.all(2.0), ),
child: Text(count.toString(), style: TextStyle(color: Colors.white, fontWeight: FontWeight.bold, fontSize: 12.0)), ),
),
),
)
: Container(),
]) ])
: MedicalProfileItem( : MedicalProfileItem(
title: TranslationBase.of(context).myAppointments, title: TranslationBase.of(context).myAppointments,

Loading…
Cancel
Save