Versions Compared

Key

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

New Application :

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

...

Code Block
{
      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.

...

In Schedule Action, Employee can schedule the trip by entering the number of trips.

Technical Implementation :

Vehicle Type have been replaced by Vehicle Capacity and the vehicle capacity shown in drop-down is filtered from the available DSOs and then unique value among capacity are shown in drop-down.

...

Application Timeline :

In the employee application timeline shown in the application details page, vehicle timeline is also added with new statuses (Waiting for Disposal, Disposal in Progress and Disposed) are added. These statuses are shown with the number of Vehicle trips associated with application.

...

Technical Implementation :

For getting vehicle timeline /vehicle/trip/v1/_search API is called for that particular application and based on the response Waiting for Disposal, Disposal in Progress and Disposed statuses are shown.

Below code for handling vehicle trip timeline data can be found in:

frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/services/elements/WorkFlow.js

...