Skip to content

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

SuperSaverPOS - VoidWalkers

Overview

SuperSaverPOS is a command-line-based Java program designed for supermarket billing management. It processes text-based input and output (CLI I/O), allowing administrators to manage bills, add items to bills, and generate invoices in PDF format. The program also includes functionality for managing branch details, cashier information, and discount settings.

This project was developed as part of my 2nd semester Program Construction Module lab assignment.

Features

  • Start a new bill and add items to it.
  • Retrieve and continue working on pending bills.
  • Generate and print bills as PDF documents.
  • Admin panel for managing branch name, cashier name, and discount percentage.
  • Generate revenue reports for a specified date range.

How to Run

  1. Clone the repository:

    git clone https://github.com/Kajee2002/SuperSaverPOS_VoidWalkers.git
    cd SuperSaverPOS_VoidWalkers
  2. Build and run the project:

    javac -d bin src/org/example/*.java
    java -cp bin org.example.Main
  3. Follow the on-screen instructions to use the POS system.

Dependencies

  • iText: A library for creating and manipulating PDF documents in Java. Ensure you have the iText library included in your classpath.

Files

  • Main.java: The entry point of the application.
  • PosSystem.java: Handles the management of bills (both completed and pending) and generates revenue reports.
  • Bill.java: Represents a bill and handles the addition of items and generation of PDF invoices.
  • Item.java: Represents an item in the store with its details.
  • AdminSession.java: Manages the admin session, including branch name, cashier name, and discount settings.
  • Console.java: Utility class for clearing the console.

Usage

  • Start a new bill: Adds items to a new bill and generates a PDF invoice.
  • Retrieve a pending bill: Retrieve a pending bill to continue adding items or complete the bill.
  • Admin panel: Manage branch name, cashier name, and discount percentage.
  • Generate revenue report: Generate a revenue report for a specified date range.

Contributors

Static Badge

Static Badge

Static Badge

Static Badge

Contributions

Contributions are welcome!

The core functionality works, but there are some bugs and logical improvements that can be made. If you'd like to refine the code or enhance features, feel free to contribute!

About

SuperSaverPOS is a Point of Sale (POS) system designed for supermarket management. This application allows administrators to manage bills, add items to bills, and generate invoices in PDF format. The application also provides an admin panel for managing branch details, cashier information, and discount settings.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages