Fix Customers and Projects to not have option as Sage Intacct Employee Default#46505
Conversation
| mappingName !== CONST.SAGE_INTACCT_CONFIG.MAPPINGS.CUSTOMERS && | ||
| mappingName !== CONST.SAGE_INTACCT_CONFIG.MAPPINGS.PROJECTS && |
There was a problem hiding this comment.
Nit: maybe we could build an array with those consts and check if it includes mapping 🤔
But there are only two of them so it's up to you :)
| mappingName !== CONST.SAGE_INTACCT_CONFIG.MAPPINGS.CUSTOMERS && | |
| mappingName !== CONST.SAGE_INTACCT_CONFIG.MAPPINGS.PROJECTS && | |
| ![CONST.SAGE_INTACCT_CONFIG.MAPPINGS.CUSTOMERS, | |
| CONST.SAGE_INTACCT_CONFIG.MAPPINGS.PROJECTS | |
| ].includes(mappingName) && |
|
@jayeshmangwani 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] |
|
@hungvu193 since you have context, can you take a look? 🙏 |
|
Sure thing. I'll review today 😄 |
|
@SzymczakJ One question, Should we delete the value of Screen.Recording.2024-08-01.at.10.39.18.movSimilar other fields Screen.Recording.2024-08-01.at.10.41.51.mov |
|
That's a hard one for me. |
|
@SzymczakJ @hungvu193 I think we should ignore this because
They don't even have to create a new workspace. They just need to change the selection in settings |
|
@SzymczakJ Can you please resolve conflicts in the meantime? |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-08-02.at.15.04.44.movAndroid: mWeb ChromeScreen.Recording.2024-08-02.at.14.51.09.moviOS: NativeScreen.Recording.2024-08-02.at.15.00.59.moviOS: mWeb SafariScreen.Recording.2024-08-02.at.14.50.05.movMacOS: Chrome / SafariScreen.Recording.2024-08-02.at.14.34.30.movMacOS: DesktopScreen.Recording.2024-08-02.at.14.36.51.mov |
|
We did not find an internal engineer to review this PR, trying to assign a random engineer to #45823 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
|
✋ 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/Gonals in version: 9.0.17-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.17-2 🚀
|
2 similar comments
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.17-2 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.17-2 🚀
|
Details
This PR blocks Customer and Projects mapping from having Sage Intacct Employee Default. I've also found one thing in the docs, that wasn't implemented(quote from design doc):
so this PR also fixes this issue, by not allowing to choose Sage Intacct Employee Default, when Export is set to Vendor BIll and also switching every mapping from Sage Intacct Employee Default to Tag when we switch to Vendor Bill.
Fixed Issues
$ #45823
PROPOSAL: N/A
Tests
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.mov
Android: mWeb Chrome
androidweb.mov
iOS: Native
ios.mov
iOS: mWeb Safari
iosweb.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov