Repository navigation
[Payment due @Eskalifer1] Remove the invoice bank account GBR check that can never show - #105696
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@Eskalifer1 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] |
🦜 Polyglot Parrot! 🦜Squawk! Looks like you added some shiny new English strings. Allow me to parrot them back to you in other tongues: View the translation diffdiff --git a/src/languages/ja.ts b/src/languages/ja.ts
index 1f26f908..2ae9387c 100644
--- a/src/languages/ja.ts
+++ b/src/languages/ja.ts
@@ -7470,7 +7470,6 @@ _詳しい手順については、[ヘルプサイトをご覧ください](${CO
title: 'メンバーをコピー',
prompt: ({count, targetWorkspaceName}: {count: number; targetWorkspaceName: string}) => ({
one: `${targetWorkspaceName}のメンバーをこのワークスペースのメンバーで置き換えてもよろしいですか?`,
- // Japanese has no "one" plural category, so handle the single-workspace case here
other:
count === 1
? `${targetWorkspaceName}のメンバーをこのワークスペースのメンバーで置き換えてもよろしいですか?`
diff --git a/src/languages/zh-hans.ts b/src/languages/zh-hans.ts
index 538dc7ed..d37e340e 100644
--- a/src/languages/zh-hans.ts
+++ b/src/languages/zh-hans.ts
@@ -7296,7 +7296,6 @@ _如需更详细的说明,请[访问我们的帮助网站](${CONST.NETSUITE_IM
title: '复制成员',
prompt: ({count, targetWorkspaceName}: {count: number; targetWorkspaceName: string}) => ({
one: `确定要用此工作区的成员替换 ${targetWorkspaceName} 的成员吗?`,
- // Chinese has no "one" plural category, so handle the single-workspace case here
other: count === 1 ? `确定要用此工作区的成员替换 ${targetWorkspaceName} 的成员吗?` : `确定要用此工作区的成员替换 ${count} 个工作区的成员吗?`,
}),
},
Note You can apply these changes to your branch by copying the patch to your clipboard, then running |
Reviewer Checklist
Screenshots/VideosAndroid: HybridApp105696-android-native.movAndroid: mWeb Chrome105696-android-web.moviOS: HybridApp105696-ios-native.moviOS: mWeb Safari105696-ios-web.mov |
|
Hi @cead22! LMK when you complete checklist so i can take another look, thx! Please also lmk if do you plan to upload recordings |
|
@Eskalifer1 done, I uploaded screenshot for Desktop |
|
@Beamanator 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] |
|
🎯 @Eskalifer1, thanks for reviewing and testing this PR! 🎉 A payment issue will be created for your review once this PR is deployed to production. If payment is not needed (e.g., regression PR review fix etc), react with 👎 to this comment to prevent the payment issue from being created. |
|
@heyjennahay there are no visual or functional changes in this PR, it's just removing dead code |
|
🚧 Beamanator has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/Beamanator in version: 9.5.32-0 🚀
|
|
No FullStory changes needed. This PR only removes unreachable invoice bank-account attention checks and related debug strings and tests, without changing user-facing behavior. |
|
No help site update needed. This PR only removes unreachable invoice bank-account attention checks and related debug strings and tests, without changing user-facing behavior. |
|
🤖 Payment issue created: #106185 |
|
🚀 Deployed to production by https://github.com/lakchote in version: 9.5.32-7 🚀
|

Explanation of Change
This PR removes the "missing invoice bank account" GBR check, because it can never show.
hasMissingInvoiceBankAccountonly returns true for a paid invoice. Both places ingetReasonAndReportActionThatRequiresAttentionthat call it also require the invoice to be unpaid. That second condition was added on purpose in 3af8319 to remove the GBR from paid invoices. Since then, the check always fails, and the existing test documented that it returnsnull.This PR removes the dead code:
getReasonAndReportActionThatRequiresAttentionhasMissingInvoiceBankAccountHAS_MISSING_INVOICE_BANK_ACCOUNTreason and its debug translationsFixed Issues
$ https://github.com/Expensify/Expensify/issues/684654
PROPOSAL:
Tests
Offline tests
Same as tests.
QA Steps
Same as tests.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)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.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari