mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-28 18:44:31 +00:00
Launch new forms
This commit is contained in:
1 parent
bf11e8361e
commit
340d4d8a89
1 file changed
+11
@@ -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
|
||||||
|
}
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user