Repository navigation
show category picker in invoices confirmation - #41723
Conversation
|
@gijoe0295 @cristipaval Are you facing the issue on dev main branch where the sent invoice disappears and Screen.Recording.2024-05-07.at.14.11.44.mov |
|
@Pujan92 Yes I got it as well, the messages jumped in chaos, it moved to the top of the screen. When you switched to another report and back, it would work properly. |
Reviewer Checklist
Screenshots/VideosAndroid: Nativemn2.webmAndroid: mWeb Chromema1.webmiOS: NativeSimulator.Screen.Recording.-.iPhone.15.Pro.-.2024-05-04.at.16.02.18.mp4iOS: mWeb SafariSimulator.Screen.Recording.-.iPhone.15.Pro.-.2024-05-04.at.15.58.52.mp4MacOS: Chrome / SafariScreen.Recording.2024-05-04.at.15.48.57.movScreen.Recording.2024-05-07.at.14.09.20.movMacOS: DesktopScreen.Recording.2024-05-04.at.16.05.27.mov |
|
✋ 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/cristipaval in version: 1.4.72-0 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.4.72-1 🚀
|
| // TODO: remove the !isTypeInvoice from this condition after BE supports tags for invoices: https://github.com/Expensify/App/issues/41281 | ||
| const shouldShowTags = useMemo(() => isPolicyExpenseChat && OptionsListUtils.hasEnabledTags(policyTagLists) && !isTypeInvoice, [isPolicyExpenseChat, policyTagLists, isTypeInvoice]); | ||
|
|
||
| // A flag for showing tax rate | ||
| const shouldShowTax = isTaxTrackingEnabled(isPolicyExpenseChat, policy); | ||
| // TODO: remove the !isTypeInvoice from this condition after BE supports tax for invoices: https://github.com/Expensify/App/issues/41281 | ||
| const shouldShowTax = isTaxTrackingEnabled(isPolicyExpenseChat, policy) && !isTypeInvoice; |
There was a problem hiding this comment.
Is there a tracking issue for the BE implementation?
There was a problem hiding this comment.
Not yet. Cc @danielrvidal @cristipaval We agreed earlier #41281 (comment) that we temporarily hide these fields/parameters until BE supports them in the SendInvoice API.
Details
This PR shows category picker when creating invoices.
Fixed Issues
$ #41281
PROPOSAL: #41281 (comment)
Tests
Note
Tags,Tax rateandTax amountdoes not appear in IOU confirmation screen but appear in transaction report. This is a temporary fix until the BE supported those fields when creating invoices.Categorymenu shows and you can select a categoryRequiredappears in theMerchantfield=====
Offline tests
NA
QA Steps
Note
Tags,Tax rateandTax amountdoes not appear in IOU confirmation screen but appear in transaction report. This is a temporary fix until the BE supported those fields when creating invoices.Categorymenu shows and you can select a categoryRequiredappears in theMerchantfield=====
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
video_2024-05-03_17-37-08.mp4
Android: mWeb Chrome
video_2024-05-03_19-31-42.mp4
iOS: Native
Screen.Recording.2024-05-03.at.17.28.12-source.mov
iOS: mWeb Safari
Screen.Recording.2024-05-03.at.17.03.14-source.mov
MacOS: Chrome / Safari
Screen.Recording.2024-05-03.at.19.29.28-source.mov
Screen.Recording.2024-05-07.at.12.05.37-source.mov
MacOS: Desktop
Screen.Recording.2024-05-03.at.16.30.07-source.mov