-
Notifications
You must be signed in to change notification settings - Fork 0
Usage
This guide will walk you through the key functionalities of the Printing Shop Transaction System.
Upon launching the application, you'll see the main transaction screen, divided into several sections:
- Transaction Input: At the top, where you enter details for new printing jobs.
- Items in Transaction: A temporary list of items you're currently preparing for a single transaction.
- Record: A log of all confirmed past transactions.
- Quick Sales Summary: A snapshot of today's, this month's, and this year's sales figures.
- Sidebar: Contains navigation buttons ("Transaction", "Report", "Reset Records").
-
Fill Details: In the "Transaction Input" section:
- Paper Type: Select from "Short", "Long", "A4", or "PhotoPaper".
- Color: Choose "Black" or "Colored".
- Pages: Enter the number of pages (integers only).
- Price/Page: Enter the price per page (numbers only).
-
Total: This field will automatically calculate
Pages * Price/Page. You can also manually override it if needed.
-
Add Item to List: Once all required fields are filled, the "Add Item" button (green) will become enabled. Click it to add the current item to the "Items in Transaction" table below. The input fields will then clear.
The "Items in Transaction" table shows all jobs currently prepared for the pending transaction.
-
Editing an Item:
- Double-Click: Double-click any row in the "Items in Transaction" table. The details of that item will populate back into the input fields at the top. The "Add Item" button will change to "Update Item". Make your changes and click "Update Item".
- Right-Click Menu: Right-click an item in the table, and select "Edit Item" from the context menu.
-
Deleting an Item:
- Right-Click Menu: Right-click an item in the table, and select "Delete Item" from the context menu. A confirmation dialog will appear.
Once you have added all items for a single customer's order to the "Items in Transaction" table:
- Click the "Confirm Transaction" button (blue) located to the right of the "Items in Transaction" table.
- This action will:
- Generate a unique Transaction ID, Date, and Time.
- Move all items from the "Items in Transaction" table into the main "Record" table.
- Clear the "Items in Transaction" table.
- Automatically save the updated records to
database/records.csv. - Refresh the "Quick Sales Summary".
The "Record" table displays a comprehensive list of all confirmed transactions.
-
Deleting a Transaction:
- Right-click any row in the "Record" table.
- Select "Delete Transaction" from the context menu. A confirmation dialog will appear.
- Deleting a transaction here will permanently remove it from the
records.csvfile and update the sales summaries.
-
Editing a Transaction:
- Direct editing of confirmed transactions is currently not available via the GUI to maintain data integrity. If a change is needed, it must be manually edited in the
records.csvfile directly (not recommended for general users).
- Direct editing of confirmed transactions is currently not available via the GUI to maintain data integrity. If a change is needed, it must be manually edited in the
To view detailed sales analytics:
- Click the "Report" button in the left sidebar. A new "Sales Report" window will open.
-
Filter by Date:
- Enter "Date From" and "Date To" in
MM/DD/YYYYformat. - Click "Generate Report" to view transactions within that range.
- Enter "Date From" and "Date To" in
- Quick Date Filters: Use the "Today", "This Week", "This Month", or "This Year" buttons for quick predefined date ranges.
- View Report Details: The main area displays individual transaction items within the selected date range.
- Summary Statistics: At the bottom, view aggregate figures like Total Sales, Total Pages, Transactions, and page counts by paper type and color.
-
Export Report:
- "Export as CSV": Saves the currently displayed report data to a CSV file in the
reports/folder. - "Export as PDF": (Currently not implemented, displays a message).
- "Export as CSV": Saves the currently displayed report data to a CSV file in the
To completely clear all stored transaction data:
- Click the "Reset Records" button located at the bottom-left of the sidebar.
- A strong confirmation dialog will appear.
- If confirmed, the
records.csvfile will be deleted, clearing all transaction history and resetting all summaries to zero. This action is irreversible.