correct logic for get_holiday_for_year for type; added paid_holiday flag