From e147787be99cbdeec089e34958d959521a7e30e8 Mon Sep 17 00:00:00 2001 From: Mohammad Aljammal Date: Wed, 22 Jul 2020 14:24:44 +0300 Subject: [PATCH] merge search and return medicine --- lib/config/config.dart | 5 +++-- lib/pages/landing/landing_page.dart | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/config/config.dart b/lib/config/config.dart index 8ee630f2..60e9bbd3 100644 --- a/lib/config/config.dart +++ b/lib/config/config.dart @@ -1,8 +1,8 @@ -const MAX_SMALL_SCREEN = 660; import 'package:diplomaticquarterapp/models/Request.dart'; import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; import 'dart:io'; +const MAX_SMALL_SCREEN = 660; @@ -18,7 +18,8 @@ const GET_CLINICS_LIST_URL = "Services/lists.svc/REST/GetClinicCentralized"; //URL to get doctors list const GET_DOCTORS_LIST_URL = "Services/Doctors.svc/REST/SearchDoctorsByTime"; - +const GET_PHARMCY_ITEMS = "/Lists.svc/REST/GetPharmcyItems_Region"; +const GET_PHARMACY_LIST = "/Patients.svc/REST/GetPharmcyList"; class AppGlobal { static var context; AppSharedPreferences sharedPref = AppSharedPreferences(); diff --git a/lib/pages/landing/landing_page.dart b/lib/pages/landing/landing_page.dart index 77f25b03..06cf861b 100644 --- a/lib/pages/landing/landing_page.dart +++ b/lib/pages/landing/landing_page.dart @@ -69,7 +69,7 @@ class _LandingPageState extends State { body: PageView( physics: NeverScrollableScrollPhysics(), controller: pageController, - children: [HomePage(), ReplayPage(), Container(), Container()], + children: [HomePage(), MedicineSearch(), Container(), Container()], ), bottomNavigationBar: BottomNavBar(changeIndex: _changeCurrentTab), );