...
Code Block |
---|
{ "code"arrears: "PT",true "headerBandLabel": "PT_COMMON_TABLE_COL_PT_ID", "receiptKey"billKey: "property-receipt", "billKey":"property-bill", "citizenSuccess" cancelReceipt: {true "primaryMessage"code: "CITIZEN_SUCCESS_PT_PAYMENT_MESSAGE", "secondaryMessage"headerBandLabel: "CITIZEN_SUCCESS_PT_PAYMENTCOMMON_MESSAGE_DETAIL", "receiptNo": "CITIZEN_SUCCESSTABLE_COL_PT_PAYMENT_RECEIPT_NOID" }, "employeeSuccess" : { "primaryMessage": "EMPLOYEE_SUCCESS_PT_PAYMENT_MESSAGE",pdfModule: "PT" "secondaryMessage"receiptKey: "EMPLOYEE_SUCCESS_PT_PAYMENT_MESSAGE_DETAIL", property-receipt" "receiptNobuttons": "EMPLOYEE_SUCCESS_PT_PAYMENT_RECEIPT_NO"[ }, "citizenFailure" : { "primaryMessage": "CITIZEN_FAILURE_PT_PAYMENT_FAILURE_MESSAGE", "secondaryMessage"label": "CITIZENCOMMON_FAILURE_PT_PAYMENT_FAILURE_MESSAGE_DETAIL" }BUTTON_HOME", "employeeFailure" : { "primaryMessage"citizenUrl": "EMPLOYEE_FAILURE_PT_PAYMENT_FAILURE_MESSAGE/property-tax", "secondaryMessage": "EMPLOYEE_FAILURE_PT_PAYMENT_FAILURE_MESSAGE_DETAIL" }, "footer": { "label": { "labelName": "GO TO HOME","employeeUrl": "/pt-mutation/propertySearch" } "labelKey": "COMMON_BUTTON_HOME" ] }, "link": "/pt-mutation/propertySearch" } |
The above json has each object for every BusinessService like PT, TL . When a new module is integrated a new object should be added in above json file.
Taking a example of PT - There are 2 pages in common-pay mocule.
...
Example :
PT Receipt data Config : https://github.com/egovernments/configs/blob/master/pdf-service/data-config/property-receipt.json
PT Receipt format Config : https://github.com/egovernments/configs/blob/master/pdf-service/format-config/property-receipt.json
TL Receipt data-config : https://github.com/egovernments/configs/blob/master/pdf-service/data-config/tradelicense-receipt.json
TL Receipt format-config : https://github.com/egovernments/configs/blob/master/pdf-service/format-config/tradelicense-receipt.json
When a new module is integrated then new configurations for both BIll and Receipts should be written in the below path :
https://github.com/egovernments/configs/tree/master/pdf-service
Enabling state level configuration :
https://github.com/egovernments/egov-mdms-data/blob/master/master-config.json
Code Block |
---|
"uiCommonPay": {
"masterName": "uiCommonPay",
"isStateLevel": true,
"uniqueKeys": []
} |
statelevel configuration is added for newly added json.
UI Changes :
All downloadReceipt and downloadBill functions are refactored. So all module developers will have to update the calls respectively in the module screens .
download(receiptQueryString , "download");
is changed to download(receiptQueryString , "download" , receiptKey);
- receiptKey specific to each modules is added as a 3rd param
download(receiptQueryString ,"print");
is changed to download(receiptQueryString ,"print" , receiptKey ,state);
- receiptKey specific to each modules is added as a 3rd param
If configs are not added in mdms for any module then it fetches default keys :
Bill data-config - https://github.com/egovernments/configs/blob/master/pdf-service/data-config/consolidatedbill.json
Bill format config - https://github.com/egovernments/configs/blob/master/pdf-service/format-config/consolidatedbill.json
Receipt data-config - https://github.com/egovernments/configs/blob/master/pdf-service/data-config/consolidatedreceipt.json
Receipt format-config - https://github.com/egovernments/configs/blob/master/pdf-service/format-config/consolidatedreceipt.json
Mdms Configuration :
Code Block |
---|
{
"businessService": "PropertyTax",
"code": "PT",
"collectionModesNotAllowed": [
"DD","OFFLINE_NEFT","OFFLINE_RTGS","POSTAL_ORDER"
],
"partPaymentAllowed": true,
"minAmountPayable":100,
"isAdvanceAllowed": false,
"demandUpdateTime": 86400000,
"isVoucherCreationEnabled": true,
"billGineiURL" : "egov-searcher/bill-genie/billswithaddranduser/_get"
}, |
Configure those instrument types in "collectionModesNotAllowed"
field to not appear in common pay screen.
Arrears Details configuration(fromRelease V2.4)
In the uiCommonPay
Config based on the flag arrears
Bill details shows Arrears Details card ,
which has a Details about arrears with respect to each financial years. If Arrears is required from the specific business service then it has to updated to see the Arrears card
Code Block |
---|
arrears: true
billKey: "property-bill"
buttons: [,…]
cancelReceipt: true
code: "PT"
headerBandLabel: "PT_COMMON_TABLE_COL_PT_ID"
pdfModule: "PT"
receiptKey: "property-receipt" |
Arrears details will be displayed as below
...
Localisation
Please add localisation keys in the below sheet:
https://docs.google.com/spreadsheets/d/1KpYzXFqDz4MjJZFDFTtn8PC1ik8aOzoYbY7h34gvgxg/edit#gid=0
API Call Role Action mapping:
S. No. | API | Action id | Roles |
---|---|---|---|
1 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
| , |
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
|
|
|