Invoicing bank accounts section#47218
Conversation
…ture/45177-invoice-back-accounts-section
…ture/45177-invoice-back-accounts-section
…ture/45177-invoice-back-accounts-section
…ture/45177-invoice-back-accounts-section
…ture/45177-invoice-back-accounts-section
…ture/45177-invoice-back-accounts-section
…ture/45177-invoice-back-accounts-section
…ture/45177-invoice-back-accounts-section
…ture/45177-invoice-back-accounts-section
…ture/45177-invoice-back-accounts-section
…ture/45177-invoice-back-accounts-section
Reviewer Checklist
Screenshots/VideosAndroid: NativeMacOS: Chrome / SafariScreen.Recording.2024-09-27.at.15.54.09.mov |
…e/45177-invoice-back-accounts-section' and 'main' of https://github.com/rezkiy37/Expensify into feature/45177-invoice-back-accounts-section
|
As we are not showing the invoices option in the LHN yet, in the test steps we can add to open invoices page directly in URL
|
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
madmax330
left a comment
There was a problem hiding this comment.
Looks good, just a couple of small comments
…ture/45177-invoice-back-accounts-section
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/madmax330 in version: 9.0.42-0 🚀
|
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.0.42-3 🚀
|
| const shouldShowEmptyState = !hasBankAccount; | ||
| // Determines whether or not the modal popup is mounted from the bottom of the screen instead of the side mount on Web or Desktop screens | ||
| const isPopoverBottomMount = anchorPosition.anchorPositionTop === 0 || shouldUseNarrowLayout; | ||
| const shouldShowMakeDefaultButton = !paymentMethod.isSelectedPaymentMethodDefault; |
There was a problem hiding this comment.
Coming from #53693, we were showing the Make default payment method even when there's only one payment method available.
| if (paymentType === CONST.PAYMENT_METHODS.PERSONAL_BANK_ACCOUNT || paymentType === CONST.PAYMENT_METHODS.BUSINESS_BANK_ACCOUNT) { | ||
| BankAccounts.openPersonalBankAccountSetupView(); | ||
| return; | ||
| } |
There was a problem hiding this comment.
As discussed in #68031, we decided to only allow connecting BBA inside Workflows.
situchan
left a comment
There was a problem hiding this comment.
This feature PR didn't consider the case when bank account is partially setup.
So when click on payment method item, it showed 3-dot menu instead of showing modal with Continue setup and Start over button




Details
The PR introduces the invoice bank accounts section.
Fixed Issues
$ #45177
PROPOSAL: N/A
Tests
When no bank accounts
When bank accounts are present
Offline tests
QA Steps
Same as "Tests".
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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
Android: Native
Android.mp4
Android: mWeb Chrome
Android.Chrome.mp4
iOS: Native
IOS.mp4
iOS: mWeb Safari
IOS.Safari.mp4
MacOS: Chrome / Safari
Chrome.mp4
MacOS: Desktop
Desktop.mp4