{% extends "report/inventree_report_base.html" %}
{% load i18n %}
{% load report %}
{% load barcode %}
{% load inventree_extras %}
{% load markdownify %}
{% block page_margin %}
margin: 2cm;
margin-top: 4cm;
{% endblock page_margin %}
{% block style %}
.header-right {
text-align: right;
float: right;
}
.logo {
height: 20mm;
vertical-align: middle;
}
.part-image {
border: 1px solid;
border-radius: 2px;
vertical-align: middle;
height: 40mm;
width: 100%;
display: inline-block;
z-index: 100;
}
.details-image {
float: right;
width: 30%;
}
.details {
width: 100%;
border: 1px solid;
border-radius: 3px;
padding: 5px;
min-height: 42mm;
}
.details table {
overflow-wrap: break-word;
word-wrap: break-word;
width: 65%;
table-layout: fixed;
font-size: 75%;
}
.details table td:not(:last-child){
white-space: nowrap;
}
.details table td:last-child{
width: 50%;
padding-left: 1cm;
padding-right: 1cm;
}
.details-table td {
padding-left: 10px;
padding-top: 5px;
padding-bottom: 5px;
border-bottom: 1px solid #555;
}
{% endblock style %}
{% block bottom_left %}
content: "v{{ report_revision }} - {% format_date date %}";
{% endblock bottom_left %}
{% block header_content %}
{% trans "Build Order" %} | {% internal_link build.get_absolute_url build %} |
---|---|
{% trans "Part" %} | {% internal_link part.get_absolute_url part.full_name %} |
{% trans "Quantity" %} | {{ build.quantity }} |
{% trans "Description" %} | {{ build.title }} |
{% trans "Issued" %} | {% format_date build.creation_date %} |
{% trans "Target Date" %} | {% if build.target_date %} {% format_date build.target_date %} {% else %} Not specified {% endif %} |
{% trans "Sales Order" %} | {% if build.sales_order %} {% internal_link build.sales_order.get_absolute_url build.sales_order %} {% else %} Not specified {% endif %} |
{% trans "Required For" %} | {% internal_link build.parent.get_absolute_url build.parent %} |
{% trans "Issued By" %} | {{ build.issued_by }} |
{% trans "Responsible" %} | {{ build.responsible }} |
{% trans "Link" %} | {{ build.link }} |