Skip to content

mskorok/ZF3_test_task_1

Repository files navigation

You are required to create a small command-line utility to help a fictional company determine the dates they need to pay salaries to their sales department. This company is handling their sales payroll in the following way: ● Sales staff get a regular monthly fixed base salary and a monthly bonus. ● The base salaries are paid on the last day of the month unless that day is a Saturday or a Sunday (weekend). ● On the 15th of every month bonuses are paid for the previous month, unless that day is a weekend. In that case, they are paid the first Wednesday after the 15th.

The output of the utility should be a CSV file, containing the payment dates for the remainder of this year. The CSV file should contain a column for the month name, a column that contains the
salary payment date for that month, and a column that contains the bonus payment date. For your
convenience, the following diagram depicts the process of determining the pay dates of the sales
department.

About

Test task ZF3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published