This app is a small experiment with using NuGet packages, namely EPPlus for reading excel files and PDFsharp for creating .pdf files. The aim was to parse employee working hours in a set excel format (excel template available as paystub_template.xlsx) and calculate total pay, retirement and healthcare deductions as well as income tax and generate an appropriate .pdf pay stub.
The user interface is created in WPF. It allows for the excel file selection, batch mode where all .xls and .xlsx files are parsed and optional company logo image selection.
The application has rudimentary logging built-in, which reports files where errors were encountered when trying to parse data.
Sample output pdf:
Encountered exceptions are handled "unnaturally" via raising events and passing appropriate error messages to the LogError method. This was done as an extensive events and EventArgs practice.
MIT
Free Software, Hell Yeah!