diff --git a/lib/routes.dart b/lib/routes.dart index 6dfc2b1f..489ed512 100644 --- a/lib/routes.dart +++ b/lib/routes.dart @@ -31,7 +31,7 @@ import 'landing_page.dart'; import 'screens/patients/profile/admission-request/admission-request-first-screen.dart'; import 'screens/patients/profile/admission-request/admission-request-third-screen.dart'; import 'screens/patients/profile/admission-request/admission-request_second-screen.dart'; -import 'screens/patients/profile/note/progress_note_screen.dart'; + import 'screens/patients/profile/referral/my-referral-detail-screen.dart'; import 'screens/patients/profile/referral/refer-patient-screen.dart'; diff --git a/lib/screens/patients/profile/operation_report/operation_report.dart b/lib/screens/patients/profile/operation_report/operation_report.dart index 7ce54b7d..5e41092d 100644 --- a/lib/screens/patients/profile/operation_report/operation_report.dart +++ b/lib/screens/patients/profile/operation_report/operation_report.dart @@ -89,36 +89,36 @@ class _ProgressNoteState extends State { patient, isInpatient: true, ), - body: - Container( - color: Colors.grey[200], - child: Column( - children: [ - AddNewOrder( - onTap: () async { - await locator().logEvent( - eventCategory: "Operation Report Screen", - eventAction: "Update Operation Report ", - ); - Navigator.push( - context, - MaterialPageRoute( - builder: (context) => UpdateOperationReport( - operationReportViewModel: model, - patient: patient, - visitType: widget.visitType, - isUpdate: false, - ), - settings: RouteSettings(name: 'UpdateNoteOrder'), - ), - ); - }, - label: TranslationBase.of(context).operationReports, + body: Container( + color: Colors.grey[200], + child: Column( + children: [ + AddNewOrder( + onTap: () async { + await locator().logEvent( + eventCategory: "Operation Report Screen", + eventAction: "Update Operation Report ", + ); + Navigator.push( + context, + MaterialPageRoute( + builder: (context) => UpdateOperationReport( + operationReportViewModel: model, + patient: patient, + visitType: widget.visitType, + isUpdate: false, ), - model.operationReportList == null || - model.operationReportList.length == 0 - ? DrAppEmbeddedError( - error: TranslationBase.of(context).errorNoProgressNote):Expanded( + settings: RouteSettings(name: 'UpdateNoteOrder'), + ), + ); + }, + label: TranslationBase.of(context).operationReports, + ), + model.operationReportList == null || + model.operationReportList.length == 0 + ? DrAppEmbeddedError( + error: TranslationBase.of(context).errorNoProgressNote) + : Expanded( child: Container( child: ListView.builder( itemCount: model.operationReportList.length, @@ -532,9 +532,9 @@ class _ProgressNoteState extends State { }), ), ), - ], - ), - ), + ], + ), + ), ), ); }