Task #7936
Add the wastewater type to the origin
0%
Description
- Industrial
- Domestic
- Institutional
- Restaurants
- Offices
Associated revisions
Refs #7936: add WasteWaterTreatmentOriginType
Refs #7936: improve admin for WasteWaterTreatmentOrigin
Refs #7936: add WasteWaterTreatmentOriginType, show waste water origin type in the graph
Refs #7936: waste water treatment plants: add origin types to the info panel, add origin_types in the context for health check template, origin type name in the origins' tooltips
History
#1 Updated by Philippe May almost 6 years ago
- Project changed from GIS to Geomatic studio models for Gisaf
- Subject changed from Adding the wastewater type to the origin to Add the wastewater type to the origin
- Status changed from New to In Progress
In our discussion, we also mentioned that the health check report can also make use of this info: the types of waste water would be used to determine the type of waste water treatment system, eg. "Offices, Restaurants".
I'll add a new table waste water origin type, and a foreign key to that table in the table origin.
#2 Updated by Philippe May almost 6 years ago
Added waste water treatment origin type table, available in the admin http://gisaf.csr.av:8000/old-admin/wastewatertreatmentorigintype , where you can add the types mentioned in the ticket.
Added also the type to the waste water treatment origin http://gisaf.csr.av:8000/old-admin/wastewatertreatmentorigin/ .
#3 Updated by Philippe May almost 6 years ago
- Status changed from In Progress to Resolved
I'll put the changes in production tomorrow.
So, for the health check template, you'll have 2 more things available:
{{ origin_types }}
: list of waste water origin types for that system: that would go in the system details- For each origin chapter 3, the following piece displays the type of water:
{% if origin.from_origin.type_id %}{{ origin.from_origin.type.name }}{% endif %}