fix: show price on all course cards

This commit is contained in:
Jannat Patel
2023-08-16 11:51:05 +05:30
parent 211775dba5
commit c2a6697f72
6 changed files with 15 additions and 11 deletions

View File

@@ -129,8 +129,8 @@ def get_class_course_details(class_courses):
"upcoming",
"short_introduction",
"image",
"paid_certificate",
"price_certificate",
"paid_course",
"course_price",
"enable_certification",
"currency",
],

View File

@@ -123,7 +123,7 @@
{{ Notes(course) }}
<div class="vertically-center mb-3 bold-heading">
{{ format_amount(course.course_price, course.currency) }}
{{ frappe.utils.fmt_money(course.course_price, 0, course.currency) }}
</div>
<div class="vertically-center mb-3">