diff --git a/lms/templates/statistics.html b/lms/templates/statistics.html index 6324cf39..57b84e68 100644 --- a/lms/templates/statistics.html +++ b/lms/templates/statistics.html @@ -6,29 +6,42 @@ {{ _("Published Courses") }}
- {{ frappe.db.count("LMS Course", { "published": 1, "upcoming": 0 }) }} + {{ frappe.utils.fmt_money( + frappe.db.count("LMS Course", { + "published": 1, + "upcoming": 0 + }) + , 0) }}
{% endif %} + {% if total_signups %}
{{ _("Total Signups") }}
- {{ frappe.db.count("User", { "enabled": 1 }) }} + {{ frappe.utils.fmt_money( + frappe.db.count("User", { + "enabled": 1 + }) + , 0) }}
{% endif %} + {% if enrollment_count %}
{{ _("Enrollment Count") }}
- {{ frappe.db.count("LMS Batch Membership") }} + {{ frappe.utils.fmt_money( + frappe.db.count("LMS Batch Membership") + , 0) }}
{% endif %}