Merge branch 'update_flutter_3.16.0' of http://34.17.75.184/Haroon6138/doctor_app_flutter into update_flutter_3.16.0

update_flutter_3.24_pharmacy_ntervention
Sultan khan 1 year ago
commit df9244f343

@ -121,8 +121,8 @@ class BaseAppClient {
// print("ProjectID :"); // print("ProjectID :");
// print(body['ProjectID']); // print(body['ProjectID']);
debugPrint("URL : $url"); // debugPrint("URL : $url");
debugPrint("Body : ${json.encode(body)}"); // debugPrint("Body : ${json.encode(body)}");
var asd = json.encode(body); var asd = json.encode(body);
var asd2; var asd2;
if (await Utils.checkConnection()) { if (await Utils.checkConnection()) {

@ -317,7 +317,7 @@ const TRANSACTION_NO = 0;
const LANGUAGE_ID = 2; const LANGUAGE_ID = 2;
const STAMP = '2020-04-27T12:17:17.721Z'; const STAMP = '2020-04-27T12:17:17.721Z';
const IP_ADDRESS = '9.9.9.9'; const IP_ADDRESS = '9.9.9.9';
const VERSION_ID = 8.9; const VERSION_ID = 9.1;
const CHANNEL = 9; const CHANNEL = 9;
const SESSION_ID = 'BlUSkYymTt'; const SESSION_ID = 'BlUSkYymTt';
const IS_LOGIN_FOR_DOCTOR_APP = true; const IS_LOGIN_FOR_DOCTOR_APP = true;

@ -141,7 +141,8 @@ class FinalRadiology {
isRadMedicalReport = json['isRadMedicalReport']; isRadMedicalReport = json['isRadMedicalReport'];
isRecordFromVidaPlus = json['IsRecordFromVidaPlus']; isRecordFromVidaPlus = json['IsRecordFromVidaPlus'];
invoiceType = json["InvoiceType"]; invoiceType = json["InvoiceType"];
} catch (e) { }
catch (e) {
print(e); print(e);
} }
} }

@ -91,6 +91,7 @@ class _InsuranceApprovalScreenNewState
}, },
child: DoctorCardInsurance( child: DoctorCardInsurance(
patientOut: "In Patient", patientOut: "In Patient",
onTap: (){},
profileUrl: model profileUrl: model
.insuranceApprovalInPatient[index] .insuranceApprovalInPatient[index]
.doctorImage!, .doctorImage!,

@ -27,9 +27,8 @@ class NewPrescriptionsPage extends StatelessWidget {
bool isFromLiveCare = routeArgs['isFromLiveCare']; bool isFromLiveCare = routeArgs['isFromLiveCare'];
return BaseView<PrescriptionViewModel>( return BaseView<PrescriptionViewModel>(
onModelReady: (model) async { onModelReady: (model) async {
await model.getPrescriptionListNew( await model.getPrescriptionListNew(mrn: patient.patientMRN, appNo: patient.appointmentNo == null ? 0 : int.parse(patient.appointmentNo.toString()));
mrn: patient.patientMRN, appNo: patient.appointmentNo == null ? 0 : patient.appointmentNo); await model.isPrincipalCovered(patient: patient);
await model.isPrincipalCovered(patient: patient);
}, },
builder: (_, model, w) => AppScaffold( builder: (_, model, w) => AppScaffold(
baseViewModel: model, baseViewModel: model,
@ -48,8 +47,6 @@ class NewPrescriptionsPage extends StatelessWidget {
SizedBox( SizedBox(
height: 12, height: 12,
), ),
Padding( Padding(
padding: const EdgeInsets.all(8.0), padding: const EdgeInsets.all(8.0),
child: Column( child: Column(
@ -62,11 +59,18 @@ class NewPrescriptionsPage extends StatelessWidget {
], ],
), ),
), ),
!model.isPrincipalCovered_ ? Center(child: AppText(TranslationBase.of(context).principalCoveredOrNot,color: Colors.red, textAlign: TextAlign.center, )) :SizedBox(), !model.isPrincipalCovered_
SizedBox(height: 20,), ? Center(
if ((patient.patientStatusType != null && child: AppText(
patient.patientStatusType == 43) || TranslationBase.of(context).principalCoveredOrNot,
(isFromLiveCare && patient.appointmentNo != null)) color: Colors.red,
textAlign: TextAlign.center,
))
: SizedBox(),
SizedBox(
height: 20,
),
if ((patient.patientStatusType != null && patient.patientStatusType == 43) || (isFromLiveCare && patient.appointmentNo != null))
AddNewOrder( AddNewOrder(
onTap: () { onTap: () {
Navigator.push( Navigator.push(

@ -11,7 +11,7 @@ description: A new Flutter project.
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at # Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 4.3.5+1 version: 1.4.14+1
environment: environment:
@ -23,7 +23,6 @@ environment:
#dependency_overrides: #dependency_overrides:
# intl: 0.17.0-nullsafety.2 # intl: 0.17.0-nullsafety.2
dependencies: dependencies:
flutter: flutter:
sdk: flutter sdk: flutter

Loading…
Cancel
Save