2
0
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:
Oliver Walters
2019-04-14 00:35:19 +10:00
parent b58c49e066
commit b8e28c003d
3 changed files with 57 additions and 24 deletions

View File

@@ -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({