operation report

merge-requests/867/head
Elham Rababh 4 years ago
parent 93bcfff7a0
commit 230ebaf445

@ -68,27 +68,6 @@ class _ProgressNoteState extends State<OperationReportScreen> {
color: Colors.grey[200],
child: Column(
children: <Widget>[
AddNewOrder(
onTap: () async {
await locator<AnalyticsService>().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,
),
model.operationReportList == null ||
model.operationReportList.length == 0
? DrAppEmbeddedError(
@ -234,13 +213,12 @@ class _ProgressNoteState extends State<OperationReportScreen> {
),
)
]),
if (model.operationReportList[index]
.timeStart !=
.timeStart !=
null)
Row(
mainAxisAlignment:
MainAxisAlignment.start,
MainAxisAlignment.start,
children: [
AppText(
"Operation Time Start : ",
@ -248,7 +226,9 @@ class _ProgressNoteState extends State<OperationReportScreen> {
),
Expanded(
child: AppText(
model.operationReportList[index]
model
.operationReportList[
index]
.timeStart,
fontSize: 10,
),
@ -297,7 +277,14 @@ class _ProgressNoteState extends State<OperationReportScreen> {
MainAxisAlignment.end,
children: [
InkWell(
onTap: () {
onTap: () async {
await locator<AnalyticsService>()
.logEvent(
eventCategory:
"Operation Report Screen",
eventAction:
"Update Operation Report ",
);
Navigator.push(
context,
MaterialPageRoute(
@ -332,8 +319,7 @@ class _ProgressNoteState extends State<OperationReportScreen> {
width: 2,
),
AppText(
TranslationBase.of(context)
.update,
"Operation Reports",
fontSize: 10,
color: Colors.white,
),

Loading…
Cancel
Save