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
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
unapprovedSpendandtotalSpendinside the card data object, which are bothnegativevalues (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: