32 lines
584 B
HTML
32 lines
584 B
HTML
{% extends "build/build_base.html" %}
|
|
{% load static %}
|
|
{% load i18n %}
|
|
|
|
{% block details %}
|
|
|
|
{% include "build/tabs.html" with tab='output' %}
|
|
|
|
<h4>{% trans "Build Outputs" %}</h4>
|
|
<hr>
|
|
|
|
{% include "stock_table.html" with read_only=True %}
|
|
|
|
{% endblock %}
|
|
|
|
{% block js_ready %}
|
|
{{ block.super }}
|
|
|
|
loadStockTable($("#stock-table"), {
|
|
params: {
|
|
location_detail: true,
|
|
part_detail: true,
|
|
build: {{ build.id }},
|
|
},
|
|
groupByField: 'location',
|
|
buttons: [
|
|
'#stock-options',
|
|
],
|
|
url: "{% url 'api-stock-list' %}",
|
|
});
|
|
|
|
{% endblock %} |