mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
naming refactor
This commit is contained in:
parent
ef07c93634
commit
f479c0cd27
@ -293,6 +293,8 @@
|
|||||||
{% block js_ready %}
|
{% block js_ready %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
|
|
||||||
|
{% default_currency as currency %}
|
||||||
|
|
||||||
|
|
||||||
loadSupplierPartTable(
|
loadSupplierPartTable(
|
||||||
"#supplier-table",
|
"#supplier-table",
|
||||||
@ -321,9 +323,8 @@
|
|||||||
|
|
||||||
|
|
||||||
// history graphs
|
// history graphs
|
||||||
{% default_currency as currency %}
|
|
||||||
{% if price_history %}
|
{% if price_history %}
|
||||||
var pricedata = {
|
var purchasepricedata = {
|
||||||
labels: [
|
labels: [
|
||||||
{% for line in price_history %}'{{ line.date }}',{% endfor %}
|
{% for line in price_history %}'{{ line.date }}',{% endfor %}
|
||||||
],
|
],
|
||||||
@ -375,7 +376,7 @@
|
|||||||
borderWidth: 1
|
borderWidth: 1
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
var StockPriceChart = loadStockPricingChart($('#StockPriceChart'), pricedata)
|
var StockPriceChart = loadStockPricingChart($('#StockPriceChart'), purchasepricedata)
|
||||||
var bom_colors = randomColor({hue: 'green', count: {{ bom_parts|length }} })
|
var bom_colors = randomColor({hue: 'green', count: {{ bom_parts|length }} })
|
||||||
var bomdata = {
|
var bomdata = {
|
||||||
labels: [{% for line in bom_parts %}'{{ line.name }}',{% endfor %}],
|
labels: [{% for line in bom_parts %}'{{ line.name }}',{% endfor %}],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user