-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New Feature: "When to export" selector for auto-sync for Quickbooks Online #58980
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
const accountingMethod = config?.accountingMethod ?? COMMON_CONST.INTEGRATIONS.ACCOUNTING_METHOD.CASH; | ||
const data: MenuListItem[] = Object.values(COMMON_CONST.INTEGRATIONS.ACCOUNTING_METHOD).map((accountingMethodType) => ({ | ||
value: accountingMethodType, | ||
text: translate(`workspace.accountingMethods.values.${accountingMethodType}` as TranslationPaths), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note to self: update this import
@hungvu193 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] |
Fixing, the tests now |
@hungvu193 I think @suneox will review this since he was the reviewer of the original PR |
@twilight2294 Please fix the ESLint check and typecheck |
Looking tomorrow |
@suneox PR ready for your review |
bump for review @suneox |
I missed this one from the K2 so I'll prioritize it today. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2025-04-10.at.21.14.58.mp4Android: mWeb ChromeScreen.Recording.2025-04-10.at.21.20.05.mp4iOS: NativeScreen.Recording.2025-04-10.at.21.56.51.mp4iOS: mWeb SafariScreen.Recording.2025-04-10.at.21.46.57.mp4MacOS: Chrome / SafariScreen.Recording.2025-04-10.at.21.04.09.mp4MacOS: DesktopScreen.Recording.2025-04-10.at.21.17.39.mp4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change set is the same as the previous PR and use enableEdgeToEdgeBottomSafeAreaPadding
LGTM
@techievivek can you please check and merge this one |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@twilight2294 Do you mind resolving the conflicts? Thanks. |
@@ -3176,6 +3176,19 @@ const translations = { | |||
[CONST.QUICKBOOKS_REIMBURSABLE_ACCOUNT_TYPE.CHECK]: 'To use check export, set up a bank account in QuickBooks Online', | |||
}, | |||
noAccountsFound: 'No accounts found', | |||
noAccountsFoundDescription: 'Add the account in QuickBooks Online and sync the connection again.', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This already exists on 3192.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same for spanish.
@twilight2294 Friendly bump on fixing the linting errors. |
✋ 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/techievivek in version: 9.1.29-0 🚀
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.1.29-10 🚀
|
Explanation of Change
We need to build the same selector we made for NetSuite in #51512, but for Quickbooks Online (QBO).
The selection should be saved under the property accountingMethod in the QBO config object.
If there is no accountingMethod property set in the QBO config, the selector should default to CASH
Fixed Issues
$ #57522
$ #58501
$ #58429
PROPOSAL: #57522 (comment)
Tests
Same as Qa
Offline tests
Same as QA
QA Steps
Verify you see a
Auto Sync
menu descriptionVerify that the toggle is visible, verify that when the toggle is enabeld we see a new menu item to select
Verify that you see 2 options CASH and accural.
Verify that the newly selected option is showed on the auto-sync page.
Note
If you see #58501 happening again, please put a internal label on the issue, as it is a BE bug.
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Screen_recording_20250307_152728.mp4
Android: mWeb Chrome
Screen_recording_20250307_153144.mp4
iOS: Native
Simulator.Screen.Recording.-.Expensify.testing.-.2025-03-07.at.14.57.40.mp4
iOS: mWeb Safari
Simulator.Screen.Recording.-.Expensify.testing.-.2025-03-07.at.14.59.59.mp4
MacOS: Chrome / Safari
Screen.Recording.2025-03-07.at.2.53.30.PM.mov
MacOS: Desktop
Screen.Recording.2025-03-07.at.3.01.01.PM.mov