|
|
|
@ -233,9 +233,9 @@ class _WorkListDetailScreenState extends State<WorkListDetailScreen> {
|
|
|
|
|
),
|
|
|
|
|
child: Row(
|
|
|
|
|
children: [
|
|
|
|
|
(workListData!.iTEMTYPE == "HRSSA" || workListData!.iTEMTYPE == "STAMP") ? myTab(LocaleKeys.details.tr(), 0) : myTab(LocaleKeys.request.tr(), 0),
|
|
|
|
|
myTab(LocaleKeys.actions.tr(), 1),
|
|
|
|
|
myTab(LocaleKeys.info.tr(), 2),
|
|
|
|
|
myTab(LocaleKeys.info.tr(), 0),
|
|
|
|
|
(workListData!.iTEMTYPE == "HRSSA" || workListData!.iTEMTYPE == "STAMP") ? myTab(LocaleKeys.details.tr(), 1) : myTab(LocaleKeys.request.tr(), 1),
|
|
|
|
|
myTab(LocaleKeys.actions.tr(), 2),
|
|
|
|
|
myTab(LocaleKeys.attachments.tr(), 3),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
@ -249,6 +249,19 @@ class _WorkListDetailScreenState extends State<WorkListDetailScreen> {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
children: [
|
|
|
|
|
InfoFragment(
|
|
|
|
|
poHeaderList: getPoNotificationBody?.pOHeader ?? [],
|
|
|
|
|
workListData: workListData,
|
|
|
|
|
itemCreationHeader: getItemCreationNtfBody?.itemCreationHeader ?? [],
|
|
|
|
|
getStampMsNotifications: getStampMsNotifications,
|
|
|
|
|
getStampNsNotifications: getStampNsNotifications,
|
|
|
|
|
getEitCollectionNotificationBodyList: getEitCollectionNotificationBodyList,
|
|
|
|
|
getPhonesNotificationBodyList: getPhonesNotificationBodyList,
|
|
|
|
|
getBasicDetNtfBodyList: getBasicDetNtfBodyList,
|
|
|
|
|
getAbsenceCollectionNotificationBodyList: getAbsenceCollectionNotificationBodyList,
|
|
|
|
|
getContactNotificationBodyList: getContactNotificationBodyList,
|
|
|
|
|
getPrNotificationBodyList: getPrNotificationBody,
|
|
|
|
|
),
|
|
|
|
|
(workListData!.iTEMTYPE == "HRSSA" || workListData!.iTEMTYPE == "STAMP")
|
|
|
|
|
? DetailFragment(workListData, memberInformationListModel)
|
|
|
|
|
: RequestFragment(
|
|
|
|
@ -266,19 +279,6 @@ class _WorkListDetailScreenState extends State<WorkListDetailScreen> {
|
|
|
|
|
voidCallback: reloadWorkList,
|
|
|
|
|
)
|
|
|
|
|
: showLoadingAnimation(),
|
|
|
|
|
InfoFragment(
|
|
|
|
|
poHeaderList: getPoNotificationBody?.pOHeader ?? [],
|
|
|
|
|
workListData: workListData,
|
|
|
|
|
itemCreationHeader: getItemCreationNtfBody?.itemCreationHeader ?? [],
|
|
|
|
|
getStampMsNotifications: getStampMsNotifications,
|
|
|
|
|
getStampNsNotifications: getStampNsNotifications,
|
|
|
|
|
getEitCollectionNotificationBodyList: getEitCollectionNotificationBodyList,
|
|
|
|
|
getPhonesNotificationBodyList: getPhonesNotificationBodyList,
|
|
|
|
|
getBasicDetNtfBodyList: getBasicDetNtfBodyList,
|
|
|
|
|
getAbsenceCollectionNotificationBodyList: getAbsenceCollectionNotificationBodyList,
|
|
|
|
|
getContactNotificationBodyList: getContactNotificationBodyList,
|
|
|
|
|
getPrNotificationBodyList: getPrNotificationBody,
|
|
|
|
|
),
|
|
|
|
|
isAttachmentLoaded
|
|
|
|
|
? getAttachmentList.isEmpty
|
|
|
|
|
? Utils.getNoDataWidget(context)
|
|
|
|
|