{"id":20255417,"url":"https://github.com/qbason/salary-management","last_synced_at":"2025-08-03T18:37:09.104Z","repository":{"id":184806825,"uuid":"445266086","full_name":"Qbason/Salary-management","owner":"Qbason","description":"Counting work days, off-days, shifts, working hours and calculating salary. GUI","archived":false,"fork":false,"pushed_at":"2022-09-12T09:23:13.000Z","size":269,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-14T03:40:37.248Z","etag":null,"topics":["python-tkinter-gui","python3","salary-calculator"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Qbason.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-01-06T18:08:32.000Z","updated_at":"2023-09-09T06:53:35.000Z","dependencies_parsed_at":"2023-07-30T11:46:03.622Z","dependency_job_id":null,"html_url":"https://github.com/Qbason/Salary-management","commit_stats":null,"previous_names":["qbason/salary-management"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qbason%2FSalary-management","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qbason%2FSalary-management/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qbason%2FSalary-management/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qbason%2FSalary-management/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Qbason","download_url":"https://codeload.github.com/Qbason/Salary-management/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241709890,"owners_count":20007130,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python-tkinter-gui","python3","salary-calculator"],"created_at":"2024-11-14T10:38:37.056Z","updated_at":"2025-03-03T17:34:31.627Z","avatar_url":"https://github.com/Qbason.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Salary management\n## PYTHON, MYSQL, TKINTER, MVVM\n\n## How does it work?\nProgram calculates number of hours spent in work in specific day.  \nIncluding:\n- L4\n- Holidays\n- Shift\n- Normal day\n\nCalculating number of hours to work in month also providing for holidays in working week and weekend.  \nBased on polish holidays.\n\nIn tabs we can operate on our working hours by\n- Filtering by number of hours, month, year\n- Ordering results  \n- Subdividing our earned money by category\n\n\n## MYSQL\n\n### Tables:\n- User: (for logging)\n    - id_user\n    - login -\u003e varchar\n    - email -\u003e varchar\n    - passwd -\u003e varchar\n- Contract: (for contact info )\n    - id_contract\n    - type -\u003e varchar\n    - startingdate -\u003e date\n    - expirationdate -\u003e date\n    - companyname -\u003e varchar\n    - dayjob -\u003e varchar\n    - hourlyrate -\u003e decimal\n- Schedule: (for calculating hours)\n    - id_schedule\n    - date -\u003e date\n    - hours -\u003e varchar\n    - id_employee -\u003e unsigned int\n- Employee: (for additional info about user)\n    - id_employee\n    - firstname -\u003e varchar\n    - lastname -\u003e varchar\n\nRelationship:\n- 1 to 1 User\u003c-\u003eEmployee # one user is one employee\n- 1 to 1 User\u003c-\u003eContract # one user has one contract\n- 1 to many Employee\u003c-\u003eSchedule # one employee can have many schedules\n\nFor representing model in program I created entity for each table.  (DAL/Entity)  \nFor making queries for each table I created repositories. (DAL/Repository)\nConnection settings are located in DAL/DBConnection.py  \n\n## View\n\n### Log in\n\n\u003cimg src=\"https://github.com/Qbason/Salary-managment/blob/main/login.PNG\" alt=\"Sign in/up panel\" width=\"500\"\u003e\n\n### Registration\n\n\u003cimg src=\"https://github.com/Qbason/Salary-managment/blob/main/signup.PNG\" alt=\"Sign up\" width=\"500\"\u003e    \n\n### Main window\n\n\u003cimg src=\"https://github.com/Qbason/Salary-managment/blob/main/tab1.PNG\" alt=\"Tab\" width=\"500\"\u003e\n\n### 2 View\n\n\u003cimg src=\"https://github.com/Qbason/Salary-managment/blob/main/tab2.PNG\" alt=\"Tab\" width=\"500\"\u003e\n\n### 3 View\n\u003cimg src=\"https://github.com/Qbason/Salary-managment/blob/main/tab3.PNG\" alt=\"Tab\" width=\"500\"\u003e\n\n### 4 View\n\n\u003cimg src=\"https://github.com/Qbason/Salary-managment/blob/main/tab4.PNG\" alt=\"Tab\" width=\"500\"\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqbason%2Fsalary-management","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqbason%2Fsalary-management","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqbason%2Fsalary-management/lists"}