Skip to content

MESNAOU/store-management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

This project is a desktop application for managing a store, including inventory, sales, and more. To begin, it is necessary to import the database that I have placed in the "createDatabase" folder and din't forget to adapt the user and the password of your database in the page src/projet/Data.java in the method "connect()". The interface starts with user identification, with two types of users available: "Admin" and "Worker," each with their own system functionalities.

log.png

In the provided database, there are already two users present: "Ikram" an Admin, and "Anass" a Worker. Both users have the same password, which is "mes." When logging in as an Admin, this interface is displayed.

admin page.png

The achieved revenue is displayed at the top right corner. The various functionalities represent the different actions available on this page, such as adding an item. Our store manages two types of items: "Electroménager" and "Primeur". An error message is displayed in case of a connection error or if invalid values are entered. However, in the latter case, it still gets saved with default values. Otherwise, the item is successfully added.

add ar.png

The second functionality is stock replenishment for an item. If you've noticed, to properly identify an item, we only need its name, supplier, and purchase price.

rempl ar.png

You can search for an item by name, and a page will display detailed information about the items with the same searched name, each on a separate page. These functionalities, along with sorting, are primarily provided for studying the store.

search ar.png

resultat search1.png

resultat search2.png

We offer sorting functionalities by category, either "Electroménager" or "Primeur". It displays the items in descending order based on their stock quantity.

tri_electro1.png

tri_elrctro2.png

Same for "Primeur":

tri prim.png

The last two functionalities involve adjusting the selling price based on a specified percentage. The "Reduce" feature reduces the selling price, while the "Increase" feature does not actually refer to a sale but rather raises the price by a certain rate.

lancer solde.png

As you see:

lancer solde preuve.png

To return to the initial price, it is necessary to adjust the percentage, specifically using a different value than the reduction percentage.

terminer solde.png

terminer solde preuve.png

The Worker's page includes the following functionalities:

worker page.png

The revenue is not displayed here because it is assumed that the employee is not directly concerned with the store's earnings, unlike the administrator. The worker can sell items, and once sold, the price to be paid is displayed.

sell.png

As you see:

sell preuve.png

The other functionalities, such as search and sorting, are similar to those of an administrator.

That's all, thank you for your attention.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages