kassen-system's People
kassen-system's Issues
Add Item.toString doc
Fix both Product constructors
The name of the product needs to be able to have as many white spaces as it wants, as long as its between 2 and 32 characters. e.g. "Grüner Bohnen Eintopf" should be a valid name.
AC:
- Change the unit test "Grüne BohnenEintopf" to "Grüne Bohnen Eintopf"
- The test should still pass
edit ModelTest DatabaseTest
refactor print statements
Connect new LoginView sub-route
The LoginView needs a sub-route to check the admin password before opening the AdminView.
AC:
- LoginView opens AdminLoginView
- AdminLoginView opens AdminView
- New controller for AdminLoginView
add productList constructor doc
Add CategoryList.saveToDatabase doc @throws
Add productList.searchEAN() function
Currently you can only search for Strings, not for EAN, this function is missing for our tests.
AC:
- It is possible to search for EAN
Create JUnit Test for EAN search
AC:
- Search for "Zucker" should work.
- Search for "4532" should yield the same (correct) result.
remove purchaseList.setItemAmount() line comment
Add search field for AdminView
Currently there is no field and search button to search for a product
AC:
- Add a search field and a search button
add purchaselist.addItem doc @throws
Remove duplications in name checks in CategoryList and Product
remove all checks that are not the regex as they have been added to the exxpressions
add Product attribute doc
Create JUnit Test for productList.addProduct()
AC:
- Read the task again since we have to create special "Äquivalenzklassen" for our documentation
- Create a JUnit test for "Preis"
add ProductList.saveToProductDatabase doc @throws
change product.addProduct() to allow 8 long ID's
the id check must allow id's that are 8 numbers long not just 13 , 5 and 4
Change productList.LoadFromDatabase()
change LoadFromProductDatabase to loadFromProductDatabase
Connect SellerView
AC:
- Connect SellerView to the LoginView
remove ProductList.addProduct line comment
Connect FinishPurchaseView
The SellerView still needs a connection to the FInishPurchaseView
Add CategoryList constructor Doc
add Productlist.path Linebreak
Linebreak after 100 symbols
Create JUnit Test for EAN
AC:
- Check that only unique EAN's can be created
Create ChangeCategoryView
A view to change a category is missing.
Create one.
add Productlist.removeProduct()
implement the existing function
add PruchaseList.getPurchaseList doc
add purchaseList.finishPurchase()
implement the finishPurchase Function
Add a purchaseList.setItemAmount() function for getBasePrice()
there was a comment before the function stating that it need to work with both price and base price. I think it is still not implemented in that way but not sure therefore i would ask someone who knows the difference between both to check if ts implemented and implement it if its not.
AC:
- Check if function works with base Price and price
- implement changes if necessary
Implement purchaseList.finishPurchase()
Currently there is no function to finish a purchase
The function needs to:
- change the stock of a given product
- clear the purchaseList
Change categoryList.LoadFromCategoryDatabase()
change LoadFromCategoryDatabase to loadFromCategoryDatabase
remove productList.saveFromDatabase() println Statement
remove writer.println(); in line 288
Rework productList code style
(blank Lines)
add PurchaseList constructor doc
add purchaseList.getSubtotal doc
Implement productList.changeProduct()
Currently there is no function to change a product in the productlist.
A proposed solution is to simply remove the previous product and create a new one, therefore using productList.add
and productList.remove
.
add ProductList.addProduct (2.) doc @throws
add a @throws to the 2nd addProduct function
Create JUnit Test for purchaseList.finishPurchase()
AC:
- Check if the stock is being changed and the final price is correct.
- Create a test for purchase1 and purchase2
Restructure SellerView
Currently it's unclear what the purpose of the different search fields is, maybe restructure it or add labels
AddCategoryList path attribute linebreak
add Linebreak after 100 symbols
Implement MVC for AdminView
AC:
- actionListener on order selection
- improved actionListeners on changeProduct & deleteProduct
remove Databases from src
add Product.toString doc
add PurchaseList class doc
add PurchaseList attribute doc
Add Item documentation
Doc attribute description
Create JUnit Test for categoryList.removeCategory()
AC:
- Categories can only be deleted when no product has the mentioned category
- Test the case for deleting "Süßwaren"
Add categoryList.removeCategory() Doc @throws
remove Product import statement
Add SellerView search buttons
Currently the search buttons for the search fields are missing, they need to be added.
AC:
- Buttons for both search fields exist
Add AdminLogin.checkPassword() dock @parm
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.