feat: seat count from class dialog

This commit is contained in:
Jannat Patel
2023-05-03 22:47:39 +05:30
parent e10feb3c36
commit b47ff80e9d
3 changed files with 21 additions and 3 deletions

View File

@@ -13,7 +13,15 @@ def get_context(context):
context.class_info = frappe.db.get_value(
"LMS Class",
class_name,
["name", "title", "start_date", "end_date", "description", "custom_component"],
[
"name",
"title",
"start_date",
"end_date",
"description",
"custom_component",
"seat_count",
],
as_dict=True,
)