mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add secondary dialog for creating new supplier
This commit is contained in:
parent
1b73f56937
commit
0f60482e09
@ -158,6 +158,14 @@ $("#po-create").click(function() {
|
||||
launchModalForm("{% url 'po-create' %}",
|
||||
{
|
||||
follow: true,
|
||||
secondary: [
|
||||
{
|
||||
field: 'supplier',
|
||||
label: '{% trans "New Supplier" %}',
|
||||
title: '{% trans "Create new Supplier" %}',
|
||||
url: '{% url "supplier-create" %}',
|
||||
}
|
||||
]
|
||||
}
|
||||
);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user