lab special result fix

dev_v3.13.6_BLE_Faiz
haroon amjad 1 year ago
parent 02878b7df9
commit 2b560840aa

@ -158,9 +158,9 @@ class _AdvancePaymentPageState extends State<AdvancePaymentPage> {
if (beneficiaryType == BeneficiaryType.MyFamilyFiles)
InkWell(
onTap: () {
GifLoaderDialogUtils.showMyDialog(context);
// GifLoaderDialogUtils.showMyDialog(context);
model.getFamilyFiles().then((value) {
GifLoaderDialogUtils.hideDialog(context);
// GifLoaderDialogUtils.hideDialog(context);
confirmSelectFamilyDialog(model.getAllSharedRecordsByStatusResponse.getAllSharedRecordsByStatusList!);
});
},
@ -412,6 +412,7 @@ class _AdvancePaymentPageState extends State<AdvancePaymentPage> {
for (int i = 0; i < getAllSharedRecordsByStatusList.length; i++)
if (getAllSharedRecordsByStatusList[i].status == 3) RadioSelectionDialogModel(getAllSharedRecordsByStatusList[i].patientName!, i),
];
// GifLoaderDialogUtils.hideDialog(context);
showDialog(
context: context,
builder: (cxt) => RadioSelectionDialog(

@ -154,26 +154,26 @@ class PaymentService extends StatelessWidget {
),
);
medical.add(
InkWell(
onTap: () {
if(projectViewModel.isPatientAdmitted) {
getInPatientAdvancePaymentRequests(context);
projectViewModel.analytics.advancePayments.payment_services(service_type: 'inpatient advance payment');
} else {
AppToast.showErrorToast(message: TranslationBase.of(context).onlyAdmitted);
}
},
child: MedicalProfileItem(
title: "InPatient",
imagePath: 'assets/images/inpatient_advance.png',
subTitle: "Advance Payment",
isPngImage: true,
width: 45.0,
height: 45.0,
),
),
);
// medical.add(
// InkWell(
// onTap: () {
// if(projectViewModel.isPatientAdmitted) {
// getInPatientAdvancePaymentRequests(context);
// projectViewModel.analytics.advancePayments.payment_services(service_type: 'inpatient advance payment');
// } else {
// AppToast.showErrorToast(message: TranslationBase.of(context).onlyAdmitted);
// }
// },
// child: MedicalProfileItem(
// title: "InPatient",
// imagePath: 'assets/images/inpatient_advance.png',
// subTitle: "Advance Payment",
// isPngImage: true,
// width: 45.0,
// height: 45.0,
// ),
// ),
// );
return medical;
}

@ -31,6 +31,13 @@ class _LaboratoryResultWidgetState extends State<LaboratoryResultWidget> {
bool _isShowMore = true;
bool _isShowMoreGeneral = true;
late ProjectViewModel projectViewModel;
late String labSpecialResult;
@override
void initState() {
super.initState();
labSpecialResult = widget.details ?? TranslationBase.of(context).noDataAvailable;
}
@override
Widget build(BuildContext context) {
@ -174,7 +181,8 @@ class _LaboratoryResultWidgetState extends State<LaboratoryResultWidget> {
width: double.infinity,
// height: 450.0,
child: Html(
data: widget.details ?? TranslationBase.of(context).noDataAvailable,
// data: widget.details ?? TranslationBase.of(context).noDataAvailable,
data: labSpecialResult,
),
),
],

@ -38,9 +38,9 @@ class MyInAppBrowser extends InAppBrowser {
static String APPLE_PAY_PAYFORT_URL = 'https://hmgwebservices.com/PayFortWebLive/PayFortApi/MakeApplePayRequest'; // Payfort Payment Gateway URL LIVE
// static String APPLE_PAY_PAYFORT_URL = 'https://hmgwebservices.com/PayFortWebLive/PayFortApi/MakeApplePayRequest'; // Payfort Payment Gateway URL UAT
static String SERVICE_URL = 'https://hmgwebservices.com/PayFortWeb/pages/SendPayFortRequest.aspx'; // Payfort Payment Gateway URL UAT
// static String SERVICE_URL = 'https://hmgwebservices.com/PayFortWeb/pages/SendPayFortRequest.aspx'; // Payfort Payment Gateway URL UAT
// static String SERVICE_URL = 'https://hmgwebservices.com/PayFortWebLive/pages/SendPayFortRequest.aspx'; //Payfort Payment Gateway URL LIVE
static String SERVICE_URL = 'https://hmgwebservices.com/PayFortWebLive/pages/SendPayFortRequest.aspx'; //Payfort Payment Gateway URL LIVE
// static String SERVICE_URL = 'https://uat.hmgwebservices.com/payfortforvidaplus/pages/SendPayFortRequest.aspx'; //Payfort Payment Gateway URL UAT VIDA PLUS
@ -230,7 +230,7 @@ class MyInAppBrowser extends InAppBrowser {
service.tamaraInsertRequest(tamaraRequestModel, context).then((res) {
if (context != null) GifLoaderDialogUtils.hideDialog(context);
generateTamaraURL(amount, orderDesc, transactionID, projId, emailId, paymentMethod, patientType, patientName, patientID, authenticatedUser, isLiveCareAppo, servID, LiveServID, appoDate,
appoNo, clinicID, doctorID, "", installments)
appoNo, clinicID, doctorID, "", installments)
.then((value) {
paymentType = _PAYMENT_TYPE.PATIENT;
this.browser.openUrlRequest(urlRequest: URLRequest(url: Uri.parse(value)), options: _InAppBrowserOptions);
@ -242,7 +242,7 @@ class MyInAppBrowser extends InAppBrowser {
});
} else {
generateURL(amount, orderDesc, transactionID, projId, emailId, paymentMethod, patientType, patientName, patientID, authenticatedUser, isLiveCareAppo, servID, LiveServID, appoDate, appoNo,
clinicID, doctorID)
clinicID, doctorID)
.then((value) {
paymentType = _PAYMENT_TYPE.PATIENT;
this.browser.openUrlRequest(urlRequest: URLRequest(url: Uri.parse(value)), options: _InAppBrowserOptions);

Loading…
Cancel
Save