|
|
|
|
@ -75,15 +75,15 @@ class _EquipmentInternalAuditDetailPageState extends State<EquipmentInternalAudi
|
|
|
|
|
requestDetails(),
|
|
|
|
|
8.height,
|
|
|
|
|
//TODO need to check for comments
|
|
|
|
|
// if (model.comment?.isNotEmpty ?? false) ...[
|
|
|
|
|
if (model?.remarks?.isNotEmpty ?? false) ...[
|
|
|
|
|
const Divider().defaultStyle(context),
|
|
|
|
|
Text(
|
|
|
|
|
"Comments".addTranslation,
|
|
|
|
|
"Remarks".addTranslation,
|
|
|
|
|
style: AppTextStyles.heading6.copyWith(color: context.isDark ? AppColor.neutral30 : AppColor.neutral50),
|
|
|
|
|
),
|
|
|
|
|
// model.comment!.bodyText(context),
|
|
|
|
|
// 8.height,
|
|
|
|
|
// ],
|
|
|
|
|
model!.remarks!.bodyText(context),
|
|
|
|
|
8.height,
|
|
|
|
|
],
|
|
|
|
|
//TODO need to check for attachments
|
|
|
|
|
// if ( _model.attachment.isNotEmpty) ...[
|
|
|
|
|
const Divider().defaultStyle(context),
|
|
|
|
|
|