Miscellaneous collection

the following are customisation for the mcs

  1. NN Rishikesh raised a requirement for some additional fields on the MCS receipt. these are;

    1. Payer's Father name

    2. Payer's Mohalla name

    3. Payer's Address

    4. Payer's account number

    5. Comments at the time of applying the MCS

  2.  Challan features similar to trade licenses for universal collection.

  3. Added Citizen and Employee copy in Receipt.

Additional fields on the MCS receipt

some additional fields are added in the MCS receipt

following are the fields that are added in the receipt.

  1. Payer's Father name

  2. Payer's Mohalla name

  3. Payer's Address

  4. Payer's account number

  5. Comments at the time of applying the MCS

Challan features

challan features are added similar to the trade licenses for the uc

Added Citizen and Employee copy in Receipt

Added Citizen and Employee copy in the receipt.

Technical Implementation Details:

the main file for the new collection.

web/rainmaker/dev-packages/egov-uc-dev/src/ui-config/screens/specs/uc/newCollection.js

MCS receipt implementation

below is the receipt form config here the data for the employee and citizen receipt are added the below code is added in between of the receipt

{ "style": "dot-line", "text": "_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _" },

https://github.com/egovernments/ukd-rainmaker-customization/blob/master/configs/pdf-service/format-config/misc-receipt.json#L521

below is the receipt data config here the data are fetched for from the external url with query params

https://github.com/egovernments/ukd-rainmaker-customization/blob/master/configs/pdf-service/data-config/misc-receipt.json#L499

"externalAPI": [ { "path": "http://egov-mdms-service:8080/egov-mdms-service/v1/_get", "queryParam": "moduleName=tenant&masterName=tenants&tenantId=uk&filter=%5B?(@.code=='{$.tenantId}')%5D", "apiRequest": null, "responseMapping":[ { "variable":"address", "value":"$.MdmsRes.tenant.tenants[0].address" }, { "variable":"phoneNumber", "value":"$.MdmsRes.tenant.tenants[0].contactNumber" }, { "variable":"website", "value":"$.MdmsRes.tenant.tenants[0].domainUrl" }, { "variable":"email", "value":"$.MdmsRes.tenant.tenants[0].emailId" }, { "variable": "logoImage", "value":"$.MdmsRes.tenant.tenants[0].logoId", "type":"image" }, { "variable": "municipalityName", "value":"$.MdmsRes.tenant.tenants[0].city.municipalityName" }, { "variable": "logo-header", "value":"$.MdmsRes.tenant.tenants[0].code", "localisation":{ "required":true, "prefix": "RECEIPT_MUNICIPALITY", "module":"rainmaker-receipt" } } ] }