diff --git a/InvenTree/build/forms.py b/InvenTree/build/forms.py index 05b1c99034..8b99f627a6 100644 --- a/InvenTree/build/forms.py +++ b/InvenTree/build/forms.py @@ -21,6 +21,7 @@ class EditBuildForm(HelperForm): 'part', 'quantity', 'batch', + 'URL', 'notes', 'status', # 'completion_date', diff --git a/InvenTree/build/templates/build/detail.html b/InvenTree/build/templates/build/detail.html index 4f1c871a3f..9b239767c0 100644 --- a/InvenTree/build/templates/build/detail.html +++ b/InvenTree/build/templates/build/detail.html @@ -38,14 +38,19 @@ Quantity{{ build.quantity }} + + Status{% include "build_status.html" with build=build %} + {% if build.batch %} Batch{{ build.batch }} {% endif %} +{% if build.URL %} - Status{% include "build_status.html" with build=build %} + URL{{ build.URL }} +{% endif %} Created{{ build.creation_date }}