CupLedger — cafe operations and staff management for admin and floor staff.
CupLedger is a desktop management suite for coffee shops and small cafes. Built with .NET WinForms, C#, Guna UI, and SQL Server (ADO.NET), it gives managers and staff a single place to run the floor: menus, tables, orders, invoices, shifts, and daily reporting.
- Secure login with role-based access (admin vs staff).
- Dashboard — revenue today, staff count, menu items, invoices; monthly revenue chart; top-selling items.
- Menu management — add, edit, remove items; categories; pricing and stock.
- Staff management — staff records and accounts.
- Work shift & schedule — shifts and work-day planning.
- Daily reports — sales and operational summaries.
- Invoice management — billing history and payment tracking.
- Table management — live table grid (available / occupied), order details, merge tables, close table.
- Order creation — build orders with quantities and line totals.
- Billing — cash and card; discounts where configured.
- Language: C#
- UI: .NET WinForms, Guna UI 2, Guna Charts, LiveCharts
- Data: ADO.NET
- Database: Microsoft SQL Server
- IDE: Visual Studio 2022
- Clone this repository.
- Open
CoffeeShopManagement.slnin Visual Studio. - Attach the database from the
databasefolder:- Copy the
.mdfand.ldffiles to your SQL Server data directory, for example:C:\Program Files\Microsoft SQL Server\<version>\MSSQL\DATA\ - Attach the database in SQL Server Management Studio.
- Copy the
- Copy
CafeApp/Global.cs.exampletoCafeApp/Global.csand set your connection string. - Restore NuGet packages, build, and run.
Pull requests are welcome. For larger changes, open an issue first to discuss the approach.
