2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 19:15:41 +00:00

Initial commit for api.js

- GET JSON call with console output
- Provide filters
This commit is contained in:
Oliver
2018-05-04 23:43:41 +10:00
parent 2edb865528
commit 83dd068fec
2 changed files with 25 additions and 0 deletions

View File

@ -59,6 +59,8 @@
{% endblock %}
{% block js_load %}
{{ block.super }}
<script type='text/javascript' src="{% static 'script/inventree/api.js' %}"></script>
<script type='text/javascript' src="{% static 'script/modal_form.js' %}"></script>
{% endblock %}
{% block js_ready %}
@ -206,4 +208,6 @@
url: "{% url 'api-stock-list' %}",
});
getParts();
{% endblock %}