This is the Flow for the Retail website Application. This application is basically used by The Store executive for discount based billing purpose and registering a new customer for the Store.
Create Retail website Application system which allows to do following operations:
- Login to application for Store Executive.
- Create new Customer.
- View Existing customer details.
- Apply Discounts based on Customer type.
- Bill Generation based on applied discounts.
System & technology used:
- Operating System: Mac OSX High Sierra.
- Eclipse Oxygen.
- Glassfish 5
- Java 8
- JSF 2.x
- Hibernate 5.x.x
- Primefaces 6.x.x
- MySQL database
- Sonar -- For test coverage
- pom.xml file contains all the dependencies (as itβs a maven project)
Username : admin Password : admin123
In this page you have mainly 3 Tabs, first one is for fetching the customer info and generate discount based bill based on the Customer segments whether he is Staff,Affiliate or Customer who is over 2 years with the store
Validation to Enter Customer ID which is manadatory for all the customers
On entering Customer ID and clicking on search it will display a panel which will show all the customer related data like his name, address,email,telephone and the segment of the customer with 2 options Bill entry or clear the search
On Click of Bill entry option, the below form will appear where i have segregated the Customer purchases as 2 categories grocery items and non grocery items , as both have rsepective discounts for the store. On enetering amount based on purchases and generate bill it will show a popup with Bill invoice
Case 1:- If the user is an employee of the store, he gets a 30% discount
Case 2:- If the user is an affiliate of the store, he gets a 10% discount
Case 3:- If the user has been a customer for over 2 years, he gets a 5% discount.
Case 4 :- For every $100 on the bill, there would be a $ 5 discount (e.g. for $ 990, you get $ 45 as a discount).
Case 5 :- The percentage based discounts do not apply on groceries.