nus-cs2103-AY2223S1 / pe-dev-response

0 stars 0 forks source link

Supplier can only supply one item #2952

Open nus-pe-bot opened 2 years ago

nus-pe-bot commented 2 years ago

image.png

image.png

Using the example given in the add command, I've added a Yoyo Pte Ltd supplier that supplies Ginger. I then tried to add another Yoyo Pte Ltd supplier that supplies Egg instead. While I understand that it is mentioned in the UG that:

image.png

However, would it not be a reasonable assumption that in reality, a supplier can supply a canteen vendors with multiple ingredients? It seems impractical for a canteen vendor to source their ingredients from multiple suppliers for each ingredient, as they likely have a working relationship with a few select suppliers.


[original: nus-cs2103-AY2223S1/pe-interim#2498] [original labels: type.FeatureFlaw severity.Low]

weesiau commented 2 years ago

Team's Response

This is intended.

This is quite realistic because canteen vendors operate on a much smaller scale than restaurants.

Edit: accepted due to the possibility of food vendor ordering multiple different vegetable from same supplier.

Duplicate status (if any):

--