Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/qbason/salary-management

Counting work days, off-days, shifts, working hours and calculating salary. GUI
https://github.com/qbason/salary-management

python-tkinter-gui python3 salary-calculator

Last synced: about 2 months ago
JSON representation

Counting work days, off-days, shifts, working hours and calculating salary. GUI

Awesome Lists containing this project

README

        

# Salary management
## PYTHON, MYSQL, TKINTER, MVVM

## How does it work?
Program calculates number of hours spent in work in specific day.
Including:
- L4
- Holidays
- Shift
- Normal day

Calculating number of hours to work in month also providing for holidays in working week and weekend.
Based on polish holidays.

In tabs we can operate on our working hours by
- Filtering by number of hours, month, year
- Ordering results
- Subdividing our earned money by category

## MYSQL

### Tables:
- User: (for logging)
- id_user
- login -> varchar
- email -> varchar
- passwd -> varchar
- Contract: (for contact info )
- id_contract
- type -> varchar
- startingdate -> date
- expirationdate -> date
- companyname -> varchar
- dayjob -> varchar
- hourlyrate -> decimal
- Schedule: (for calculating hours)
- id_schedule
- date -> date
- hours -> varchar
- id_employee -> unsigned int
- Employee: (for additional info about user)
- id_employee
- firstname -> varchar
- lastname -> varchar

Relationship:
- 1 to 1 User<->Employee # one user is one employee
- 1 to 1 User<->Contract # one user has one contract
- 1 to many Employee<->Schedule # one employee can have many schedules

For representing model in program I created entity for each table. (DAL/Entity)
For making queries for each table I created repositories. (DAL/Repository)
Connection settings are located in DAL/DBConnection.py

## View

### Log in

Sign in/up panel

### Registration

Sign up

### Main window

Tab

### 2 View

Tab

### 3 View
Tab

### 4 View

Tab