|
|
|
|
@ -90,8 +90,7 @@ class _MedicalGasInspectionDetailPageState extends State<MedicalGasInspectionDet
|
|
|
|
|
Text("Request Details", style: AppTextStyles.heading4.copyWith(color: context.isDark ? AppColor.neutral30 : AppColor.neutral50)),
|
|
|
|
|
'${context.translation.requestNo}: ${model?.requestNumber ?? '-'}'.bodyText(context),
|
|
|
|
|
'Requested by: ${model?.requestedBy ?? '-'}'.bodyText(context),
|
|
|
|
|
if (model?.lastModifiedBy != null)
|
|
|
|
|
'Last Modified by: ${model?.lastModifiedBy ?? '-'}'.bodyText(context),
|
|
|
|
|
if (model?.lastModifiedBy != null) 'Last Modified by: ${model?.lastModifiedBy ?? '-'}'.bodyText(context),
|
|
|
|
|
'Order Type: ${model?.requestOrderType ?? '-'}'.bodyText(context),
|
|
|
|
|
'Item Type: ${model?.itemType ?? '-'}'.bodyText(context),
|
|
|
|
|
'Site: ${model?.site ?? '-'}'.bodyText(context),
|
|
|
|
|
@ -124,10 +123,7 @@ class _MedicalGasInspectionDetailPageState extends State<MedicalGasInspectionDet
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
bool? isRefresh = await Navigator.of(context).push(MaterialPageRoute(
|
|
|
|
|
builder: (_) => CreateMedicalGasRequestPage(
|
|
|
|
|
dataModel: model,
|
|
|
|
|
)));
|
|
|
|
|
bool? isRefresh = await Navigator.of(context).push(MaterialPageRoute(builder: (_) => CreateMedicalGasRequestPage(dataModel: model)));
|
|
|
|
|
if (isRefresh == true) {
|
|
|
|
|
_loadData();
|
|
|
|
|
}
|
|
|
|
|
|