Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

New Application :

Components added in new application screen from employee side are below.

  1. 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.

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.