|
|
|
|
@ -18,42 +18,42 @@ class DeviceTransferInfoSection extends StatelessWidget {
|
|
|
|
|
return Column(
|
|
|
|
|
children: [
|
|
|
|
|
RequestInfoRow(
|
|
|
|
|
title: subtitle?.hospital??"",
|
|
|
|
|
info: info.client?.name??"",
|
|
|
|
|
title: subtitle?.hospital,
|
|
|
|
|
info: info.client?.name,
|
|
|
|
|
),
|
|
|
|
|
RequestInfoRow(
|
|
|
|
|
title: subtitle?.unite??"",
|
|
|
|
|
info: info.department?.name??"",
|
|
|
|
|
title: subtitle?.unite,
|
|
|
|
|
info: info.department?.name,
|
|
|
|
|
),
|
|
|
|
|
RequestInfoRow(
|
|
|
|
|
title: subtitle?.engineerName??"",
|
|
|
|
|
info: info.name??"",
|
|
|
|
|
title: subtitle?.engineerName,
|
|
|
|
|
info: info.name,
|
|
|
|
|
),
|
|
|
|
|
RequestInfoRow(
|
|
|
|
|
title: subtitle?.workingHours??"",
|
|
|
|
|
info: info.workingHours??"",
|
|
|
|
|
title: subtitle?.workingHours,
|
|
|
|
|
info: info.workingHours,
|
|
|
|
|
),
|
|
|
|
|
RequestInfoRow(
|
|
|
|
|
title: subtitle?.travelingHours??"",
|
|
|
|
|
info: info.travelingHours??"",
|
|
|
|
|
title: subtitle?.travelingHours,
|
|
|
|
|
info: info.travelingHours,
|
|
|
|
|
),
|
|
|
|
|
RequestInfoRow(
|
|
|
|
|
title: "Comment",
|
|
|
|
|
info: info.comment??"",
|
|
|
|
|
info: info.comment,
|
|
|
|
|
),
|
|
|
|
|
RequestInfoRow(
|
|
|
|
|
title: "Signature",
|
|
|
|
|
info: (info.signature?.isEmpty??false) != false
|
|
|
|
|
? subtitle?.noDateFound??"" : "",
|
|
|
|
|
info: (info.signature?.isEmpty) != false
|
|
|
|
|
? subtitle?.noDateFound : "",
|
|
|
|
|
contentWidget: (info.signature?.isEmpty??false) != false ? Container() :
|
|
|
|
|
ImageLoader(
|
|
|
|
|
url: info.signature??"",
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
RequestInfoRow(
|
|
|
|
|
title: subtitle?.status??"",
|
|
|
|
|
title: subtitle?.status,
|
|
|
|
|
infoWidget: StatusLabel(
|
|
|
|
|
label: info.status?.label??"",
|
|
|
|
|
label: info.status!.label,
|
|
|
|
|
color: AColors.getGasStatusColor(info.status?.id??0)
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
|