New Collection
Objective
Provide Employee to create a Demand against a service and pay for the demand.
Route - https://egov-micro-qa.egovernments.org/employee/uc/newCollection
Technical Implementation Details
Initial MDMS call is being made on page load.
All the Forms and its functionality are in https://github.com/egovernments/frontend/blob/dfa973d2ff9d5a73b5d689733e588207a99adc0b/web/rainmaker/dev-packages/egov-uc-dev/src/ui-config/screens/specs/uc/newCollectionResource/newCollectionDetails.js
The Validation of form and Create Demand is in done in https://github.com/egovernments/frontend/blob/80c5bff5b0869ba44f1626fabe4a5a6133afa558/web/rainmaker/dev-packages/egov-uc-dev/src/ui-config/screens/specs/uc/newCollectionResource/newCollectionFooter.js
Data fetch,load and render :
Once the demand is created using /billing-service/demand/_create
API , then it will navigate to common pay for making payment.
API Used :
1.egov-mdms-service/v1/_search
2.egov-idgen/id/_generate
3.billing-service/demand/_create