2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 11:10:54 +00:00

Move "Export" button onto stock table

This commit is contained in:
Oliver Walters
2019-09-08 23:40:51 +10:00
parent e81a4ffacd
commit 3d5542181a
2 changed files with 2 additions and 4 deletions

View File

@ -16,9 +16,6 @@
<button class='btn btn-default btn-glyph' id='location-create' title='Create new stock location'>
<span class='glyphicon glyphicon-plus'/>
</button>
<button class='btn btn-default btn-glyph' id='location-export' title='Export Stock Data'>
<span class='glyphicon glyphicon-download-alt'></span>
</button>
{% if location %}
{% include "qr_button.html" %}
<button class='btn btn-default btn-glyph' id='location-count' title='Count stock items'>
@ -70,7 +67,7 @@
sessionStorage.removeItem('inventree-show-part-locations');
});
$("#location-export").click(function() {
$("#stock-export").click(function() {
launchModalForm("{% url 'stock-export-options' %}",
{
submit_text: "Export",