Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Objective:

  1. Generate bill for all miscellaneous / Adhoc services which citizens avail from ULBs

  2. The ability for ULBs to Notify citizens about the outstanding payments - Online and offline

  3. Enable Digital payments for citizens - QR code, payment link in notifications, etc.

Employee :

Employees will be able to Create Challan, by selecting the service category, entering all consumer information and tax head details.

MCollect - Create Challan

...

Creating new challan file changes are present in https://github.com/egovernments/digit-ui-internals/blob/development/packages/modules/mCollect/src/pages/employee/CreateChallan.js

Selecting City alone is disabled as UC Employee of City A should be able to access/create only City A related challans.

MDMS Details:

Created hooks for mdms in mCollect, by using hooks will get the response by passing the details in the method.

Digit.MDMSService.getPaymentRules(tenantId, "[?(@.type=='Adhoc')]"); which is present in the https://github.com/egovernments/digit-ui-internals/blob/development/packages/modules/mCollect/src/pages/employee/CreateChallan.js

MDMS File path: https://github.com/egovernments/digit-ui-internals/blob/development/packages/libraries/src/services/elements/MDMS.js

Service Type and Service Category dropdown Formation

Based on the response, Service Type and Service category Dropdowns are Loaded.
For eg: Refer to the response object

Code Block
{
  "businessService": "WaterCharges.Metered",
  "code": "WaterCharges.Metered",
  "collectionModesNotAllowed": [
    "DD"
  ],
  "partPaymentAllowed": false,
  "isAdvanceAllowed": true,
  "demandUpdateTime": 86400000,
  "isVoucherCreationEnabled": false,
  "type": "Adhoc"
}

Based on that "businessService": "WaterCharges.Metered"

The service Category will be "WaterCharges"

The service Type will be "Metered"

Tax Head dropdown Formation

Based on the MDMS response TaxHeadMaster are formed by selection service type dropdown.

Filter the initial Taxhead master with selected service type with service Attribute in each Taxheads.

Other Validations and Create challan can be refered in https://github.com/egovernments/digit-ui-internals/blob/development/packages/modules/mCollect/src/pages/employee/CreateChallan.js

createChallan method is used to create challan.

/echallan-services/eChallan/v1/_create API is used to create a challan .

Once Challan is created successfully, you will be able to see Challan Acknowledgement.

Actions available:

  1. Proceed to Payment

  2. Print Challan

  3. Go to home

Image Added

Challan’s can be downloaded through this API egov-pdf/download/UC/mcollect-challan?challanNo= .

Localisation Module:

rainmaker-uc
API Used :

  1. egov-mdms-service/v1/_search

  2. echallan-services/eChallan/v1/_create

  3. egov-pdf/download/UC/mcollect-challan

 

ROLE ACTION MAPPING

S.NO

API

ROLES

ACTION ID

1

egov-mdms-service/v1/_search

954

2

echallan-services/eChallan/v1/_create

UC_EMP

2112

3

egov-pdf/download/UC/mcollect-challan

UC_EMP

2115

Related Links :

Related Title

Documentation

MCollect Search Challan

Search Challan and Pay Challan

MCollect Pay Challan

BillGenie

MCollect Edit / Update Challan

Edit/Cancel Challan