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 4 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",
      "citizenSuccess" : {
        "primaryMessage": "CITIZEN_SUCCESS_PT_PAYMENT_MESSAGE",
        "secondaryMessage": "CITIZEN_SUCCESS_PT_PAYMENT_MESSAGE_DETAIL",
         "receiptNo": "CITIZEN_SUCCESS_PT_PAYMENT_RECEIPT_NO"
      },
      "employeeSuccess" : {
        "primaryMessage": "EMPLOYEE_SUCCESS_PT_PAYMENT_MESSAGE",
        "secondaryMessage": "EMPLOYEE_SUCCESS_PT_PAYMENT_MESSAGE_DETAIL",
        "receiptNo": "EMPLOYEE_SUCCESS_PT_PAYMENT_RECEIPT_NO"
      },
      "citizenFailure" : {
        "primaryMessage": "CITIZEN_FAILURE_PT_PAYMENT_FAILURE_MESSAGE",
        "secondaryMessage": "CITIZEN_FAILURE_PT_PAYMENT_FAILURE_MESSAGE_DETAIL"
      },
      "employeeFailure" : {
        "primaryMessage": "EMPLOYEE_FAILURE_PT_PAYMENT_FAILURE_MESSAGE",
        "secondaryMessage": "EMPLOYEE_FAILURE_PT_PAYMENT_FAILURE_MESSAGE_DETAIL"
      },
      "footer": {
        "label": {
          "labelName": "GO TO HOME",
          "labelKey": "COMMON_BUTTON_HOME"
        },
        "link": "/pt-mutation/propertySearch"
      }

The above json has each object for every BusinessService like PT, TL .

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

  • No labels