updates & fixes

update_flutter_3.24_pharmacy_ntervention
haroon amjad 1 year ago
parent 6c0debaf5e
commit 9fb6997e1d

@ -7,11 +7,11 @@ const ONLY_DATE = "[0-9/]";
const BASE_URL_LIVE_CARE = 'https://livecare.hmg.com/'; const BASE_URL_LIVE_CARE = 'https://livecare.hmg.com/';
const DOCTOR_ROTATION = 'https://doctorrota.hmg.com/'; const DOCTOR_ROTATION = 'https://doctorrota.hmg.com/';
// const BASE_URL_LIVE_CARE = 'https://livecareuat.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://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 // const BASE_URL = 'https://vidauat.cloudsolutions.com.sa/'; //Vida Plus URL

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

@ -185,6 +185,7 @@ class _InsuranceApprovalScreenNewState
'', '',
branch2: model branch2: model
.insuranceApproval[index].projectName!, .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 { {bool isLocalBusy = false}) async {
final routeArgs = ModalRoute.of(context)!.settings.arguments as Map; final routeArgs = ModalRoute.of(context)!.settings.arguments as Map;
PatiantInformtion patient = routeArgs['patient']; 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); print(type);
GetDiagnosisForInPatientRequestModel getDiagnosisForInPatientRequestModel = 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( Center(
child: ErrorMessage( child: ErrorMessage(
error: TranslationBase.of(context).noDataAvailable, error: TranslationBase.of(context).noDataAvailable,

@ -28,7 +28,7 @@ class NewPrescriptionsPage extends StatelessWidget {
return BaseView<PrescriptionViewModel>( return BaseView<PrescriptionViewModel>(
onModelReady: (model) async { onModelReady: (model) async {
await model.getPrescriptionListNew( await model.getPrescriptionListNew(
mrn: patient.patientMRN, appNo: patient.appointmentNo); 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(

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

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

Loading…
Cancel
Save