implemented services price list page, Update to stores 19.6

master
haroon amjad 2 months ago
parent f71353ebb8
commit 466bb22654

@ -357,7 +357,7 @@ var CAN_PAY_FOR_FOR_WALKIN_APPOINTMENT = 'Services/Doctors.svc/REST/CanPayForWal
var CHANNEL = 3; var CHANNEL = 3;
var GENERAL_ID = 'Cs2020@2016\$2958'; var GENERAL_ID = 'Cs2020@2016\$2958';
var IP_ADDRESS = '10.20.10.20'; var IP_ADDRESS = '10.20.10.20';
var VERSION_ID = 19.5; var VERSION_ID = 19.6;
var SETUP_ID = '91877'; var SETUP_ID = '91877';
var LANGUAGE = 2; var LANGUAGE = 2;
// var PATIENT_OUT_SA = 0; // var PATIENT_OUT_SA = 0;

@ -51,7 +51,7 @@ class ServicesPriceList extends StatelessWidget {
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [ children: [
Text( Text(
"Service Name", TranslationBase.of(context).serviceName,
style: TextStyle( style: TextStyle(
color: CustomColors.textDarkColor, color: CustomColors.textDarkColor,
fontSize: 16, fontSize: 16,
@ -60,7 +60,7 @@ class ServicesPriceList extends StatelessWidget {
), ),
), ),
Text( Text(
"Prices", TranslationBase.of(context).price,
style: TextStyle( style: TextStyle(
color: CustomColors.textDarkColor, color: CustomColors.textDarkColor,
fontSize: 16, fontSize: 16,
@ -337,13 +337,16 @@ class ServicesPriceList extends StatelessWidget {
decoration: cardRadius(10), decoration: cardRadius(10),
child: Row( child: Row(
children: [ children: [
Text( Expanded(
TranslationBase.of(context).servicePriceListRights, child: Text(
style: TextStyle( TranslationBase.of(context).servicePriceListRights,
color: CustomColors.textColor, maxLines: 2,
fontSize: 12, style: TextStyle(
fontWeight: FontWeight.w500, color: CustomColors.textColor,
letterSpacing: -0.64, fontSize: 12,
fontWeight: FontWeight.w500,
letterSpacing: -0.64,
),
), ),
), ),
], ],

@ -12,13 +12,13 @@ class PenguinMethodChannel {
try { try {
await _channel.invokeMethod('launchPenguin', { await _channel.invokeMethod('launchPenguin', {
"storyboardName": storyboardName, "storyboardName": storyboardName,
// "baseURL": "https://prod.hmg.nav.penguinin.com", "baseURL": "https://prod.hmg.nav.penguinin.com",
// "dataURL": "https://prod.hmg.nav.penguinin.com", "dataURL": "https://prod.hmg.nav.penguinin.com",
// "positionURL": "https://prod.hmg.nav.penguinin.com", "positionURL": "https://prod.hmg.nav.penguinin.com",
"baseURL": "https://penguinuat.hmg.com", // "baseURL": "https://penguinuat.hmg.com",
"dataURL": "https://penguinuat.hmg.com", // "dataURL": "https://penguinuat.hmg.com",
"positionURL": "https://penguinuat.hmg.com", // "positionURL": "https://penguinuat.hmg.com",
"dataServiceName": "api", "dataServiceName": "api",
"positionServiceName": "pe", "positionServiceName": "pe",
"clientID": "HMG", "clientID": "HMG",

@ -88,27 +88,28 @@ class Utils {
"MainProjectID": 130, "MainProjectID": 130,
"ProjectOutSA": false, "ProjectOutSA": false,
"UsingInDoctorApp": false "UsingInDoctorApp": false
},{ },
"Desciption": "Jeddah Fayhaa Hospital", // {
"DesciptionN": "مستشفى جدة الفيحاء", // "Desciption": "Jeddah Fayhaa Hospital",
"ID": 3, // Campus ID // "DesciptionN": "مستشفى جدة الفيحاء",
"LegalName": "Jeddah Fayhaa Hospital", // "ID": 3, // Campus ID
"LegalNameN": "مستشفى جدة الفيحاء", // "LegalName": "Jeddah Fayhaa Hospital",
"Name": "Jeddah Fayhaa Hospital", // "LegalNameN": "مستشفى جدة الفيحاء",
"NameN": "مستشفى جدة الفيحاء", // "Name": "Jeddah Fayhaa Hospital",
"PhoneNumber": "+966115222222", // "NameN": "مستشفى جدة الفيحاء",
"SetupID": "013311", // "PhoneNumber": "+966115222222",
"DistanceInKilometers": 0, // "SetupID": "013311",
"HasVida3": false, // "DistanceInKilometers": 0,
"IsActive": true, // "HasVida3": false,
"IsHmg": true, // "IsActive": true,
"IsVidaPlus": false, // "IsHmg": true,
"Latitude": "24.8113774", // "IsVidaPlus": false,
"Longitude": "46.6239813", // "Latitude": "24.8113774",
"MainProjectID": 130, // "Longitude": "46.6239813",
"ProjectOutSA": false, // "MainProjectID": 130,
"UsingInDoctorApp": false // "ProjectOutSA": false,
} // "UsingInDoctorApp": false
// }
]; ];
///show custom Error Toast ///show custom Error Toast

@ -471,6 +471,7 @@ class _AppDrawerState extends State<AppDrawer> {
InkWell( InkWell(
child: DrawerItem(TranslationBase.of(context).servicePriceList, Icons.bookmark_added_sharp, letterSpacing: -0.84, fontSize: 14, bottomLine: false), child: DrawerItem(TranslationBase.of(context).servicePriceList, Icons.bookmark_added_sharp, letterSpacing: -0.84, fontSize: 14, bottomLine: false),
onTap: () { onTap: () {
Navigator.pop(context);
Navigator.of(context).push(FadePage(page: ServicesPriceList())); Navigator.of(context).push(FadePage(page: ServicesPriceList()));
}, },
), ),

Loading…
Cancel
Save