pas.calculate_pay

Functions

calculate_rate(→ decimal.Decimal)

Calculate the rate for an attendance based on type, duration and role.

Module Contents

pas.calculate_pay.calculate_rate(rate_set: onegov.pas.models.rate_set.RateSet, attendence_type: str, duration_minutes: int, is_president: bool, commission_type: str | None = None) decimal.Decimal[source]

Calculate the rate for an attendance based on type, duration and role.