feat: batch customisations

This commit is contained in:
Jannat Patel
2023-10-12 21:20:36 +05:30
parent affd2b47bd
commit a7dbdd844b
13 changed files with 226 additions and 69 deletions

View File

@@ -552,7 +552,7 @@
{% for legend in legends %}
<div class="legend-item">
<div class="legend-color" style="background-color: {{ legend.color }}"></div>
<div class="legend-text">{{ legend.title }}</div>
<div class="legend-text">{{ legend.label }}</div>
</div>
{% endfor %}
</div>
@@ -574,6 +574,8 @@
<script>
frappe.boot.single_types = []
let courses = {{ course_list | json }};
const legends = {{ legends | json }};
const allow_future = {{ batch_info.allow_future }}
</script>
<link rel="stylesheet" href="https://uicdn.toast.com/calendar/latest/toastui-calendar.min.css" />