feriennet.views.period

Functions

view_periods(→ onegov.core.types.RenderData)

is_date_range(...)

new_period(→ onegov.core.types.RenderData | webob.Response)

edit_period(...)

delete_period(→ None)

activate_period(→ None)

deactivate_period(→ None)

archive_period(→ None)

Module Contents

feriennet.views.period.view_periods(self: onegov.activity.PeriodCollection, request: onegov.feriennet.request.FeriennetRequest) onegov.core.types.RenderData[source]
feriennet.views.period.is_date_range(range: tuple[datetime.date | None, datetime.date | None]) typing_extensions.TypeIs[tuple[datetime.date, datetime.date]][source]
feriennet.views.period.new_period(self: onegov.activity.PeriodCollection, request: onegov.feriennet.request.FeriennetRequest, form: onegov.feriennet.forms.PeriodForm) onegov.core.types.RenderData | webob.Response[source]
feriennet.views.period.edit_period(self: onegov.activity.Period, request: onegov.feriennet.request.FeriennetRequest, form: onegov.feriennet.forms.PeriodForm) onegov.core.types.RenderData | webob.Response[source]
feriennet.views.period.delete_period(self: onegov.activity.Period, request: onegov.feriennet.request.FeriennetRequest) None[source]
feriennet.views.period.activate_period(self: onegov.activity.Period, request: onegov.feriennet.request.FeriennetRequest) None[source]
feriennet.views.period.deactivate_period(self: onegov.activity.Period, request: onegov.feriennet.request.FeriennetRequest) None[source]
feriennet.views.period.archive_period(self: onegov.activity.Period, request: onegov.feriennet.request.FeriennetRequest) None[source]