Skip to content
Snippets Groups Projects
Commit e43834bf authored by Tomáš Valenta's avatar Tomáš Valenta
Browse files

display custom unit with slash

parent 4e9a9be6
No related branches found
No related tags found
Loading
Pipeline #12145 passed
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
{% if contract.cost_unit == contract.CostUnits.TOTAL %} {% if contract.cost_unit == contract.CostUnits.TOTAL %}
celkem celkem
{% elif contract.cost_unit == contract.CostUnits.OTHER %} {% elif contract.cost_unit == contract.CostUnits.OTHER %}
{{ contract.cost_unit_other }} / {{ contract.cost_unit_other }}
{% else %} {% else %}
/ {{ contract.get_cost_unit_display.lower }} / {{ contract.get_cost_unit_display.lower }}
{% endif %} {% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment