mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 13:05:42 +00:00
Sales order button fix (#4782)
* Add (empty) set of API filters for contact table * Fix typo
This commit is contained in:
@ -669,6 +669,12 @@ function getPartTableFilters() {
|
||||
}
|
||||
|
||||
|
||||
// Return a dictionary of filters for the "contact" table
|
||||
function getContactFilters() {
|
||||
return {};
|
||||
}
|
||||
|
||||
|
||||
// Return a dictionary of filters for the "company" table
|
||||
function getCompanyFilters() {
|
||||
return {
|
||||
@ -699,6 +705,8 @@ function getAvailableTableFilters(tableKey) {
|
||||
return getPartCategoryFilters();
|
||||
case 'company':
|
||||
return getCompanyFilters();
|
||||
case 'contact':
|
||||
return getContactFilters();
|
||||
case 'customerstock':
|
||||
return getCustomerStockFilters();
|
||||
case 'bom':
|
||||
|
Reference in New Issue
Block a user