AY1920S2-CS2103T-W12-1 / main

Delino - Managing Delivery Tasks
https://ay1920s2-cs2103t-w12-1.github.io/main/
MIT License
0 stars 6 forks source link

Refactor hasOrder and hasReturnOrder to hasParcel #317

Closed khsc96 closed 4 years ago

khsc96 commented 4 years ago

refactor to combine both hasOrder and hasReturnOrder in Model class to hasParcel to check for all parcel tid for duplicate orders.

Update sample data to tid no duplicate

Add new static final string for return_tid for Amy and Bob to prevent test case error for Import thus resulting in changes in both ReturnCommand and InsertCommand testcase.

netlify[bot] commented 4 years ago

Deploy preview for ay1920s2-cs2103t-w12-1 ready!

Built with commit 5007569428c89dfa6e60fce2216b4f30df5d8f02

https://deploy-preview-317--ay1920s2-cs2103t-w12-1.netlify.com