Show settlement button only if monthly frequency#85558
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@MelvinBot can you test this change? |
|
I tested this change. Here's what I found: ✅ Test ResultsTypeScript: No new type errors introduced (only pre-existing Screenshots
Code ReviewThe logic change is correct and consistent with the existing pattern in const selectedFrequency = settings?.monthlySettlementDate
? CONST.EXPENSIFY_CARD.FREQUENCY_SETTING.MONTHLY
: CONST.EXPENSIFY_CARD.FREQUENCY_SETTING.DAILY;One observation: The parent component const shouldShowSettlementButtonOrDate = !!cardSettings?.isMonthlySettlementAllowed || cardManualBilling;This controls the small-screen layout — when true, it puts "Current Balance" on its own row to make room for the settlement button. After this PR, there's a theoretical scenario where |
|
🚧 @rlinoz has triggered a test Expensify/App build. You can view the workflow run here. |
This comment has been minimized.
This comment has been minimized.
|
@ZhenjaHorbach Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridApp2026-03-20.17.18.16.moviOS: mWeb Safari2026-03-20.17.14.57.movMacOS: Chrome / Safari2026-03-20.17.07.24.mov |
|
@ZhenjaHorbach can you continue the review here please? |
|
Sorry |
|
LGTM! |
|
@marcochavezf Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
🎯 @ZhenjaHorbach, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #85969. |
|
🚧 @marcochavezf has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
@rlinoz @ZhenjaHorbach @marcochavezf Can this one please be tested internally as the steps are blocked for Applause |
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.3.43-3 🚀
|



Explanation of Change
Manual settlement can only run if settlement frequency is monthly, updating the code to do that.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/612428
PROPOSAL:
Tests
Offline tests
QA Steps
Not sure if this can be QAd by Applasuse but:
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Daily:
Monthly:
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari