Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

In Water & Sewerage Module, while creating a Application user will get Acknowledgement form for creating application, Similarly after doing pending for field inspection and payment user can download the estimation letter and sanction letter.

Here we see more about the configuration involved in each document downloads.

 

  1. Acknowledgement Download,

After Submitting the W&S Create Application user can download / Print the Acknowledgement .

Reference

Here downloadAppmethod will call the PDF service based on the type of download like application or Estimation/ sanction letter to download/ print.

Reference:

https://github.com/egovernments/frontend/blob/master/web/rainmaker/dev-packages/egov-wns-dev/src/ui-config/screens/specs/wns/acknowledgement.js

for application PDF, data mapping and formatting present in PDF config files.

DataConfig file:

https://github.com/egovernments/configs/blob/master/pdf-service/data-config/ws-applicationwater.json

Format config file:

https://github.com/egovernments/configs/blob/master/pdf-service/format-config/ws-applicationwater.json

2.Estimation Letter & Sanction letter

After pending for Field inspection stage is done (if status is pending for approval) Estimation letter will get generated.

After payment stage is done (status is pending for connection activation) Sanction letter will get generated.

to download Estimation/sanction letter, we will get the fileStoreId of the Estimation/sanction letter.

 downloadReceiptFromFilestoreID(fileStoreId, mode)

Mode- will be either Download/Print.

downloadReceiptFromFilestoreID needs to be imported from web\rainmaker\dev-packages\egov-common-dev\src\ui-utils\commons.js

Reference:

https://github.com/egovernments/frontend/blob/master/web/rainmaker/dev-packages/egov-wns-dev/src/ui-utils/commons.js

Querystring we passed to the request body for getting filestoreid.

  • No labels