updates & fixes

update_flutter_3.16.0
haroon amjad 5 months ago
parent 6c0debaf5e
commit 9fb6997e1d

@ -7,11 +7,11 @@ const ONLY_DATE = "[0-9/]";
const BASE_URL_LIVE_CARE = 'https://livecare.hmg.com/';
const DOCTOR_ROTATION = 'https://doctorrota.hmg.com/';
// const BASE_URL_LIVE_CARE = 'https://livecareuat.hmg.com/';
// const BASE_URL = 'https://hmgwebservices.com/';
const BASE_URL = 'https://hmgwebservices.com/';
// const BASE_URL = 'https://uat.hmgwebservices.com/';
const BASE_URL = 'https://webservices.hmg.com/';
// const BASE_URL = 'https://webservices.hmg.com/';
// const BASE_URL = 'https://vidauat.cloudsolutions.com.sa/'; //Vida Plus URL

@ -45,7 +45,7 @@ class FinalRadiology {
bool? isRadMedicalReport;
bool? isLiveCareAppodynamicment;
bool? isRecordFromVidaPlus;
String? invoiceType;
dynamic invoiceType;
FinalRadiology(
{this.setupID,
@ -105,7 +105,7 @@ class FinalRadiology {
doctorID = json['DoctorID'];
clinicID = json['ClinicID'];
orderDate = AppDateUtils.convertStringToDate(json['OrderDate']);
reportDate = AppDateUtils.convertStringToDate(json['ReportDate']);
reportDate = AppDateUtils.convertStringToDate(json['ReadOn']);
reportData = json['ReportData'];
imageURL = json['ImageURL'];
procedureID = json['ProcedureID'];

@ -185,6 +185,7 @@ class _InsuranceApprovalScreenNewState
'',
branch2: model
.insuranceApproval[index].projectName!,
onTap: (){},
),
),
),

File diff suppressed because it is too large Load Diff

@ -34,7 +34,7 @@ class _ProgressNoteState extends State<DiagnosisScreen> {
{bool isLocalBusy = false}) async {
final routeArgs = ModalRoute.of(context)!.settings.arguments as Map;
PatiantInformtion patient = routeArgs['patient'];
String type = await sharedPref.getString(SLECTED_PATIENT_TYPE);
String type = await sharedPref.getString(SLECTED_PATIENT_TYPE) == '0' ? "2" : "1";
print(type);
GetDiagnosisForInPatientRequestModel getDiagnosisForInPatientRequestModel =

@ -182,7 +182,7 @@ class _LabsHomePageState extends State<LabsHomePage> {
),
),
),
if (model.patientLabOrdersList.isEmpty && (patient!.patientStatusType != 43 && patient!.patientStatusType !=null))
if (model.patientLabOrdersList.isEmpty && patient!.patientStatusType != 43)
Center(
child: ErrorMessage(
error: TranslationBase.of(context).noDataAvailable,

@ -28,7 +28,7 @@ class NewPrescriptionsPage extends StatelessWidget {
return BaseView<PrescriptionViewModel>(
onModelReady: (model) async {
await model.getPrescriptionListNew(
mrn: patient.patientMRN, appNo: patient.appointmentNo);
mrn: patient.patientMRN, appNo: patient.appointmentNo == null ? 0 : patient.appointmentNo);
await model.isPrincipalCovered(patient: patient);
},
builder: (_, model, w) => AppScaffold(

@ -14,8 +14,7 @@ class _GifLoaderContainerState extends State<GifLoaderContainer> with TickerProv
controller1 = GifController(vsync: this);
WidgetsBinding.instance.addPostFrameCallback((_) {
// controller1.repeat(
// min: 0, max: 11, period: Duration(milliseconds: 750), reverse: true);
controller1.repeat(period: Duration(milliseconds: 750), reverse: true);
});
super.initState();
}

@ -80,7 +80,7 @@ dependencies:
#GIF image
# flutter_gifimage: ^1.0.1
flutter_gif: ^0.0.4
# flutter_gif: ^0.0.4
gif: ^2.3.0
#Autocomplete TextField
autocomplete_textfield: ^2.0.1
@ -130,8 +130,8 @@ dependencies:
flutter_math_fork: ^0.7.2
flutter_zoom_videosdk: ^1.10.11
dart_jsonwebtoken: ^2.14.0
# flutter_zoom_videosdk: ^1.10.11
# dart_jsonwebtoken: ^2.14.0
dependency_overrides:

Loading…
Cancel
Save