mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-16 07:01:01 +00:00
1 parent
7da430f0e7
commit
cdb8ad4c30
1 file changed
+1
-1
@@ -599,7 +599,7 @@ To access just the value of a parameter, use the `parameter_value` template tag:
|
|||||||
{% raw %}
|
{% raw %}
|
||||||
{% load report %}
|
{% load report %}
|
||||||
|
|
||||||
{% parameter_value part "length" as length_value %}
|
{% parameter_value part "length" backup_value="3"as length_value %}
|
||||||
Part: {{ part.name }}<br>
|
Part: {{ part.name }}<br>
|
||||||
Length: {{ length_value }}
|
Length: {{ length_value }}
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
|||||||
Reference in new issue
Block a user