winterthur.views.mission_report

Functions

mission_report_form(...)

mission_report_vehicle_form(...)

view_mission_reports(→ onegov.core.types.RenderData)

view_mission(→ onegov.core.types.RenderData)

view_mission_reports_as_json(→ onegov.core.types.JSON_ro)

view_mission_reports_as_csv(→ webob.Response)

view_mission_report_vehicles(...)

view_mission_report_files(→ onegov.core.types.RenderData)

handle_new_mission_report(→ RenderData | Response)

handle_edit_mission_report(→ RenderData | Response)

delete_mission_report(→ None)

handle_new_vehicle(→ RenderData | Response)

handle_edit_vehicle(→ RenderData | Response)

delete_mission_report_vehicle(→ None)

Module Contents

winterthur.views.mission_report.mission_report_form(model: onegov.winterthur.models.MissionReport | onegov.winterthur.collections.MissionReportCollection, request: onegov.winterthur.request.WinterthurRequest) type[onegov.winterthur.forms.MissionReportForm][source]
winterthur.views.mission_report.mission_report_vehicle_form(model: onegov.winterthur.models.MissionReportVehicle | onegov.winterthur.collections.MissionReportVehicleCollection, request: onegov.winterthur.request.WinterthurRequest) type[onegov.winterthur.forms.MissionReportVehicleForm][source]
winterthur.views.mission_report.view_mission_reports(self: onegov.winterthur.collections.MissionReportCollection, request: onegov.winterthur.request.WinterthurRequest) onegov.core.types.RenderData[source]
winterthur.views.mission_report.view_mission(self: onegov.winterthur.models.MissionReport, request: onegov.winterthur.request.WinterthurRequest) onegov.core.types.RenderData[source]
winterthur.views.mission_report.view_mission_reports_as_json(self: onegov.winterthur.collections.MissionReportCollection, request: onegov.winterthur.request.WinterthurRequest) onegov.core.types.JSON_ro[source]
winterthur.views.mission_report.view_mission_reports_as_csv(self: onegov.winterthur.collections.MissionReportCollection, request: onegov.winterthur.request.WinterthurRequest) webob.Response[source]
winterthur.views.mission_report.view_mission_report_vehicles(self: onegov.winterthur.collections.MissionReportVehicleCollection, request: onegov.winterthur.request.WinterthurRequest) onegov.core.types.RenderData[source]
winterthur.views.mission_report.view_mission_report_files(self: onegov.winterthur.collections.MissionReportFileCollection, request: onegov.winterthur.request.WinterthurRequest) onegov.core.types.RenderData[source]
winterthur.views.mission_report.handle_new_mission_report(self: onegov.winterthur.collections.MissionReportCollection, request: onegov.winterthur.request.WinterthurRequest, form: onegov.winterthur.forms.MissionReportForm) RenderData | Response[source]
winterthur.views.mission_report.handle_edit_mission_report(self: onegov.winterthur.models.MissionReport, request: onegov.winterthur.request.WinterthurRequest, form: onegov.winterthur.forms.MissionReportForm) RenderData | Response[source]
winterthur.views.mission_report.delete_mission_report(self: onegov.winterthur.models.MissionReport, request: onegov.winterthur.request.WinterthurRequest) None[source]
winterthur.views.mission_report.handle_new_vehicle(self: onegov.winterthur.collections.MissionReportVehicleCollection, request: onegov.winterthur.request.WinterthurRequest, form: onegov.winterthur.forms.MissionReportVehicleForm) RenderData | Response[source]
winterthur.views.mission_report.handle_edit_vehicle(self: onegov.winterthur.models.MissionReportVehicle, request: onegov.winterthur.request.WinterthurRequest, form: onegov.winterthur.forms.MissionReportVehicleForm) RenderData | Response[source]
winterthur.views.mission_report.delete_mission_report_vehicle(self: onegov.winterthur.models.MissionReportVehicle, request: onegov.winterthur.request.WinterthurRequest) None[source]