Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

cashier-system-pascal

Desktop cashier application built using Lazarus IDE and Object Pascal with dynamic product management and persistent TXT database.

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

Smart Cashier System

Desktop Point of Sale (POS) application built using Lazarus IDE and Object Pascal.

This project was developed as a portfolio and learning project to demonstrate desktop application development, event-driven programming, file handling, and dynamic product management using Lazarus / Delphi-style programming.


Application Preview

.png) .png) .png) .png) .png) .png) .png)

Features

Login System

  • Password protected login form
  • Hidden password input

Cashier System

  • Product selection using ComboBox
  • Automatic product price detection
  • Quantity input
  • Automatic subtotal calculation
  • Total transaction calculation
  • Transaction history display

Product Management

  • Add new product
  • Update product data
  • Dynamic product loading
  • Persistent TXT database storage
  • Popup product management window

File Handling

  • Automatic creation of Barang.txt
  • Automatic loading of product database
  • Permanent data storage

Technologies Used

  • Object Pascal
  • Lazarus IDE
  • Delphi-style RAD Programming
  • Event-driven Programming
  • TXT Database Storage

Application Structure

Form Function
Form1 Login System
Form2 Main Cashier System
Form3 Product Management

Database Format

Products are stored inside:

text
Barang.txt

Example:

text
Royco=500
Indomie=3500
Teh Pucuk=4000

Format:

text
ProductName=Price

Main Components

  • TForm
  • TButton
  • TEdit
  • TComboBox
  • TMemo
  • TListBox
  • TStringList

System Workflow

text
Barang.txt
↓
Load Product Data
↓
ComboBox Product List
↓
Select Product
↓
Auto Price Detection
↓
Subtotal Calculation
↓
Transaction Processing

Future Improvements

  • SQLite Database Integration
  • Barcode Scanner Support
  • Receipt Printing
  • Inventory Management
  • Product Search
  • User Authentication
  • Admin & Cashier Roles
  • Sales Reporting
  • Export Invoice PDF
  • Modern UI Design

Learning Objectives

This project demonstrates:

  • Desktop Application Development
  • Lazarus / Delphi Programming
  • Event-driven Programming
  • CRUD Logic
  • File Handling
  • Basic POS System Architecture

Author

Muhamad Rizki


Notes

This application is a simulation and portfolio project created for educational and software development practice purposes.