New Application :
Components added in new application screen from employee side are below.
Payment Type: Employee can select mode of payment while creating new application.
SelectPaymentType.js contains the component which is responsible to render the component.
You can find the file in
DIGIT-Dev/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pageComponents/SelectPaymentType.js
MDMS changes responsible to render payment Type are below:
PaymentType.json
https://github.com/egovernments/egov-mdms-data/blob/DEV/data/pb/FSM/PaymentType.json
"PaymentType": [ { "name": "Pay Now", "code": "PRE_PAY", "active": true }, { "name": "Pay on Service", "code": "POST_PAY", "active": true } ]
PreFieldsconfig.json:
https://github.com/egovernments/egov-mdms-data/blob/DEV/data/pb/FSM/PreFieldsConfig.json
{ "type": "component", "key": "paymentPreference", "withoutLabel": true, "component": "SelectPaymentType" }
master-config.json
https://github.com/egovernments/egov-mdms-data/blob/DEV/master-config.json
"PaymentType": { "masterName": "PaymentType", "isStateLevel": true, "uniqueKeys": [ "$.code" ] },
2. Gender Type: Employee can choose the gender type of the applicants.
SelectName.js is responsible for rendering the component.
Path: DIGIT-Dev/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pageComponents/SelectName.js
To render the gender type we have added the Object for gender in Inputs in selectName.js
{ label: "COMMON_APPLICANT_GENDER", type: "dropdown", name: "applicantGender", options: genderTypes, isMandatory: false, }
3. Vehicle capacity and No Of Trips
Employee can select vehicle capacity and number of trips according to the need.
no of trips can be editable only if payment type is post pay.
Schedule Action:
In Schedule Action, Employee can schedule the trip by entering the number of trips.
Add Comment