mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Launch new forms
This commit is contained in:
parent
bf11e8361e
commit
340d4d8a89
@ -681,6 +681,12 @@ function orderParts(parts_list, options={}) {
|
||||
var pk = $(this).attr('pk');
|
||||
|
||||
// Launch dialog to create new supplier part
|
||||
createSupplierPart({
|
||||
part: pk,
|
||||
onSuccess: function(response) {
|
||||
// TODO
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
// Add callback for "new purchase order" button
|
||||
@ -688,6 +694,11 @@ function orderParts(parts_list, options={}) {
|
||||
var pk = $(this).attr('pk');
|
||||
|
||||
// Launch dialog to create new purchase order
|
||||
createPurchaseOrder({
|
||||
onSuccess: function(response) {
|
||||
// TODO
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user