improvements

merge-update-with-lab-changes
Sikander Saleem 4 years ago
parent bb3d11ccf8
commit ff55ae1908

@ -13,8 +13,8 @@ const PACKAGES_CUSTOMER = '/api/customers';
const PACKAGES_SHOPPING_CART = '/api/shopping_cart_items';
const PACKAGES_ORDERS = '/api/orders';
const BASE_URL = 'https://uat.hmgwebservices.com/';
//const BASE_URL = 'https://hmgwebservices.com/';
//const BASE_URL = 'https://uat.hmgwebservices.com/';
const BASE_URL = 'https://hmgwebservices.com/';
// Pharmacy UAT URLs
//const BASE_PHARMACY_URL = 'https://uat.hmgwebservices.com/epharmacy/api/';

@ -62,9 +62,7 @@ class _AppDrawerState extends State<AppDrawer> {
Widget build(BuildContext context) {
projectProvider = Provider.of(context);
// (user.isFamily == null || user.isFamily == false) && projectProvider.havePrivilege(2)
print(user.isFamily.toString());
print(user.isFamily.toString());
print(projectProvider.havePrivilege(2).toString());
return Container(
width: MediaQuery.of(context).size.width * 0.75,
color: Theme.of(context).scaffoldBackgroundColor,

Loading…
Cancel
Save