Compute monthly salaries

Employee Budgeting uses these formulas to compute monthly salaries that are displayed for employees in the Salary view. Salaries are calculated differently when a month includes an event.