|
|
|
|
@ -480,7 +480,7 @@ class _ItgDetailScreenState extends State<ItgDetailScreen> {
|
|
|
|
|
AppState().memberInformationList?.eMPLOYEEEMAILADDRESS ?? "",
|
|
|
|
|
);
|
|
|
|
|
Utils.hideLoading(context);
|
|
|
|
|
Utils.showToast(LocaleKeys.yourChangeHasBeenSavedSuccessfully.tr());
|
|
|
|
|
Utils.showToast(LocaleKeys.yourChangeHasBeenSavedSuccessfully.tr(), isSuccess: true);
|
|
|
|
|
// Navigator.pop(context, "delegate_reload");
|
|
|
|
|
AppState().requestAllList!.removeAt(AppState().itgWorkListIndex!);
|
|
|
|
|
if (AppState().requestAllList!.isEmpty) {
|
|
|
|
|
@ -504,7 +504,7 @@ class _ItgDetailScreenState extends State<ItgDetailScreen> {
|
|
|
|
|
Utils.showLoading(context);
|
|
|
|
|
ITGRequest? itgRequest = await WorkListApiClient().answerITGRequest(requestType, taskId, itemId, employeeNumber, "", comments);
|
|
|
|
|
Utils.hideLoading(context);
|
|
|
|
|
Utils.showToast(LocaleKeys.yourChangeHasBeenSavedSuccessfully.tr());
|
|
|
|
|
Utils.showToast(LocaleKeys.yourChangeHasBeenSavedSuccessfully.tr(), isSuccess: true);
|
|
|
|
|
// Navigator.pop(context, "delegate_reload");
|
|
|
|
|
AppState().requestAllList!.removeAt(AppState().itgWorkListIndex!);
|
|
|
|
|
if (AppState().requestAllList!.isEmpty) {
|
|
|
|
|
@ -528,7 +528,7 @@ class _ItgDetailScreenState extends State<ItgDetailScreen> {
|
|
|
|
|
Utils.showLoading(context);
|
|
|
|
|
ITGRequest? itgRequest = await WorkListApiClient().rejectITGRequest(requestType, taskId, itemId, employeeNumber, comments);
|
|
|
|
|
Utils.hideLoading(context);
|
|
|
|
|
Utils.showToast(LocaleKeys.yourChangeHasBeenSavedSuccessfully.tr());
|
|
|
|
|
Utils.showToast(LocaleKeys.yourChangeHasBeenSavedSuccessfully.tr(), isSuccess: true);
|
|
|
|
|
// Navigator.pop(context, "delegate_reload");
|
|
|
|
|
AppState().requestAllList!.removeAt(AppState().itgWorkListIndex!);
|
|
|
|
|
if (AppState().requestAllList!.isEmpty) {
|
|
|
|
|
@ -552,7 +552,7 @@ class _ItgDetailScreenState extends State<ItgDetailScreen> {
|
|
|
|
|
Utils.showLoading(context);
|
|
|
|
|
ITGRequest? itgRequest = await WorkListApiClient().approveITGRequest(requestType, taskId, itemId, employeeNumber, comments);
|
|
|
|
|
Utils.hideLoading(context);
|
|
|
|
|
Utils.showToast(LocaleKeys.yourChangeHasBeenSavedSuccessfully.tr());
|
|
|
|
|
Utils.showToast(LocaleKeys.yourChangeHasBeenSavedSuccessfully.tr(), isSuccess: true);
|
|
|
|
|
// Navigator.pop(context, "delegate_reload");
|
|
|
|
|
animationIndex = animationIndex + 1;
|
|
|
|
|
AppState().requestAllList!.removeAt(AppState().itgWorkListIndex!);
|
|
|
|
|
@ -578,7 +578,7 @@ class _ItgDetailScreenState extends State<ItgDetailScreen> {
|
|
|
|
|
animationIndex = animationIndex + 1;
|
|
|
|
|
ITGRequest? itgRequest = await WorkListApiClient().grantITGRequest(requestType, taskId, itemId, employeeNumber, "", "");
|
|
|
|
|
Utils.hideLoading(context);
|
|
|
|
|
Utils.showToast(LocaleKeys.yourChangeHasBeenSavedSuccessfully.tr());
|
|
|
|
|
Utils.showToast(LocaleKeys.yourChangeHasBeenSavedSuccessfully.tr(), isSuccess: true);
|
|
|
|
|
|
|
|
|
|
AppState().requestAllList!.removeAt(AppState().itgWorkListIndex!);
|
|
|
|
|
if (AppState().requestAllList!.isEmpty) {
|
|
|
|
|
|