Miscellaneous collection
the following are customisation for the mcs
NN Rishikesh raised a requirement for some additional fields on the MCS receipt. these are;
Payer's Father name
Payer's Mohalla name
Payer's Address
Payer's account number
Comments at the time of applying the MCS
Challan features similar to trade licenses for universal collection.
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.
Payer's Father name
Payer's Mohalla name
Payer's Address
Payer's account number
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": "_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _" },
below is the receipt data config here the data are fetched for from the external url with query params
"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" } } ] }