2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-14 23:51:08 +00:00

Now loading data! Still need to be bonified

This commit is contained in:
eeintech
2020-09-29 16:49:53 -05:00
parent d05a5978a0
commit 40d8a07acc
4 changed files with 47 additions and 103 deletions

View File

@@ -16,16 +16,10 @@
loadParametricPartTable(
"#parametric-part-table",
"{% url 'api-part-list' %}",
{
params: {
{% if category %}category: {{ category.id }},
{% else %}category: "null",
{% endif %}
},
headers: {{ parameters|safe }},
name: 'parametric',
},
{
headers: {{ headers|safe }},
data: {{ parameters|safe }},
}
);
{% endblock %}