Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
2.99k stars 2.5k forks source link

Prevent invalid configuration between location and JE selection #41638

Open hayata-suenaga opened 2 weeks ago

hayata-suenaga commented 2 weeks ago

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/41621 PROPOSAL: N/A

Tests / QA Steps

  1. Create a new workspace

  2. Go to the More Feature page and enable the accounting feature

  3. Connect to QBO

  4. Go to the Export page. Check that Vendor Bill is selected for Export out-of-pocket expenses as by default

  5. Go to the Import page. Check the Location configuration. Check that the Switch is toggled off and locked. There should be a hint text under the Switch button. Use the screenshot below as a reference.

    Screenshot 2024-05-10 at 5 44 21 PM
  6. Go to the Export page. Select Journal Entry for Export out-of-pocket expenses as

  7. Go to the Import page. Check Location. Confirm that now you can toggle the switch on or off (i.e. not locked)

  8. Enable the Location import (i.e. toggle it on)

  9. Export -> Export out-of-pocket expenses as

  10. Confirm that Journal Entry is the only option displayed.

Offline tests

N/A

PR Author Checklist

Screenshots/Videos

Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari https://github.com/Expensify/App/assets/98560306/12f2d5b8-99dc-44dc-b9c4-5207104c0aa5
MacOS: Desktop
melvin-bot[bot] commented 1 week ago

@rojiphil 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]

hayata-suenaga commented 5 days ago

@rojiphil bump on this one, please 🙇

hayata-suenaga commented 4 days ago

I decided to go with the original UI copy here

trjExpensify commented 3 days ago

I decided to go with the original UI copy here

Do you mean this one we settled on?

Note: QuickBooks Online does not support adding a location to vendor bills or checks. Update your export preference to journal entry if you'd like to import locations as tags.

hayata-suenaga commented 3 days ago

Do you mean this one we settled on?

Updated the UI copy. Requesting the translation

hayata-suenaga commented 3 days ago

still waiting for the translation. meanwhile, I solved the merge conflicts.