2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-20 05:46:34 +00:00

extending API to supply price wihtout formatting

This commit is contained in:
Matthias
2021-08-09 01:49:55 +02:00
parent c58ed5a07e
commit ad656b7ca7
2 changed files with 17 additions and 4 deletions

View File

@ -1115,7 +1115,7 @@ function loadPriceBreakTable(table, options) {
// split up for graph definition
var graphLabels = Array.from(tableData, x => x.quantity);
var graphData = Array.from(tableData, x => parseFloat(x.price));
var graphData = Array.from(tableData, x => x.price);
// destroy chart if exists
if (chart){