|
|
|
@ -207,7 +207,7 @@ class MyInAppBrowser extends InAppBrowser {
|
|
|
|
tamaraRequestModel.appointmentNo = (appoNo != null && appoNo != "") ? appoNo.toString() : "0";
|
|
|
|
tamaraRequestModel.appointmentNo = (appoNo != null && appoNo != "") ? appoNo.toString() : "0";
|
|
|
|
tamaraRequestModel.customerName = patientName;
|
|
|
|
tamaraRequestModel.customerName = patientName;
|
|
|
|
tamaraRequestModel.fileNumber = patientID.toString();
|
|
|
|
tamaraRequestModel.fileNumber = patientID.toString();
|
|
|
|
tamaraRequestModel.patientOutSA = authenticatedUser.outSA == 1 ? true : false;
|
|
|
|
tamaraRequestModel.patientOutSA = authenticatedUser.outSa == 1 ? true : false;
|
|
|
|
tamaraRequestModel.deviceToken = await Utils.getStringFromPrefs(CacheConst.pushToken);
|
|
|
|
tamaraRequestModel.deviceToken = await Utils.getStringFromPrefs(CacheConst.pushToken);
|
|
|
|
tamaraRequestModel.latitude = appState.userLat.toString();
|
|
|
|
tamaraRequestModel.latitude = appState.userLat.toString();
|
|
|
|
tamaraRequestModel.longitude = appState.userLong.toString();
|
|
|
|
tamaraRequestModel.longitude = appState.userLong.toString();
|
|
|
|
@ -276,7 +276,7 @@ class MyInAppBrowser extends InAppBrowser {
|
|
|
|
form = form.replaceFirst('PROJECT_ID_VALUE', projId);
|
|
|
|
form = form.replaceFirst('PROJECT_ID_VALUE', projId);
|
|
|
|
form = form.replaceFirst('PAYMENT_OPTION_VALUE', paymentMethod);
|
|
|
|
form = form.replaceFirst('PAYMENT_OPTION_VALUE', paymentMethod);
|
|
|
|
form = form.replaceFirst('LANG_VALUE', currentLanguageID);
|
|
|
|
form = form.replaceFirst('LANG_VALUE', currentLanguageID);
|
|
|
|
form = form.replaceFirst('PATIENT_OUT_SA', authUser.outSA == 0 ? false.toString() : true.toString());
|
|
|
|
form = form.replaceFirst('PATIENT_OUT_SA', authUser.outSa == 0 ? false.toString() : true.toString());
|
|
|
|
form = form.replaceFirst('PATIENT_TYPE_ID', patientData == null ? patientType.toString() : "1");
|
|
|
|
form = form.replaceFirst('PATIENT_TYPE_ID', patientData == null ? patientType.toString() : "1");
|
|
|
|
|
|
|
|
|
|
|
|
Platform.isIOS
|
|
|
|
Platform.isIOS
|
|
|
|
@ -338,10 +338,10 @@ class MyInAppBrowser extends InAppBrowser {
|
|
|
|
form = form.replaceFirst('INSTALLMENTS_VALUE', installments);
|
|
|
|
form = form.replaceFirst('INSTALLMENTS_VALUE', installments);
|
|
|
|
form = form.replaceFirst('CUSTNATIONALID_VALUE', authUser.patientIdentificationNo!);
|
|
|
|
form = form.replaceFirst('CUSTNATIONALID_VALUE', authUser.patientIdentificationNo!);
|
|
|
|
form = form.replaceFirst('CUSTMOBILE_VALUE', authUser.mobileNumber!);
|
|
|
|
form = form.replaceFirst('CUSTMOBILE_VALUE', authUser.mobileNumber!);
|
|
|
|
form = form.replaceFirst('CUSTDOB_VALUE', DateUtil.getDayMonthYearDateFormatted(authUser.dateofBirthDataTime!));
|
|
|
|
form = form.replaceFirst('CUSTDOB_VALUE', DateUtil.getDayMonthYearDateFormatted(authUser.strDateofBirth!));
|
|
|
|
|
|
|
|
|
|
|
|
form = form.replaceFirst('CURRENCY_VALUE', authUser.outSA == 0 ? "SAR" : "AED");
|
|
|
|
form = form.replaceFirst('CURRENCY_VALUE', authUser.outSa == 0 ? "SAR" : "AED");
|
|
|
|
form = form.replaceFirst('COUNTRY_CODE_VALUE', authUser.outSA == 0 ? "966" : "971");
|
|
|
|
form = form.replaceFirst('COUNTRY_CODE_VALUE', authUser.outSa == 0 ? "966" : "971");
|
|
|
|
form = form.replaceFirst('CUSTNAME_VALUE', patientName);
|
|
|
|
form = form.replaceFirst('CUSTNAME_VALUE', patientName);
|
|
|
|
form = form.replaceFirst('CUSTLASTNAME_VALUE', patientName);
|
|
|
|
form = form.replaceFirst('CUSTLASTNAME_VALUE', patientName);
|
|
|
|
form = form.replaceFirst('CUSTID_VALUE', patientID.toString());
|
|
|
|
form = form.replaceFirst('CUSTID_VALUE', patientID.toString());
|
|
|
|
|