|
|
|
@ -134,7 +134,7 @@ class SelectedItemSheet extends StatelessWidget {
|
|
|
|
void askForConfirmation(BuildContext context, {String? email, String? userId}) {
|
|
|
|
void askForConfirmation(BuildContext context, {String? email, String? userId}) {
|
|
|
|
NotificationGetRespondAttributesList? notificationNoteInput;
|
|
|
|
NotificationGetRespondAttributesList? notificationNoteInput;
|
|
|
|
NotificationGetRespondAttributesList? forwardToUser;
|
|
|
|
NotificationGetRespondAttributesList? forwardToUser;
|
|
|
|
List<NotificationGetRespondAttributesList> filtered = getNotificationRespondAttributes.where((element) => element.attributeName == "NOTE").toList();
|
|
|
|
List<NotificationGetRespondAttributesList> filtered = getNotificationRespondAttributes.where((element) => element.attributeName == "NOTE" || element.attributeName == "WF_NOTE").toList();
|
|
|
|
if (filtered.isNotEmpty) {
|
|
|
|
if (filtered.isNotEmpty) {
|
|
|
|
notificationNoteInput = filtered.first;
|
|
|
|
notificationNoteInput = filtered.first;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -148,7 +148,7 @@ class SelectedItemSheet extends StatelessWidget {
|
|
|
|
context: context,
|
|
|
|
context: context,
|
|
|
|
builder: (cxt) => AcceptRejectInputDialog(
|
|
|
|
builder: (cxt) => AcceptRejectInputDialog(
|
|
|
|
message: title != null ? null : LocaleKeys.requestedItems.tr(),
|
|
|
|
message: title != null ? null : LocaleKeys.requestedItems.tr(),
|
|
|
|
title: title,
|
|
|
|
// title: title,
|
|
|
|
notificationGetRespond: notificationNoteInput,
|
|
|
|
notificationGetRespond: notificationNoteInput,
|
|
|
|
actionMode: apiMode,
|
|
|
|
actionMode: apiMode,
|
|
|
|
onTap: (note) {
|
|
|
|
onTap: (note) {
|
|
|
|
|