Open nus-se-script opened 2 months ago
Sales here simply refers to the price at which the product is selling for. Should users want to implement a buy 1 get 1 free idea, they can simply create a second product of the same item and give it a sales of 0 and assign it to the order.
--
Steps to reproduce: Enter command menu pn/cake pc/15 ps/buy 1 get 1 free
Expected: Add item into menu list
Actual: Invalid command format given
Sales should accept String to allow text based sales
[original: nus-cs2103-AY2324S2/pe-interim#2135] [original labels: severity.Medium type.FeatureFlaw]