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
3.34k stars 2.77k forks source link

Invoice - After paying invoice as business, for remaining invoice only business option show #48467

Closed IuliiaHerets closed 2 weeks ago

IuliiaHerets commented 2 weeks ago

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 9.0.28 Reproducible in staging?: Y Reproducible in production?: Y Issue reported by: Applause Internal Team

Action Performed:

Pre-condition: Both user uses a new account with a workspace already created

  1. Launch app
  2. Tap fab -- send invoice
  3. Enter an amount and tap next
  4. Select user B
  5. Tap send invoice
  6. Tap plus ucon -- send invoice
  7. Create 3 more invoice
  8. Login mweb as user B
  9. Open invoice chat
  10. Check all invoice has 2 pay options
  11. Pay last invoice as individual and check still all invoice has 2 options
  12. Pay an invoice as business and check all other invoice now only has business option

Expected Result:

After paying invoice as business, for remaining invoice only business option displayed & individual option must not be disappeared.

Actual Result:

After paying invoice as business, for remaining invoice only business option displayed & individual option disappeared.

Workaround:

Unknown

Platforms:

Screenshots/Videos

https://github.com/user-attachments/assets/f487968e-59f3-42c5-84fc-5cc9d5b38cea

View all open jobs on GitHub

melvin-bot[bot] commented 2 weeks ago

Triggered auto assignment to @OfstadC (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

IuliiaHerets commented 2 weeks ago

@OfstadC FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

OfstadC commented 2 weeks ago

Added to VIP-BillPay -- Will add External once confirmed

jacobkim9881 commented 2 weeks ago

This is intended.

https://github.com/Expensify/App/blob/2de5aea46d5b457312d96c4bcbd55099760a660a/src/libs/actions/IOU.ts#L6608-L6613

OfstadC commented 2 weeks ago

Thanks @jacobkim9881 !

Closing as this is expected behavior