PMTP — Personnel Salary Tracker
Web-based payroll and HR system built with ASP.NET and SQL Server
A multi-page ASP.NET Web Forms application for managing staff, departments and monthly salaries on top of a five-table SQL Server database, with data-entry forms, a step-by-step wizard, filterable reports and salary charts.
PMTP (Personel Maaşları Takip Programı) is a payroll and HR tracking system built as the final project for the Web-Based Programming course. It’s an ASP.NET Web Forms front end, written in C#, on top of db_PMTP, a SQL Server database designed earlier in the Database Systems course.
Data model
Five related tables hold everything. The database schema stayed the same; the app was built around it.
- Personnel: identity, dates of birth, start and leave dates, leave reason, address, photo and CV
- Salaries: payment date, amount, commission and month, plus computed total and year columns
- Departments: name, phone and manager (a reference back to personnel)
- Users: logins and roles
- Categories: lookup values such as gender, title, district, city, month and role
Forms
- Personnel entry: one-page form with dropdowns for department, title and city, a CV upload, and an “active” flag. Saves with an
INSERT. - Personnel wizard: the same data split into five steps (personal, contact, address, confirm, done) using the ASP.NET Wizard control, with a summary to review before anything is written.
- Personnel and salary updates: pick a record from a dropdown, view it in a
DetailsViewand edit it in place. Changes save with anUPDATE. - Salary entry: monthly salary and commission per employee, so each person builds up a full payment history.
- Departments: a
GridViewof departments with inline editing, plus a form to add a new department and assign its manager.
Reports and charts
- Salary report: every payment for an employee with department, year, month and total, built from a three-table join.
- Staff by department and a company-wide contact list
- Leavers report: everyone with a leave date, with tenure and reason
- Salary charts: yearly totals per employee, and a month-by-month breakdown for a chosen year