Skip to content

Commit

Permalink
Correct product revenue value on the product details page (#8741)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maffooch authored Oct 2, 2023
1 parent df7e4c2 commit 54e9f91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dojo/templates/dojo/view_product_details.html
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ <h3 class="panel-title"><span class="fa-solid fa-circle-info fa-fw" aria-hidden=
{% if prod.revenue > 0 %}
{% if prod.revenue < 1000000 %}{{ prod.revenue|intcomma }}{% else %}{{ prod.revenue|intword }}{% endif %}
{% else %}
{{ prod.user_records|notspecified }}
{{ prod.revenue|notspecified }}
{% endif %}
</td>
</tr>
Expand Down Expand Up @@ -696,4 +696,4 @@ <h3 class="panel-title"><span class="fa-solid fa-users fa-fw" aria-hidden="true"

$('[data-toggle="tooltip"]').tooltip()
</script>
{% endblock %}
{% endblock %}

0 comments on commit 54e9f91

Please sign in to comment.