org.views.form_registration_window ================================== .. py:module:: org.views.form_registration_window Functions --------- .. autoapisummary:: org.views.form_registration_window.handle_new_registration_form org.views.form_registration_window.send_form_registration_email org.views.form_registration_window.ticket_linkable org.views.form_registration_window.view_send_form_registration_message org.views.form_registration_window.view_registration_window org.views.form_registration_window.view_registration_window_from_ticket org.views.form_registration_window.handle_edit_registration_form org.views.form_registration_window.view_cancel_submissions_for_registration_window org.views.form_registration_window.delete_registration_window Module Contents --------------- .. py:function:: handle_new_registration_form(self: onegov.form.FormDefinition, request: onegov.org.request.OrgRequest, form: onegov.org.forms.FormRegistrationWindowForm, layout: onegov.org.layout.FormSubmissionLayout | None = None) -> onegov.core.types.RenderData | webob.Response .. py:function:: send_form_registration_email(request: onegov.org.request.OrgRequest, receivers: onegov.core.types.SequenceOrScalar[email.headerregistry.Address | str], content: dict[str, Any], action: Literal['general-message']) -> None .. py:function:: ticket_linkable(request: onegov.org.request.OrgRequest, ticket: onegov.ticket.Ticket | None) -> onegov.ticket.Ticket | None .. py:function:: view_send_form_registration_message(self: onegov.form.FormRegistrationWindow, request: onegov.org.request.OrgRequest, form: onegov.org.forms.form_registration.FormRegistrationMessageForm, layout: onegov.org.layout.FormSubmissionLayout | None = None) -> onegov.core.types.RenderData | webob.Response .. py:function:: view_registration_window(self: onegov.form.FormRegistrationWindow, request: onegov.org.request.OrgRequest, layout: onegov.org.layout.FormSubmissionLayout | onegov.org.layout.TicketLayout | None = None, ticket: onegov.org.models.ticket.FormSubmissionTicket | None = None) -> onegov.core.types.RenderData .. py:function:: view_registration_window_from_ticket(self: onegov.org.models.ticket.FormSubmissionTicket, request: onegov.org.request.OrgRequest, layout: onegov.org.layout.TicketLayout | None = None) -> onegov.core.types.RenderData .. py:function:: handle_edit_registration_form(self: onegov.form.FormRegistrationWindow, request: onegov.org.request.OrgRequest, form: onegov.org.forms.FormRegistrationWindowForm, layout: onegov.org.layout.FormSubmissionLayout | None = None) -> onegov.core.types.RenderData | webob.Response .. py:function:: view_cancel_submissions_for_registration_window(self: onegov.form.FormRegistrationWindow, request: onegov.org.request.OrgRequest) -> None Cancels a bunch of submissions either open ones or already accepted ones. If there is a corresponding ticket, it is accepted before denying the submission. .. py:function:: delete_registration_window(self: onegov.form.FormRegistrationWindow, request: onegov.org.request.OrgRequest) -> None