diff --git a/InvenTree/build/templates/build/allocate.html b/InvenTree/build/templates/build/allocate.html deleted file mode 100644 index de07614c8e..0000000000 --- a/InvenTree/build/templates/build/allocate.html +++ /dev/null @@ -1,101 +0,0 @@ -{% extends "build/build_base.html" %} -{% load static %} -{% load i18n %} -{% load inventree_extras %} - -{% block page_title %} -{% inventree_title %} | {% trans "Allocate Parts" %} -{% endblock %} - -{% block menubar %} -{% include "build/navbar.html" with tab='allocate' %} -{% endblock %} - -{% block heading %} -{% trans "Allocate Stock to Build" %} -{% endblock %} - -{% block details %} -{% if build.has_untracked_bom_items %} -{% if build.active %} -
- | {% trans "Description" %} | -{{ build.title }}{% include "clip.html"%} | -
- | {% trans "Part" %} | -{{ build.part.full_name }}{% include "clip.html"%} | -
- | {% trans "Quantity" %} | {{ build.quantity }} | -
- | {% trans "Stock Source" %} | -- {% if build.take_from %} - {{ build.take_from }}{% include "clip.html"%} - {% else %} - {% trans "Stock can be taken from any available location." %} - {% endif %} - | -
- | {% trans "Destination" %} | -- {% if build.destination %} - - {{ build.destination }} - {% include "clip.html"%} - {% else %} - {% trans "Destination location not specified" %} - {% endif %} - | -
- | {% trans "Status" %} | -{% build_status_label build.status %} | -
- | {% trans "Progress" %} | -{{ build.completed }} / {{ build.quantity }} | -
- | {% trans "Batch" %} | -{{ build.batch }}{% include "clip.html"%} | -
- | {% trans "Parent Build" %} | -{{ build.parent }}{% include "clip.html"%} | -
- | {% trans "Sales Order" %} | -{{ build.sales_order }}{% include "clip.html"%} | -
- | {% trans "External Link" %} | -{{ build.link }}{% include "clip.html"%} | -
- | {% trans "Issued By" %} | -{{ build.issued_by }} | -
- | {% trans "Responsible" %} | -{{ build.responsible }} | -
- | {% trans "Created" %} | -{{ build.creation_date }} | -||||||||||||||||||||||||||||||||||||||||||||
- | {% trans "Target Date" %} | - {% if build.target_date %} -- {{ build.target_date }}{% if build.is_overdue %} {% endif %} - | - {% else %} -{% trans "No target date set" %} | +
+ | {% trans "Description" %} | +{{ build.title }}{% include "clip.html"%} | +|
+ | {% trans "Part" %} | +{{ build.part.full_name }}{% include "clip.html"%} | +|
+ | {% trans "Quantity" %} | {{ build.quantity }} | +|
+ | {% trans "Stock Source" %} | ++ {% if build.take_from %} + {{ build.take_from }}{% include "clip.html"%} + {% else %} + {% trans "Stock can be taken from any available location." %} + {% endif %} + | +|
+ | {% trans "Destination" %} | ++ {% if build.destination %} + + {{ build.destination }} + {% include "clip.html"%} + {% else %} + {% trans "Destination location not specified" %} + {% endif %} + | +|
+ | {% trans "Status" %} | +{% build_status_label build.status %} | +|
+ | {% trans "Progress" %} | +{{ build.completed }} / {{ build.quantity }} | +|
+ | {% trans "Batch" %} | +{{ build.batch }}{% include "clip.html"%} | +|
- | {% trans "Completed" %} | - {% if build.completion_date %} -{{ build.completion_date }}{% if build.completed_by %}{{ build.completed_by }}{% endif %} | - {% else %} -{% trans "Build not complete" %} | + {% if build.parent %} +
+ | {% trans "Parent Build" %} | +{{ build.parent }}{% include "clip.html"%} | +
+ | {% trans "Created" %} | +{{ build.creation_date }} | +|
+ | {% trans "Target Date" %} | + {% if build.target_date %} ++ {{ build.target_date }}{% if build.is_overdue %} {% endif %} + | + {% else %} +{% trans "No target date set" %} | + {% endif %} +
+ | {% trans "Completed" %} | + {% if build.completion_date %} +{{ build.completion_date }}{% if build.completed_by %}{{ build.completed_by }}{% endif %} | + {% else %} +{% trans "Build not complete" %} | + {% endif %} +