2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

Adds exporter and download button for sales orders

This commit is contained in:
Oliver
2022-05-12 11:44:05 +10:00
parent 1b1f7634b7
commit d0ddb47b1f
3 changed files with 31 additions and 2 deletions

View File

@ -2093,7 +2093,9 @@ function loadSalesOrderTable(table, options) {
options.url = options.url || '{% url "api-so-list" %}';
setupFilterList('salesorder', $(table));
var target = '#filter-list-salesorder';
setupFilterList('salesorder', $(table), target, {download: true});
$(table).inventreeTable({
url: options.url,