mCollect - Technical Documentation

Provide Employee to search challans, download receipt, check its current status, cancel challan, update challan and collect payment.

Once the user login with UC_EMP Role, then the User will get the Mcollect module card with Total challan count.

Clicking of Search challan it navigates to the Inbox/search challan screen.

Route - mSeva

Inbox File details,

https://github.com/egovernments/digit-ui-internals/blob/main/packages/modules/mCollect/src/pages/employee/Inbox.js

 

Technical Implementation Details

MDMS Configs used in this inbox screen

applicationStatus to show all required status in inbox,

similarly uiCommonPay to get service categories.

Table Structure

  • Uses the same table component similar to other modules.

Data fetch,

  • Once the data is fetched using echallan-services/eChallan/v1/_search API, is being used to search and get data, after that using consumer codes, need to call fetch Bill API billing-service/bill/v2/_fetchbill to get bills for respective challan for showing status, amount and date etc.

  • The count APIechallan-services/eChallan/v1/_count to get the count of total challans.

 

ACTIONS:

COLLECT :

on Click on collect, it will route to common-pay screen with the url:

example:

“https://qa.digit.org/digit-ui/employee/payment/collect/{selectedbusinessService}/{selectedChallanNumber}/tenantId={tenantId}?workflow=mcollect”

This screen is common for all modules.

DOWNLOAD RECEIPT:

On Click on download receipt, able to download receipt of respected challan number using pdf service API egov-pdf/download/PAYMENT/consolidatedreceipt.

 

Cancel/Update Challan:

On search Results we can click on challan number to update/cancel any challan, it is explained in the following documentation

Update / Cancel Challan

 

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

  4. echallan-services/eChallan/v1/_count

 

ROLE ACTION MAPPING

API

ROLES

ACTION ID

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

4

echallan-services/eChallan/v1/_count

UC_EMP

2192

Related Links :

Related Title

Documentation

Related Title

Documentation

MCollect Create Challan

Challan Creation

MCollect Edit / Update Challan

Update / Cancel Challan