Skip to content

Add stop address editing for GPS mileage #85802

@JmillsExpensify

Description

@JmillsExpensify

Problem
When an employee creates a GPS mileage expense, if the recorded trip has an inaccurate stop destination (e.g., forgot to stop), then they have to recreate the expense using manual mileage or a re-drawn map route, which is harder to reproduce accurately and provides weaker supporting documentation for approvers and auditors.

Solution
In one release, we will:

  • Make the stop address a push row
  • Show an “Edit stop” page, with a map and a slider below
  • Users can drag the slider to decrease the distance, which is animated on the map
  • Where ever the users stops the slider and confirms, we save that stop address when creating the expense (and updating the mileage receipt).
Image

Further details

  • We'll start saving GPS way points in the BE, which means storing the gpsCoordinates in the commentNVPs (where we currently store existing distance data like routeImageURL and odometer readings).
  • We'll also start saving any mileage decreases via modifiedDistance, similar to modifiedCreated, modifiedAmount, modifiedMerchant and modifiedMCC.

This is an internal initiative, so we won't open it up to proposals

Issue OwnerCurrent Issue Owner: @GCyganek

Metadata

Metadata

Labels

InternalRequires API changes or must be handled by Expensify staffNewFeatureSomething to build that is a new item.WeeklyKSv2

Type

No type
No fields configured for issues without a type.

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions