From 124967ed317919d40d07c8a02625115218a1cae2 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Tue, 31 Mar 2020 21:30:34 +1100 Subject: [PATCH] Remove trailing zeros in part order form --- .../order/order_wizard/select_parts.html | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/InvenTree/order/templates/order/order_wizard/select_parts.html b/InvenTree/order/templates/order/order_wizard/select_parts.html index c25def7054..d0e65e8f22 100644 --- a/InvenTree/order/templates/order/order_wizard/select_parts.html +++ b/InvenTree/order/templates/order/order_wizard/select_parts.html @@ -1,18 +1,21 @@ {% extends "modal_form.html" %} +{% load inventree_extras %} +{% load i18n %} + {% block form %}

- Step 1 of 2 - Select Part Suppliers + {% trans "Step 1 of 2 - Select Part Suppliers" %}

{% if parts|length > 0 %} {% else %} {% endif %} @@ -24,9 +27,9 @@ - - - + + + {% for part in parts %} @@ -51,14 +54,14 @@ {% if not part.order_supplier %} - Select a supplier for {{ part.name }} + {% trans "Select a supplier for" %} {{ part.name }} {% endif %}
PartSelect SupplierQuantity{% trans "Part" %}{% trans "Select Supplier" %}{% trans "Quantity" %}
- +