{% extends "page_base.html" %} {% load inventree_extras %} {% load static %} {% load i18n %} {% block page_title %} {% inventree_title %} | {% trans "Build Orders" %} {% endblock %} {% block heading %} {% trans "Build Orders" %} {% endblock %} {% block actions %} {% if roles.build.add %} {% endif %} {% endblock %} {% block page_info %}
{% if report_enabled %} {% endif %} {% include "filter_list.html" with id="build" %}
{% endblock %} {% block js_ready %} {{ block.super }} $("#new-build").click(function() { newBuildOrder(); }); loadBuildTable($("#build-table"), { locale: '{{ request.LANGUAGE_CODE }}', }); {% if report_enabled %} $('#multi-build-print').click(function() { var rows = getTableData("#build-table"); var build_ids = []; rows.forEach(function(row) { build_ids.push(row.pk); }); printBuildReports(build_ids); }); {% endif %} {% endblock %}