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:
parent
bf11e8361e
commit
340d4d8a89
@ -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
|
||||||
|
}
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user