org.views.ticket
Functions
|
|
|
Deleting a ticket means getting rid of all the data associated with it |
|
|
|
|
|
|
|
|
|
|
|
Sends an E-mail notification to all resource recipients that have been |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
View the generated PDF. |
|
Download the files associated with the ticket as zip. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Module Contents
- org.views.ticket.view_ticket(self: onegov.ticket.Ticket, request: onegov.org.request.OrgRequest, layout: onegov.org.layout.TicketLayout | None = None) onegov.core.types.RenderData [source]
- org.views.ticket.delete_ticket(self: onegov.ticket.Ticket, request: onegov.org.request.OrgRequest, form: onegov.form.Form, layout: onegov.org.layout.TicketLayout | None = None) RenderData | BaseResponse [source]
Deleting a ticket means getting rid of all the data associated with it
- org.views.ticket.manual_payment_button(payment: onegov.pay.Payment, layout: onegov.org.layout.Layout) onegov.core.elements.Link [source]
- org.views.ticket.stripe_payment_button(payment: onegov.pay.Payment, layout: onegov.org.layout.Layout) onegov.core.elements.Link | None [source]
- org.views.ticket.send_email_if_enabled(ticket: onegov.ticket.Ticket, request: onegov.org.request.OrgRequest, template: str, subject: str) bool [source]
- org.views.ticket.last_internal_message(session: sqlalchemy.orm.Session, ticket_number: str) onegov.chat.Message | None [source]
- org.views.ticket.send_chat_message_email_if_enabled(ticket: onegov.ticket.Ticket, request: onegov.org.request.OrgRequest, message: onegov.org.models.TicketChatMessage, origin: str, bcc: SequenceOrScalar[Address | str] = (), attachments: Iterable[Attachment | StrPath] = ()) None [source]
- org.views.ticket.send_new_note_notification(request: onegov.org.request.OrgRequest, form: onegov.org.forms.TicketNoteForm, note: onegov.org.models.TicketNote, template: str) None [source]
Sends an E-mail notification to all resource recipients that have been configured to receive notifications for new (ticket) notes.
- org.views.ticket.handle_new_note(self: onegov.ticket.Ticket, request: onegov.org.request.OrgRequest, form: onegov.org.forms.TicketNoteForm, layout: onegov.org.layout.TicketNoteLayout | None = None) RenderData | BaseResponse [source]
- org.views.ticket.view_ticket_note(self: onegov.org.models.TicketNote, request: onegov.org.request.OrgRequest) webob.Response [source]
- org.views.ticket.delete_ticket_note(self: onegov.org.models.TicketNote, request: onegov.org.request.OrgRequest) None [source]
- org.views.ticket.handle_edit_note(self: onegov.org.models.TicketNote, request: onegov.org.request.OrgRequest, form: onegov.org.forms.TicketNoteForm, layout: onegov.org.layout.TicketNoteLayout | None = None) RenderData | BaseResponse [source]
- org.views.ticket.accept_ticket(self: onegov.ticket.Ticket, request: onegov.org.request.OrgRequest) webob.Response [source]
- org.views.ticket.close_ticket(self: onegov.ticket.Ticket, request: onegov.org.request.OrgRequest) webob.Response [source]
- org.views.ticket.reopen_ticket(self: onegov.ticket.Ticket, request: onegov.org.request.OrgRequest) webob.Response [source]
- org.views.ticket.mute_ticket(self: onegov.ticket.Ticket, request: onegov.org.request.OrgRequest) webob.Response [source]
- org.views.ticket.unmute_ticket(self: onegov.ticket.Ticket, request: onegov.org.request.OrgRequest) webob.Response [source]
- org.views.ticket.archive_ticket(self: onegov.ticket.Ticket, request: onegov.org.request.OrgRequest) webob.Response [source]
- org.views.ticket.unarchive_ticket(self: onegov.ticket.Ticket, request: onegov.org.request.OrgRequest) webob.Response [source]
- org.views.ticket.assign_ticket(self: onegov.ticket.Ticket, request: onegov.org.request.OrgRequest, form: onegov.org.forms.TicketAssignmentForm, layout: onegov.org.layout.TicketLayout | None = None) RenderData | BaseResponse [source]
- org.views.ticket.message_to_submitter(self: onegov.ticket.Ticket, request: onegov.org.request.OrgRequest, form: onegov.org.forms.ExtendedInternalTicketChatMessageForm, layout: onegov.org.layout.TicketChatMessageLayout | None = None) RenderData | BaseResponse [source]
- org.views.ticket.create_attachment_from_uploaded(fe: onegov.form.fields.UploadFileWithORMSupport, request: onegov.org.request.OrgRequest) tuple[onegov.core.mail.Attachment, Ellipsis] [source]
- org.views.ticket.view_ticket_pdf(self: onegov.ticket.Ticket, request: onegov.org.request.OrgRequest) morepath.Response [source]
View the generated PDF.
- org.views.ticket.view_ticket_files(self: onegov.ticket.Ticket, request: onegov.org.request.OrgRequest) webob.Response [source]
Download the files associated with the ticket as zip.
- org.views.ticket.view_ticket_status(self: onegov.ticket.Ticket, request: onegov.org.request.OrgRequest, form: onegov.org.forms.TicketChatMessageForm, layout: onegov.org.layout.TicketChatMessageLayout | None = None) RenderData | BaseResponse [source]
- org.views.ticket.view_send_to_gever(self: onegov.ticket.Ticket, request: onegov.org.request.OrgRequest) webob.Response [source]
- org.views.ticket.get_filters(self: onegov.ticket.TicketCollection, request: onegov.org.request.OrgRequest) Iterator[Link] [source]
- org.views.ticket.get_groups(self: onegov.ticket.TicketCollection | onegov.ticket.collection.ArchivedTicketCollection, request: onegov.org.request.OrgRequest, groups: Mapping[str, Iterable[str]], handler: str) Iterator[Link] [source]
- org.views.ticket.get_handlers(self: onegov.ticket.TicketCollection | onegov.ticket.collection.ArchivedTicketCollection, request: onegov.org.request.OrgRequest, groups: Mapping[str, Iterable[str]]) Iterator[Link] [source]
- org.views.ticket.get_owners(self: onegov.ticket.TicketCollection | onegov.ticket.collection.ArchivedTicketCollection, request: onegov.org.request.OrgRequest) Iterator[Link] [source]
- org.views.ticket.groups_by_handler_code(session: sqlalchemy.orm.Session) dict[str, list[str]] [source]
- org.views.ticket.view_tickets(self: onegov.ticket.TicketCollection, request: onegov.org.request.OrgRequest, layout: onegov.org.layout.TicketsLayout | None = None) onegov.core.types.RenderData [source]
- org.views.ticket.view_archived_tickets(self: onegov.ticket.collection.ArchivedTicketCollection, request: onegov.org.request.OrgRequest, layout: onegov.org.layout.ArchivedTicketsLayout | None = None) onegov.core.types.RenderData [source]
- org.views.ticket.view_delete_all_archived_tickets(self: onegov.ticket.collection.ArchivedTicketCollection, request: onegov.org.request.OrgRequest) None [source]