the goal of this page is to allow users of the supplify platform to define the products and ingredients they offer.

lets say i am the business owner or salesperson of nutrafactory. i want to come to this page for some reason like:

  1. I want to add a new Order, including what Products it includes
  2. I want to edit or remove existing Orders

I’ll want to see a list of all existing Orders. They should have an ‘Edit’ button that lets me make changes and a ‘Delete’ button which lets me remove.

I should see a ‘+New’ button allowing me to begin the flow of adding a new Order.

New Order Flow

  1. Clicking ‘New’ will take me to a new view where i can assign a name to my Order.
  2. After picking the name, I will create the Order in db assigning an ID.
  3. Then I offer to add Products to the Order
    1. This should include a dropdown of all existing products, and the ability to add a new product. I need a ProductID and a RequestedForOrder value.
    2. I can also display how much of the Product is currently stocked, and ask if the user wants to allocate any of the existing Product to this new order.