mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add 'new location' button when receiving parts by individual line
This commit is contained in:
parent
4b599b7cdb
commit
3f172cb065
@ -202,7 +202,15 @@ $("#po-lines-table").on('click', ".line-receive", function() {
|
|||||||
reload: true,
|
reload: true,
|
||||||
data: {
|
data: {
|
||||||
line: button.attr('pk')
|
line: button.attr('pk')
|
||||||
}
|
},
|
||||||
|
secondary: [
|
||||||
|
{
|
||||||
|
field: 'location',
|
||||||
|
label: 'New Location',
|
||||||
|
title: 'Create new stock location',
|
||||||
|
url: "{% url 'stock-location-create' %}",
|
||||||
|
},
|
||||||
|
]
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user