Dunridge / cloudforge-app

Cloudforge test task
0 stars 0 forks source link

(feature/add-rfq) Add RFQ generation #16

Closed Dunridge closed 3 months ago

Dunridge commented 3 months ago

Steps:

  1. Add RFQ generation on button click (~)
  2. Add a button to check whether the order can be filled from the products that are already in stock (write a backend endpoint) and if the order can be partially or fully filled determine a sales price for the product (~)
  3. Modify the Inventory endpoint to return the prices for each product (~)
  4. The sent emails are stored in a separate database table (~) and then fetched when you look at the sent quotes tab (~)
  5. Add a field for isSent endpoint so that you can hide the sent the sent rfqs from the list of the Draft Quotes (~)
  6. The send RFQ button should only appear when the check comes back positive (~)
  7. Fix the highlight of the chosen suboption in the Email Input sidebar - it should highlight the currently chosen sidebar suboption (~)