fix: rating issue

This commit is contained in:
Jannat Patel
2021-10-18 12:24:37 +05:30
parent b1aaddae59
commit bf986e26bc
2 changed files with 2 additions and 2 deletions

View File

@@ -57,7 +57,7 @@
{% if avg_rating %}
<span class="">
<img class="icon-background" src="/assets/community/icons/rating.svg" />
{{ avg_rating }}
{{ frappe.utils.flt(avg_rating, frappe.get_system_settings('float_precision') or 3) }}
</span>
{% endif %}
</span>

View File

@@ -201,7 +201,7 @@
{% if avg_rating %}
<div class="overtime-item">
<img class="icon-background mr-1" src="/assets/community/icons/rating.svg" />
{{ avg_rating }} Rating
{{ frappe.utils.flt(avg_rating, frappe.get_system_settings('float_precision') or 3) }} Rating
</div>
{% endif %}
</div>