Open nus-se-bot opened 2 years ago
Thanks for your time and effort!
Thanks for your explanation on your logic. We have already carefully considered the situation you described before our public release, and the described behaviour of ezFoodie on Point
and Credit
is indeed expected and desired.
Take an example:
Point
is 0
originally.1000.00
for a bill of actual amount 100.00
.Point
becomes 1000
, which should be 100
instead.500
Point
immediately. Point
becomes 500
.1000.00
back to 100.00
.In the example introduced above, Customer now has only 500
Point
left. If we allow Point
to decrease accordingly, Point
will become negative, which is obviously undesirable and may lead to potential bugs.
To prevent this kind of issue from happening, we purposely set the rule that "Point will not be affected and will stay the same when billing amount is less than the billing amount added in last time", which is clearly stated in our UG. This approach is inspired by how restaurant Point
system works in reality.
Moreover, we believe that it is Staff's responsibility in this situation. Similar to how most restaurants handle this kind of Point
conflicts, ezFoodie is designed in the way that Customer will not be penalised for wrongly awarded Point
, while Staff may be penalised for their false operations(It is up to the restaurant management office and not in the scope of this discussion).
Despite ezFoodie being set that Point
will not de deducted in this situation by default, we has provided flexibility to restaurants to handle the conflict in the way they want. In the case that a restaurant insists on correcting Customer's Point
, ezFoodie provides the option to use Redeem
feature to deduct the amount that the restaurant wants to retrieve. In reality, restaurants usually only retrieve a percentage of Point
and leave the remaining Point
as a compensation to Customer.
In conclusion, we would like the readers of this response to know that our team did a careful consideration on how we should handle this kind of situation, with our own research on how the industry works in reality. We developers only equip ezFoodie with flexible features for our users, with its default behaviour set to the most commonly and widely used practice in food service industry. At the end of the day, it is ultimately up to users, which are restaurant staff and managers, to decide the exact way they want to use our product. We offer flexibilities.
Hope this clarify your doubt.
--
Reproduce:
Expected:
Actual: The number of points given to the user remains unchanged
[original: nus-cs2103-AY2122S1/pe-interim#5102] [original labels: type.FeatureFlaw severity.Medium]