https://github.com/randyungaro/powersales
Interface of Firebird database from the infamous PMS PowerPro
https://github.com/randyungaro/powersales
django firebird firebird-database firebirdsql pms python
Last synced: about 2 months ago
JSON representation
Interface of Firebird database from the infamous PMS PowerPro
- Host: GitHub
- URL: https://github.com/randyungaro/powersales
- Owner: randyungaro
- License: mit
- Created: 2025-06-10T10:16:34.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-10T10:29:42.000Z (about 1 year ago)
- Last Synced: 2025-06-10T11:34:35.618Z (about 1 year ago)
- Topics: django, firebird, firebird-database, firebirdsql, pms, python
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Django Daily Sales App Interfaced To Power Pro
Welcome to the Django Daily Sales App, a sleek and efficient web application built to manage and display daily sales records from a Firebird database.
Designed with a modern, user-friendly interface, this app allows you to filter sales data by date and showcases a beautifully styled native datepicker.
Perfect for small businesses or developers looking to explore Django with Firebird integration!
## Features
- Dynamic Date Filtering: Use a custom-styled native to view sales records for any date.
- Firebird Integration: Connects to a Firebird database (POWERFO.GDB) to retrieve sales data.
- Filtered Data: Displays records for specific DSR_ID values [8, 42, 59, 67, 69, 70, 71, 74, 81, 91, 97, 99], showing FODATE, TEXT, and AMOUNT.
- Beautiful Design: Features gradients, shadows, and hover effects for a polished look, built with custom CSS.
- Responsive Layout: Optimized for desktop and mobile viewing.
- Error Handling: Provides clear feedback for database errors or missing data.
## Technologies Used
- Django 4.2.16: The Python web framework powering the app.
- Firebird 2.0.2: Database driver for Firebird integration.
- HTML/CSS: Custom styling with native datepicker enhancements.
- Bootstrap 5.3.3: For responsive and consistent UI components.
## Prerequisites
- Python 3.12+
- Firebird Client (with fbclient.dll in PATH or project directory)
- Access to the POWERFO.GDB database file
## Installation
Clone the Repository
git clone https://github.com/your-username/django-daily-sales-app.git
cd django-daily-sales-app
Set Up a Virtual Environment
python -m venv venv
.\venv\Scripts\activate # On Windows
source venv/bin/activate # On macOS/Linux
Install Dependencies
pip install -r requirements.txt
## Configure the Database
Place POWERFO.GDB in the database/ directory.
Ensure Firebird Client is installed and fbclient.dll is accessible.
Apply Migrations
python manage.py migrate
Collect Static Files
python manage.py collectstatic
Run the Application
python manage.py runserver
Access the AppOpen your browser and go to http://127.0.0.1:8000/.

## Customization
- Database Path: Update the path in sales/views.py if POWERFO.GDB is located elsewhere.
- DSR_IDs: Modify the DSR_ID list in sales/views.py to filter different records.
- Styling: Adjust colors and styles in static/css/styles.css to match your brand.
## Contributing
Feel free to fork this repository, submit issues, or send pull requests. Contributions to enhance functionality or design are welcome!
## License
This project is licensed under the MIT License - see the LICENSE.md file for details.
## Acknowledgments
Inspired by the need for a simple yet elegant sales tracking solution.
I will update this project if i'm not lazy AF :)