2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-02 13:28:49 +00:00

Launch new forms

This commit is contained in:
Oliver Walters 2022-04-27 00:12:12 +10:00
parent bf11e8361e
commit 340d4d8a89

View File

@ -681,6 +681,12 @@ function orderParts(parts_list, options={}) {
var pk = $(this).attr('pk'); var pk = $(this).attr('pk');
// Launch dialog to create new supplier part // Launch dialog to create new supplier part
createSupplierPart({
part: pk,
onSuccess: function(response) {
// TODO
}
});
}); });
// Add callback for "new purchase order" button // Add callback for "new purchase order" button
@ -688,6 +694,11 @@ function orderParts(parts_list, options={}) {
var pk = $(this).attr('pk'); var pk = $(this).attr('pk');
// Launch dialog to create new purchase order // Launch dialog to create new purchase order
createPurchaseOrder({
onSuccess: function(response) {
// TODO
}
});
}); });
}); });
} }