mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
also show prices of the value 0
This commit is contained in:
parent
452d2004ce
commit
b4412ef575
@ -54,7 +54,7 @@
|
||||
<option value="{{ supplier.id }}"{% if part.order_supplier == supplier.id %} selected="selected"{% endif %}>
|
||||
{% if show_price %}
|
||||
{% call_method supplier 'get_price' part.order_quantity as price %}
|
||||
{% if price %}{% include "price.html" with price=price %}{% else %}{% trans 'No price' %}{% endif %} -
|
||||
{% if price != None %}{% include "price.html" with price=price %}{% else %}{% trans 'No price' %}{% endif %} -
|
||||
{% endif %}
|
||||
{{ supplier }}
|
||||
</option>
|
||||
|
Loading…
Reference in New Issue
Block a user