AY2324S2-CS2103T-W10-2 / tp

https://nus-cs2103-ay2324s2.github.io/tp/
MIT License
1 stars 5 forks source link

[PE-D][Tester A] Price field allows for $0 value #279

Closed soc-pe-bot closed 6 months ago

soc-pe-bot commented 6 months ago

Context

Entering $0 as a price is allowed, but it should not be the case.

Screenshot: Screenshot 2024-04-05 at 9.30.37 PM.png

Suggestion:

In the case where an item is free, perhaps allow the use of a "FREE" field, instead of allowing to put $0 as cost per quantity.


Labels: type.FunctionalityBug severity.Medium original: belligerentbeagle/ped#11

jannaleong commented 6 months ago

The price can in fact be $0 as it could be free.