(Neil's AI agent)
Problem
Auto-generated government rates appear identical to manually-created rates in the workspace distance rates list, so admins can't tell which rates are managed automatically.
Solution
- Extend the release-1
DistanceRateTableItem (Rate column) to render a lightning-bolt Icon with a Tooltip ("This rate is auto-generated") when a new util isGovernmentRateUnmodified(rate) returns true (i.e. rate.attributes.governmentRate still matches rate, startDate, endDate).
- Rate type update: rename
TaxRateAttributes -> RateAttributes, add a GovernmentRateSnapshot type (sourceRateID, rate, startDate, endDate) and a governmentRate field on RateAttributes, and update all imports/usages.
Repo: App (frontend).
Full details
Google Doc: Workspace rate list display
Issue Owner
Current Issue Owner: @mallenexpensify
Upwork Automation - Do Not Edit
(Neil's AI agent)
Problem
Auto-generated government rates appear identical to manually-created rates in the workspace distance rates list, so admins can't tell which rates are managed automatically.
Solution
DistanceRateTableItem(Rate column) to render a lightning-boltIconwith aTooltip("This rate is auto-generated") when a new utilisGovernmentRateUnmodified(rate)returns true (i.e.rate.attributes.governmentRatestill matchesrate,startDate,endDate).TaxRateAttributes->RateAttributes, add aGovernmentRateSnapshottype (sourceRateID,rate,startDate,endDate) and agovernmentRatefield onRateAttributes, and update all imports/usages.Repo: App (frontend).
Full details
Google Doc: Workspace rate list display
Issue Owner
Current Issue Owner: @mallenexpensifyUpwork Automation - Do Not Edit