medusajs / b2b-starter-medusa

Official Medusa B2B Starter template. Features common B2B ecommerce requirements and can be easily adapted and extended.
https://dub.sh/medusa-b2b-starter
MIT License
140 stars 37 forks source link

Order lists when doing quotes #100

Open alphaklp opened 2 days ago

alphaklp commented 2 days ago

The order lists in the account section (both recent orders on Dashboard and order list page) shows draft orders that have been submitted as quotes.

alphaklp commented 2 days ago

I looked into how to fix this - but unsure if it can be done with a filter on the query. I solved it by getting all quotes and filter out the orders that was used - but it is a brute force way.. any better ways ?

riqwan commented 2 days ago

Hey @alphaklp, thanks for surfacing this! I would have to add a filter to the core endpoint, we can then fix it from here. This should be ready in the next release, which should most likely be on Friday!