worklist updates

payment_worklist_CR_6939
haroon amjad 1 year ago
parent 3327130e74
commit 096c52d979

@ -34,7 +34,7 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply plugin: 'com.huawei.agconnect' apply plugin: 'com.huawei.agconnect'
android { android {
compileSdkVersion 33 compileSdkVersion 34
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8 sourceCompatibility JavaVersion.VERSION_1_8

@ -7,7 +7,7 @@ buildscript {
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:7.0.3' classpath 'com.android.tools.build:gradle:7.1.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.gms:google-services:4.3.8' classpath 'com.google.gms:google-services:4.3.8'
classpath 'com.huawei.agconnect:agcp:1.8.0.300' classpath 'com.huawei.agconnect:agcp:1.8.0.300'

@ -499,6 +499,12 @@ class _WorkListDetailScreenState extends State<WorkListDetailScreen> {
case "APPROVE": case "APPROVE":
performAction(notificationButton.bUTTONACTION!); performAction(notificationButton.bUTTONACTION!);
break; break;
case "TRY_APPROVE_AGAIN":
performAction(notificationButton.bUTTONACTION!);
break;
case "SEND_BACK_TO_PREPARER":
performAction(notificationButton.bUTTONACTION!);
break;
case "UPDATE_ACTION": case "UPDATE_ACTION":
showMyBottomSheet( showMyBottomSheet(
context, context,
@ -691,7 +697,7 @@ class _WorkListDetailScreenState extends State<WorkListDetailScreen> {
"P_NOTIFICATION_ID": workListData!.nOTIFICATIONID, "P_NOTIFICATION_ID": workListData!.nOTIFICATIONID,
"RespondAttributeList":responseAttribute, "RespondAttributeList":responseAttribute,
}; };
if (actionMode == "APPROVED" || actionMode == "APPROVE" || actionMode == "CLOSE" || actionMode == "ANSWER_INFO" || actionMode == "RFC") { if (actionMode == "APPROVED" || actionMode == "APPROVE" || actionMode == "CLOSE" || actionMode == "ANSWER_INFO" || actionMode == "RFC" || actionMode == "TRY_APPROVE_AGAIN" || actionMode == "SEND_BACK_TO_PREPARER") {
performNotificationAction(payload); performNotificationAction(payload);
} else if (note.isNotEmpty && (actionMode != "APPROVED" || actionMode != "APPROVE")) { } else if (note.isNotEmpty && (actionMode != "APPROVED" || actionMode != "APPROVE")) {
performNotificationAction(payload); performNotificationAction(payload);

Loading…
Cancel
Save