Skip to content

[Workspace Feeds] Integrate OpenPolicyEditCardLimitTypePage api command to the app #46959

Description

@mountiny

The PR to add a new OpenPolicyEditCardLimitTypePage API command was merged https://github.com/Expensify/Web-Expensify/pull/42964

It is called when the Edit card limit type page is opened by admin, and the command returns unapprovedSpend and totalSpend inside the card data object, which are both negative values (or zero).

Then using these values we can decide which card limit options we show based on the breakdown provided by @MariaHCD here https://expensify.slack.com/archives/C036QM0SLJK/p1721311425532449

The params are:

  • string authtoken
  • string policyID
  • int cardID

Metadata

Metadata

Labels

NewFeatureSomething to build that is a new item.ReviewingHas a PR in reviewWeeklyKSv2

Type

No type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions