|
|
|
|
@ -100,14 +100,14 @@ class _UpdateServiceRequestPageState extends State<UpdateServiceRequestPage> {
|
|
|
|
|
return SingleItemDropDownMenu<Lookup, RequestedThroughProvider>(
|
|
|
|
|
context: context,
|
|
|
|
|
enabled: false,
|
|
|
|
|
title: context.translation.requestedThrough,
|
|
|
|
|
title: context.translation.source,
|
|
|
|
|
initialValue: snapshot.items?.firstWhere((element) => element.value == 3, orElse: () => null),
|
|
|
|
|
);
|
|
|
|
|
}),
|
|
|
|
|
8.height,
|
|
|
|
|
SingleItemDropDownMenu<Lookup, TypeOfRequestProvider>(
|
|
|
|
|
context: context,
|
|
|
|
|
title: context.translation.typeOfRequest,
|
|
|
|
|
title: context.translation.costCodeName,
|
|
|
|
|
initialValue: widget.serviceRequest?.type,
|
|
|
|
|
onSelect: (value) {
|
|
|
|
|
widget.serviceRequest.type = value;
|
|
|
|
|
@ -123,7 +123,7 @@ class _UpdateServiceRequestPageState extends State<UpdateServiceRequestPage> {
|
|
|
|
|
8.height,
|
|
|
|
|
AppTextFormField(
|
|
|
|
|
controller: _commentController,
|
|
|
|
|
labelText: context.translation.comments,
|
|
|
|
|
labelText: context.translation.problemDesc,
|
|
|
|
|
initialValue: widget.serviceRequest.callComments,
|
|
|
|
|
suffixIcon: "warning".toSvgAsset(color: context.isDark ? AppColor.neutral10 : AppColor.neutral20, width: 24).paddingOnly(end: 16),
|
|
|
|
|
onSaved: (text) {
|
|
|
|
|
|