Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/qbason/salary-management
- Owner: Qbason
- Created: 2022-01-06T18:08:32.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-12T09:23:13.000Z (over 2 years ago)
- Last Synced: 2023-07-30T11:28:29.377Z (over 1 year ago)
- Topics: python-tkinter-gui, python3, salary-calculator
- Language: Python
- Homepage:
- Size: 263 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 dayCalculating 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 -> varcharRelationship:
- 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 schedulesFor 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
### Registration
### Main window
### 2 View
### 3 View
### 4 View