2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 20:45:44 +00:00

Refactored status code label generation

- Larger style available
This commit is contained in:
Oliver Walters
2020-04-25 15:13:55 +10:00
parent 4e40d92db7
commit 2f0bbecc3d
7 changed files with 66 additions and 49 deletions

View File

@ -20,7 +20,7 @@ src="{% static 'img/blank_image.png' %}"
{% endblock %}
{% block page_data %}
<h3>{% trans "Purchase Order" %}</h3>
<h3>{% trans "Purchase Order" %} {% purchase_order_status_label order.status large=True %}</h3>
<hr>
<h4>{{ order }}</h4>
<p>{{ order.description }}</p>

View File

@ -30,7 +30,7 @@ src="{% static 'img/blank_image.png' %}"
{% block page_data %}
<h3>{% trans "Sales Order" %}</h3>
<h3>{% trans "Sales Order" %} {% sales_order_status_label order.status large=True %}</h3>
<hr>
<h4>{{ order }}</h4>
<p>{{ order.description }}</p>