diff --git a/InvenTree/locale/de/LC_MESSAGES/django.po b/InvenTree/locale/de/LC_MESSAGES/django.po index 85827e57e2..9232c69ada 100644 --- a/InvenTree/locale/de/LC_MESSAGES/django.po +++ b/InvenTree/locale/de/LC_MESSAGES/django.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-04-11 14:32+0000\n" +"POT-Creation-Date: 2020-04-11 14:40+0000\n" "PO-Revision-Date: 2020-02-02 08:07+0100\n" "Last-Translator: Christian Schlüter \n" "Language-Team: C \n" @@ -113,7 +113,7 @@ msgstr "Zerstört" #: InvenTree/status_codes.py:163 build/templates/build/allocate_edit.html:28 #: build/templates/build/allocate_view.html:21 -#: part/templates/part/part_base.html:109 part/templates/part/tabs.html:21 +#: part/templates/part/part_base.html:113 part/templates/part/tabs.html:21 msgid "Allocated" msgstr "Zugeordnet" @@ -272,7 +272,7 @@ msgid "Description" msgstr "Beschreibung" #: build/templates/build/allocate_view.html:22 -#: part/templates/part/part_base.html:115 +#: part/templates/part/part_base.html:120 msgid "On Order" msgstr "bestellt" @@ -312,6 +312,10 @@ msgstr "Status" msgid "BOM Price" msgstr "" +#: build/templates/build/build_base.html:81 +msgid "BOM pricing is incomplete" +msgstr "" + #: build/templates/build/build_base.html:84 #, fuzzy #| msgid "Show pricing information" @@ -1744,23 +1748,23 @@ msgstr "Teil favorisieren" msgid "Show pricing information" msgstr "Kosteninformationen ansehen" -#: part/templates/part/part_base.html:98 +#: part/templates/part/part_base.html:100 msgid "Available Stock" msgstr "Verfügbarer Lagerbestand" -#: part/templates/part/part_base.html:103 +#: part/templates/part/part_base.html:106 msgid "In Stock" msgstr "Auf Lager" -#: part/templates/part/part_base.html:124 +#: part/templates/part/part_base.html:130 msgid "Build Status" msgstr "Bau-Status" -#: part/templates/part/part_base.html:128 +#: part/templates/part/part_base.html:135 msgid "Can Build" msgstr "Herstellbar?" -#: part/templates/part/part_base.html:133 +#: part/templates/part/part_base.html:141 msgid "Underway" msgstr "unterwegs" diff --git a/InvenTree/locale/en/LC_MESSAGES/django.po b/InvenTree/locale/en/LC_MESSAGES/django.po index ed90c43073..9cd8faffa1 100644 --- a/InvenTree/locale/en/LC_MESSAGES/django.po +++ b/InvenTree/locale/en/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-04-11 14:32+0000\n" +"POT-Creation-Date: 2020-04-11 14:40+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -112,7 +112,7 @@ msgstr "" #: InvenTree/status_codes.py:163 build/templates/build/allocate_edit.html:28 #: build/templates/build/allocate_view.html:21 -#: part/templates/part/part_base.html:109 part/templates/part/tabs.html:21 +#: part/templates/part/part_base.html:113 part/templates/part/tabs.html:21 msgid "Allocated" msgstr "" @@ -268,7 +268,7 @@ msgid "Description" msgstr "" #: build/templates/build/allocate_view.html:22 -#: part/templates/part/part_base.html:115 +#: part/templates/part/part_base.html:120 msgid "On Order" msgstr "" @@ -306,6 +306,10 @@ msgstr "" msgid "BOM Price" msgstr "" +#: build/templates/build/build_base.html:81 +msgid "BOM pricing is incomplete" +msgstr "" + #: build/templates/build/build_base.html:84 msgid "No pricing information" msgstr "" @@ -1581,23 +1585,23 @@ msgstr "" msgid "Show pricing information" msgstr "" -#: part/templates/part/part_base.html:98 +#: part/templates/part/part_base.html:100 msgid "Available Stock" msgstr "" -#: part/templates/part/part_base.html:103 +#: part/templates/part/part_base.html:106 msgid "In Stock" msgstr "" -#: part/templates/part/part_base.html:124 +#: part/templates/part/part_base.html:130 msgid "Build Status" msgstr "" -#: part/templates/part/part_base.html:128 +#: part/templates/part/part_base.html:135 msgid "Can Build" msgstr "" -#: part/templates/part/part_base.html:133 +#: part/templates/part/part_base.html:141 msgid "Underway" msgstr "" diff --git a/InvenTree/locale/es/LC_MESSAGES/django.po b/InvenTree/locale/es/LC_MESSAGES/django.po index ed90c43073..9cd8faffa1 100644 --- a/InvenTree/locale/es/LC_MESSAGES/django.po +++ b/InvenTree/locale/es/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-04-11 14:32+0000\n" +"POT-Creation-Date: 2020-04-11 14:40+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -112,7 +112,7 @@ msgstr "" #: InvenTree/status_codes.py:163 build/templates/build/allocate_edit.html:28 #: build/templates/build/allocate_view.html:21 -#: part/templates/part/part_base.html:109 part/templates/part/tabs.html:21 +#: part/templates/part/part_base.html:113 part/templates/part/tabs.html:21 msgid "Allocated" msgstr "" @@ -268,7 +268,7 @@ msgid "Description" msgstr "" #: build/templates/build/allocate_view.html:22 -#: part/templates/part/part_base.html:115 +#: part/templates/part/part_base.html:120 msgid "On Order" msgstr "" @@ -306,6 +306,10 @@ msgstr "" msgid "BOM Price" msgstr "" +#: build/templates/build/build_base.html:81 +msgid "BOM pricing is incomplete" +msgstr "" + #: build/templates/build/build_base.html:84 msgid "No pricing information" msgstr "" @@ -1581,23 +1585,23 @@ msgstr "" msgid "Show pricing information" msgstr "" -#: part/templates/part/part_base.html:98 +#: part/templates/part/part_base.html:100 msgid "Available Stock" msgstr "" -#: part/templates/part/part_base.html:103 +#: part/templates/part/part_base.html:106 msgid "In Stock" msgstr "" -#: part/templates/part/part_base.html:124 +#: part/templates/part/part_base.html:130 msgid "Build Status" msgstr "" -#: part/templates/part/part_base.html:128 +#: part/templates/part/part_base.html:135 msgid "Can Build" msgstr "" -#: part/templates/part/part_base.html:133 +#: part/templates/part/part_base.html:141 msgid "Underway" msgstr "" diff --git a/InvenTree/part/templates/part/part_base.html b/InvenTree/part/templates/part/part_base.html index abac62f059..d744c2f79c 100644 --- a/InvenTree/part/templates/part/part_base.html +++ b/InvenTree/part/templates/part/part_base.html @@ -93,25 +93,30 @@
+ + + {% if not part.is_template %} {% if part.allocation_count > 0 %} + {% endif %} {% if part.on_order > 0 %} + @@ -120,16 +125,19 @@ {% if not part.is_template %} {% if part.assembly %} + + {% if part.quantity_being_built > 0 %} +

{% trans "Available Stock" %}

{% decimal part.available_stock %} {{ part.units }}

{% trans "In Stock" %} {% include "part/stock_count.html" %}
{% trans "Allocated" %} {% decimal part.allocation_count %}
{% trans "On Order" %} {% decimal part.on_order %}
{% trans "Build Status" %}
{% trans "Can Build" %} {% decimal part.can_build %}
{% trans "Underway" %} {% decimal part.quantity_being_built %}