An open API service indexing awesome lists of open source software.

https://github.com/theluqmn/receiptgen

Simple receipt generator written in Go.
https://github.com/theluqmn/receiptgen

go golang receipt

Last synced: 4 months ago
JSON representation

Simple receipt generator written in Go.

Awesome Lists containing this project

README

          

# RECEIPTGEN

> [!WARNING]
> This is my first project made using Go.

## Purpose

Returns a receipt-like output on the terminal, which includes all the items you added, alongside its price and tax. The total is calculated at the bottom.

## How it works

If you want the .exe, its on [Releases](https://github.com/luq-mn/ReceiptGen/releases).

1. Enter your name
2. Enter the tax rate (0-100)%
3. Enter the amount of items that will be in this list
4. The list will loop until the amount of items in list meets the amount you set previously.
* Enter the item name
* Enter the item price
5. Enter your payment method. Choose between:
* Cash
* Credit Card
* Debit Card
* E-Wallet
* Pay later
6. Enter your discount (enter blank to skip, 0-100%)
7. The full list will be outputted to the terminal, formatted like a receipt. Includes the total due, total price, and tax.

## To-do

* [x] it works
* [x] payment method
* [x] output with more details
* [x] pay later payment method
* [x] discounts on checkout
* [x] record purchases on a SQLite3 database
* [ ] store in user data folder
* [ ] call previous purchases