|
|
|
@ -74,6 +74,7 @@ class VisitDetailsPage extends StatelessWidget {
|
|
|
|
MaterialButton(
|
|
|
|
MaterialButton(
|
|
|
|
padding: EdgeInsets.zero,
|
|
|
|
padding: EdgeInsets.zero,
|
|
|
|
onPressed: () {
|
|
|
|
onPressed: () {
|
|
|
|
|
|
|
|
if(visit.images.first != null)
|
|
|
|
Navigator.of(context).push(MaterialPageRoute(
|
|
|
|
Navigator.of(context).push(MaterialPageRoute(
|
|
|
|
builder: (_) => Scaffold(
|
|
|
|
builder: (_) => Scaffold(
|
|
|
|
body: InteractiveViewer(
|
|
|
|
body: InteractiveViewer(
|
|
|
|
@ -115,6 +116,10 @@ class VisitDetailsPage extends StatelessWidget {
|
|
|
|
title: "Asset Number",
|
|
|
|
title: "Asset Number",
|
|
|
|
info: visit.deviceNumber,
|
|
|
|
info: visit.deviceNumber,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
RequestInfoRow(
|
|
|
|
|
|
|
|
title: _subtitle.deviceName,
|
|
|
|
|
|
|
|
content: visit.deviceEnglishName,
|
|
|
|
|
|
|
|
),
|
|
|
|
RequestInfoRow(
|
|
|
|
RequestInfoRow(
|
|
|
|
title: _subtitle.deviceSN,
|
|
|
|
title: _subtitle.deviceSN,
|
|
|
|
info: visit.deviceSerialNumber,
|
|
|
|
info: visit.deviceSerialNumber,
|
|
|
|
@ -156,10 +161,6 @@ class VisitDetailsPage extends StatelessWidget {
|
|
|
|
title: _subtitle.hospital,
|
|
|
|
title: _subtitle.hospital,
|
|
|
|
content: visit.hospitalName,
|
|
|
|
content: visit.hospitalName,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
RequestInfoRow(
|
|
|
|
|
|
|
|
title: _subtitle.deviceName,
|
|
|
|
|
|
|
|
content: visit.deviceEnglishName,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|