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 12 Next »

Mdms Configuration

https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/common-masters/uiCommonPay.json

https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/BillingService/BusinessService.json

{
      "code": "PT",
      "headerBandLabel": "PT_COMMON_TABLE_COL_PT_ID",
      "receiptKey": "property-receipt",
      "billKey": "property-bill",
      "buttons": [
        {
          "label": "COMMON_BUTTON_HOME",
          "citizenUrl": "/property-tax",
          "employeeUrl": "/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.

egov-common/pay :

  • Header Band - Configured from mdms (headerBandLabel)

  • Fee Details - Fetched from fetchBill Response

  • Capture Payment - Tabs are configured from BusinessService.json with "collectionModesNotAllowed" property.

{
      "businessService": "PropertyTax",
      "code": "PT",
      "collectionModesNotAllowed": [
        "DD"
      ],
      "partPaymentAllowed": true,
      "minAmountPayable":100,
      "isAdvanceAllowed": false,
      "demandUpdateTime": 86400000,
      "isVoucherCreationEnabled": true,
      "billGineiURL" : "egov-searcher/bill-genie/billswithaddranduser/_get"
    }

  • Amount to be Paid - Configured from BusinessService.json with "partPaymentAllowed" property.

  • Partial Amount - Configured from BusinessService.json with "minAmountPayable" property.

  • G8 Receipt Details - Appears for all Modules

egov-common/acknowledgement :

  • Header Band - Configured from mdms (headerBandLabel)

  • The messages displayed on the acknowledgement page are configured both for success and failure cases.

PDF Configurations :

Different configurations are written for every Modules Receipt and Bills

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

"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

Commit ids : RELEASE-2020-v1-01 branch

1. 5f1fe8699f28c9954b9a98e52137941bc0473a7c

2. 4eaa8a454be6776e971234f3e014525e617f7492

Issues Fix Commits :

  • b18643131852c6b35061d450688a029984f06e28

  • 0fa239cd652fd190b7f4b7a024acd90c75581a08

  • 3c27f9c38e0461508b2dcc02819f3c90ce33b0a6

  • 86b3e38f9a461391e418ccac9ee0068caf796e87

  • b2468e3b8777d934f1a996f6f0c5b30a92fb11b8

  • 80e6f4274bfb6d258578a9f1f691ce62adb3f6e8

  • 7abd6c079a95d94fc215c1a6b4b4457516f71f13

  • 430e16e867f3a19e7ea83c1c97f327fcb024500a

  • c74738a8f36bfcd7a4886b30d8c5485e03621796

Working builds :

employee:479-RELEASE-2020-v1-01-c74738a8
citizen:425-RELEASE-2020-v1-01-c74738a8

NEFT/RTGS/PO commits :

  • 924af6a60417cd3bc05f3538369dd3f5d8258873

  • 70f27d4121ea0cab726502ec71e45d30e51a2921

  • 7b67e50a2a1e22a83754684b862ff48c28611cfc

Mdms Configuration :

{
      "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.

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

/access/v1/actions/mdms/_get

870

CSR, GRO,DGRO,EMPLOYEE,CITIZEN,PGR-ADMIN,EMPLOYEE_FINANCE,TL_APPROVER,TL_CEMP,SUPERUSER,COLL_OPERATOR,BANK_COLL_OPERATOR,CSC_COLL_OPERATOR,DMA OFFICE OFFICER,ULB OFFICER,COMMISSIONER,

3

/egov-mdms-service/v1/_search

954

LOA_CREATOR,SUPERUSER,WO_CREATOR,AE_CREATOR,WORKS_MASTER_CREATOR,

4

/user/_search

604

SUPERUSER,SYS_INTEGRATOR_FINANCE,SYS_INTEGRATOR_WATER_SEW,EGF_BILL_CREATOR,EMPLOYEE,EMPLOYEE_FINANCE,

5

/localization/messages/v1/_search

1531

SUPERUSER,EMPLOYEE,CITIZEN,GRO,DGRO,

6

/billing-service/bill/v2/_fetchbill

1862

EMPLOYEE,CITIZEN,

7

/collection-services/payments/_create

1863

SUPERUSER,EMPLOYEE

8

/collection-services/payments/_search

1864

SUPERUSER,EMPLOYEE,CITIZEN

9

/pg-service/transaction/v1/_update

1572

SUPERUSER,EMPLOYEE,CITIZEN

  • No labels