mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-14 15:41:10 +00:00
Provide download link to export BOM file
- Helper function for generating temporary file (in memory) for exporting
This commit is contained in:
@@ -62,16 +62,14 @@
|
||||
});
|
||||
|
||||
$("#export-bom").click(function () {
|
||||
/*
|
||||
launchModalForm(
|
||||
"{% url 'bom-export' part.id %}",
|
||||
{
|
||||
/*
|
||||
reload: true,
|
||||
data: {
|
||||
format: 'csv',
|
||||
}
|
||||
*/
|
||||
});
|
||||
*/
|
||||
//TODO - Select format of the data
|
||||
location.href = "{% url 'bom-export' part.id %}";
|
||||
});
|
||||
|
||||
$("#bom-table").bootstrapTable({
|
||||
|
Reference in New Issue
Block a user