town6.views.reservation ======================= .. py:module:: town6.views.reservation Functions --------- .. autoapisummary:: town6.views.reservation.town_handle_reservation_form town6.views.reservation.town_confirm_reservation town6.views.reservation.town_finalize_reservation town6.views.reservation.town_accept_reservation_with_message town6.views.reservation.town_accept_reservation_with_message_from_ticket town6.views.reservation.town_reject_reservation_with_message town6.views.reservation.town_reject_reservation_with_message_from_ticket Module Contents --------------- .. py:function:: town_handle_reservation_form(self: onegov.reservation.Resource, request: onegov.town6.request.TownRequest, form: onegov.org.forms.ReservationForm) -> onegov.core.types.RenderData | webob.Response .. py:function:: town_confirm_reservation(self: onegov.reservation.Resource, request: onegov.town6.request.TownRequest) -> onegov.core.types.RenderData .. py:function:: town_finalize_reservation(self: onegov.reservation.Resource, request: onegov.town6.request.TownRequest) -> webob.Response Returns a redirect, no layout passed .. py:function:: town_accept_reservation_with_message(self: onegov.reservation.Reservation, request: onegov.town6.request.TownRequest, form: onegov.org.forms.InternalTicketChatMessageForm) -> onegov.core.types.RenderData | webob.Response .. py:function:: town_accept_reservation_with_message_from_ticket(self: onegov.org.models.ticket.ReservationTicket, request: onegov.town6.request.TownRequest, form: onegov.org.forms.InternalTicketChatMessageForm, layout: onegov.town6.layout.TicketChatMessageLayout | None = None) -> onegov.core.types.RenderData | webob.Response | None .. py:function:: town_reject_reservation_with_message(self: onegov.reservation.Reservation, request: onegov.town6.request.TownRequest, form: onegov.org.forms.InternalTicketChatMessageForm) -> onegov.core.types.RenderData | webob.Response | None .. py:function:: town_reject_reservation_with_message_from_ticket(self: onegov.org.models.ticket.ReservationTicket, request: onegov.town6.request.TownRequest, form: onegov.org.forms.InternalTicketChatMessageForm, layout: onegov.town6.layout.TicketChatMessageLayout | None = None) -> onegov.core.types.RenderData | webob.Response | None