fix: get_mentors in batch

This commit is contained in:
pateljannat
2021-05-04 16:50:39 +05:30
parent e931ead270
commit b7d93c1b50
4 changed files with 13 additions and 18 deletions

View File

@@ -74,7 +74,7 @@
<div>Starting {{frappe.utils.format_date(batch.start_date, "medium")}}</div>
<div class="course-type" style="color: #888; padding: 10px 0px;">mentors</div>
{% for m in batch.mentors %}
{% for m in batch.get_mentors() %}
<div>
{% if m.photo_url %}
<img class="profile-photo" src="{{m.photo_url}}">