2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 21:45:39 +00:00

Add some more secondary modals

This commit is contained in:
Oliver Walters
2019-05-15 07:50:54 +10:00
parent a1d587b7f4
commit 292e29e95e
3 changed files with 32 additions and 2 deletions

View File

@ -73,8 +73,22 @@
{% if category %}
data: {
category: {{ category.id }}
}
},
{% endif %}
secondary: [
{
field: 'default_location',
label: 'New Location',
title: 'Create new location',
url: "{% url 'stock-location-create' %}",
},
{
field: 'parent',
label: 'New Category',
title: 'Create new category',
url: "{% url 'category-create' %}",
},
]
});
})