Common Acknowledgment screens

We made a common acknowledgment. You need to add prepare the final object and pass the screen values as a prop to the screen. Below is the container for the acknowledgment

To generate all the required objects we have a utill file to that you need to pass some of the properties to getAcknowledgementCard method. This will return the final object for the acknowledgment screen that you need to set in the props of the AcknowledgementContainer

The configuration object must be

this will be the configuration we need to send to the getAcknowledgementCard method based on the Module name and the status of the application it will generate all the label name and keys. Also you need to pass the footer config and download and print config as mention below

Above is the example of passing the footer configuration based on the status and here redirectional url is very important.

Above is the example of download and print code configuration

 

Below is the react component for the container

Below file is the reference for the util file

web/rainmaker/dev-packages/egov-ui-framework-core/src/ui-containers/acknowledgementResource/acknowledgementUtils.js