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

fixes for table_filters.js

This commit is contained in:
Oliver Walters
2021-08-28 22:18:20 +10:00
parent 0620e656a0
commit 140a2092c8
2 changed files with 7 additions and 4 deletions

View File

@ -2,6 +2,8 @@
{% load status_codes %}
{% load inventree_extras %}
import { global_settings } from '{% url "settings.js" %}';
{% include "status_codes.html" with label='stock' options=StockStatus.list %}
{% include "status_codes.html" with label='stockHistory' options=StockHistoryCode.list %}
{% include "status_codes.html" with label='build' options=BuildStatus.list %}
@ -9,7 +11,7 @@
{% include "status_codes.html" with label='salesOrder' options=SalesOrderStatus.list %}
function getAvailableTableFilters(tableKey) {
export function getAvailableTableFilters(tableKey) {
tableKey = tableKey.toLowerCase();