Skip to content

Commit

Permalink
Task #231766 - [FE] - To add Decline funtionality at maker side (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonaliTekdi authored Dec 12, 2024
1 parent cdee8e2 commit a12a7c1
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions src/assets/config/ui-config/tables.json
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,46 @@
"afterActionRemoveRow": true,
"replace": "certificateNo",
"redirectTo": "/pdf-view/credentials/"
},
{
"buttonText": "Decline",
"type": "button",
"classes": "dsn-r-btn",
"action": "confirmModal",
"modal": {
"title": "Decline Result",
"titleCss": "titleClr-r",
"bodyVal": ["schoolName"],
"message": "Confirm you are declining result for $schoolName",
"buttons": [
{
"title": "Yes",
"classes": "btn-primary dsn-r-btn",
"action": "requestCall",
"call": "post",
"headers": {
"Content-Type": "application/json"
},
"api": "api/inspector/decline",
"successModal": true,
"modal": {
"bodyVal": ["schoolName"],
"title": "You have successfully decline results for $schoolName",
"redirectTo": "/Examiner/list/uploadstudents",
"image": "assets/images/success.png",
"Buttons": [
{
"title": "Done",
"redirectTo": "/Examiner/list/uploadstudents"
}
]
}
},
{
"title": "Cancel"
}
]
}
}
]
}
Expand Down

0 comments on commit a12a7c1

Please sign in to comment.