diff --git a/lms/fixtures/custom_field.json b/lms/fixtures/custom_field.json index 1d8f17da..baac5b0b 100644 --- a/lms/fixtures/custom_field.json +++ b/lms/fixtures/custom_field.json @@ -1,4 +1,732 @@ [ + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": "0", + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "Web Form", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "accept_payment", + "fieldtype": "Check", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "payments", + "is_system_generated": 1, + "is_virtual": 0, + "label": "Accept Payment", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2022-09-01 11:24:59.789657", + "module": null, + "name": "Web Form-accept_payment", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": "0", + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "Print Format", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "print_designer", + "fieldtype": "Check", + "hidden": 1, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": null, + "is_system_generated": 1, + "is_virtual": 0, + "label": "Print Designer", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2023-11-01 14:04:08.574962", + "module": null, + "name": "Print Format-print_designer", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "Print Format", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "print_designer_header", + "fieldtype": "JSON", + "hidden": 1, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": null, + "is_system_generated": 1, + "is_virtual": 0, + "label": "Print Designer Header", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2023-11-01 14:04:08.579349", + "module": null, + "name": "Print Format-print_designer_header", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "Print Format", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "print_designer_body", + "fieldtype": "JSON", + "hidden": 1, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": null, + "is_system_generated": 1, + "is_virtual": 0, + "label": "Print Designer Body", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2023-11-01 14:04:08.581822", + "module": null, + "name": "Print Format-print_designer_body", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "Print Format", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "print_designer_after_table", + "fieldtype": "JSON", + "hidden": 1, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": null, + "is_system_generated": 1, + "is_virtual": 0, + "label": "Print Designer After Table", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2023-11-01 14:04:08.584276", + "module": null, + "name": "Print Format-print_designer_after_table", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "Print Format", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "print_designer_footer", + "fieldtype": "JSON", + "hidden": 1, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": null, + "is_system_generated": 1, + "is_virtual": 0, + "label": "Print Designer Footer", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2023-11-01 14:04:08.586638", + "module": null, + "name": "Print Format-print_designer_footer", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "Print Format", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "print_designer_settings", + "fieldtype": "JSON", + "hidden": 1, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": null, + "is_system_generated": 1, + "is_virtual": 0, + "label": "Print Designer Settings", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2023-11-01 14:04:08.589048", + "module": null, + "name": "Print Format-print_designer_settings", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "LMS Certificate Request", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "modules", + "fieldtype": "Small Text", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "evaluator", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Modules", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2022-06-01 18:28:48.541350", + "module": null, + "name": "LMS Certificate Request-modules", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "Batch Student", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_partner_name", + "fieldtype": "Data", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "payment", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Partner Name", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2023-10-09 16:18:34.602594", + "module": null, + "name": "Batch Student-custom_partner_name", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 1, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "Batch Student", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_partner", + "fieldtype": "Check", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_partner_name", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Partner", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2023-09-29 16:22:41.094137", + "module": null, + "name": "Batch Student-custom_partner", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "Batch Student", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_invoice", + "fieldtype": "Data", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 1, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "username", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Invoice", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2023-09-13 22:37:46.320585", + "module": null, + "name": "Batch Student-custom_invoice", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "LMS Certificate Evaluation", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "assignment_doc", + "fieldtype": "Attach", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "status", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Assignment Doc", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2022-06-06 11:50:49.812428", + "module": null, + "name": "LMS Certificate Evaluation-assignment_doc", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "LMS Certificate", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_section_break_xmayc", + "fieldtype": "Section Break", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "batch_name", + "is_system_generated": 0, + "is_virtual": 0, + "label": "", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2023-10-10 12:36:13.596444", + "module": null, + "name": "LMS Certificate-custom_section_break_xmayc", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, { "allow_in_quick_entry": 0, "allow_on_submit": 0, @@ -31,6 +759,7 @@ "is_virtual": 0, "label": "Country", "length": 0, + "link_filters": null, "mandatory_depends_on": null, "modified": "2021-12-31 19:14:11.571754", "module": null, @@ -48,10 +777,68 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, "translatable": 0, "unique": 0, "width": null }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": "Umair Sayed, Sayali Yewale", + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "LMS Certificate", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "evaluator", + "fieldtype": "Data", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_section_break_xmayc", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Evaluator", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2022-05-16 12:54:25.932596", + "module": null, + "name": "LMS Certificate-evaluator", + "no_copy": 0, + "non_negative": 0, + "options": "", + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, { "allow_in_quick_entry": 0, "allow_on_submit": 0, @@ -84,6 +871,7 @@ "is_virtual": 0, "label": "Acceptance for Terms and/or Policies", "length": 0, + "link_filters": null, "mandatory_depends_on": null, "modified": "2021-12-31 19:15:34.932911", "module": null, @@ -101,10 +889,236 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, "translatable": 0, "unique": 0, "width": null }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "LMS Certificate", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_free", + "fieldtype": "Check", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "evaluator", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Free", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2023-10-10 12:36:14.013829", + "module": null, + "name": "LMS Certificate-custom_free", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "LMS Certificate", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "custom_column_break_c5v5y", + "fieldtype": "Column Break", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_free", + "is_system_generated": 0, + "is_virtual": 0, + "label": "", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2023-10-10 12:36:19.995770", + "module": null, + "name": "LMS Certificate-custom_column_break_c5v5y", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": "V13", + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "LMS Certificate", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "version", + "fieldtype": "Select", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_column_break_c5v5y", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Version", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2022-05-11 16:11:44.524967", + "module": null, + "name": "LMS Certificate-version", + "no_copy": 0, + "non_negative": 0, + "options": "V13\nV14\nV15", + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "LMS Certificate", + "fetch_from": "course.module_names_for_certificate", + "fetch_if_empty": 1, + "fieldname": "module_names_for_certificate", + "fieldtype": "Data", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "version", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Module Names for Certificate", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2022-05-23 11:55:35.789776", + "module": null, + "name": "LMS Certificate-module_names_for_certificate", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, { "allow_in_quick_entry": 0, "allow_on_submit": 0, @@ -137,6 +1151,7 @@ "is_virtual": 0, "label": "User Category", "length": 0, + "link_filters": null, "mandatory_depends_on": null, "modified": "2022-04-19 13:02:18.219510", "module": "LMS", @@ -154,6 +1169,8 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, "translatable": 1, "unique": 0, "width": null @@ -170,12 +1187,12 @@ "description": null, "docstatus": 0, "doctype": "Custom Field", - "dt": "User", + "dt": "LMS Certificate", "fetch_from": null, "fetch_if_empty": 0, - "fieldname": "college", - "fieldtype": "Data", - "hidden": 0, + "fieldname": "training_batch", + "fieldtype": "Link", + "hidden": 1, "hide_border": 0, "hide_days": 0, "hide_seconds": 0, @@ -185,548 +1202,19 @@ "in_list_view": 0, "in_preview": 0, "in_standard_filter": 0, - "insert_after": "desk_theme", - "is_system_generated": 1, - "is_virtual": 0, - "label": "College Name", - "length": 0, - "mandatory_depends_on": null, - "modified": "2022-01-12 16:37:25.418147", - "module": null, - "name": "User-college", - "no_copy": 0, - "non_negative": 0, - "options": null, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "print_width": null, - "read_only": 0, - "read_only_depends_on": null, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "translatable": 1, - "unique": 0, - "width": null - }, - { - "allow_in_quick_entry": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "collapsible_depends_on": null, - "columns": 0, - "default": null, - "depends_on": null, - "description": null, - "docstatus": 0, - "doctype": "Custom Field", - "dt": "User", - "fetch_from": null, - "fetch_if_empty": 0, - "fieldname": "branch", - "fieldtype": "Data", - "hidden": 0, - "hide_border": 0, - "hide_days": 0, - "hide_seconds": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_global_search": 0, - "in_list_view": 0, - "in_preview": 0, - "in_standard_filter": 0, - "insert_after": "college", - "is_system_generated": 1, - "is_virtual": 0, - "label": "Branch", - "length": 0, - "mandatory_depends_on": null, - "modified": "2021-12-31 14:46:55.834145", - "module": null, - "name": "User-branch", - "no_copy": 0, - "non_negative": 0, - "options": null, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "print_width": null, - "read_only": 0, - "read_only_depends_on": null, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "translatable": 1, - "unique": 0, - "width": null - }, - { - "allow_in_quick_entry": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "collapsible_depends_on": null, - "columns": 0, - "default": null, - "depends_on": null, - "description": null, - "docstatus": 0, - "doctype": "Custom Field", - "dt": "User", - "fetch_from": null, - "fetch_if_empty": 0, - "fieldname": "headline", - "fieldtype": "Data", - "hidden": 0, - "hide_border": 0, - "hide_days": 0, - "hide_seconds": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_global_search": 0, - "in_list_view": 0, - "in_preview": 0, - "in_standard_filter": 0, - "insert_after": "mute_sounds", - "is_system_generated": 1, - "is_virtual": 0, - "label": "Headline", - "length": 0, - "mandatory_depends_on": null, - "modified": "2022-02-23 17:37:11.025946", - "module": "", - "name": "User-headline", - "no_copy": 0, - "non_negative": 0, - "options": null, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "print_width": null, - "read_only": 0, - "read_only_depends_on": null, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "translatable": 1, - "unique": 0, - "width": null - }, - { - "allow_in_quick_entry": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "collapsible_depends_on": null, - "columns": 0, - "default": null, - "depends_on": null, - "description": null, - "docstatus": 0, - "doctype": "Custom Field", - "dt": "User", - "fetch_from": null, - "fetch_if_empty": 0, - "fieldname": "city", - "fieldtype": "Data", - "hidden": 0, - "hide_border": 0, - "hide_days": 0, - "hide_seconds": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_global_search": 0, - "in_list_view": 0, - "in_preview": 0, - "in_standard_filter": 0, - "insert_after": "headline", - "is_system_generated": 1, - "is_virtual": 0, - "label": "City", - "length": 0, - "mandatory_depends_on": null, - "modified": "2022-01-12 16:37:13.419068", - "module": null, - "name": "User-city", - "no_copy": 0, - "non_negative": 0, - "options": null, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "print_width": null, - "read_only": 0, - "read_only_depends_on": null, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "translatable": 1, - "unique": 0, - "width": null - }, - { - "allow_in_quick_entry": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "collapsible_depends_on": null, - "columns": 0, - "default": null, - "depends_on": null, - "description": null, - "docstatus": 0, - "doctype": "Custom Field", - "dt": "User", - "fetch_from": null, - "fetch_if_empty": 0, - "fieldname": "linkedin", - "fieldtype": "Data", - "hidden": 0, - "hide_border": 0, - "hide_days": 0, - "hide_seconds": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_global_search": 0, - "in_list_view": 0, - "in_preview": 0, - "in_standard_filter": 0, - "insert_after": "mobile_no", - "is_system_generated": 1, - "is_virtual": 0, - "label": "LinkedIn ID", - "length": 0, - "mandatory_depends_on": null, - "modified": "2021-12-31 14:46:55.834145", - "module": null, - "name": "User-linkedin", - "no_copy": 0, - "non_negative": 0, - "options": null, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "print_width": null, - "read_only": 0, - "read_only_depends_on": null, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "translatable": 1, - "unique": 0, - "width": null - }, - { - "allow_in_quick_entry": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "collapsible_depends_on": null, - "columns": 0, - "default": null, - "depends_on": null, - "description": null, - "docstatus": 0, - "doctype": "Custom Field", - "dt": "User", - "fetch_from": null, - "fetch_if_empty": 0, - "fieldname": "github", - "fieldtype": "Data", - "hidden": 0, - "hide_border": 0, - "hide_days": 0, - "hide_seconds": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_global_search": 0, - "in_list_view": 0, - "in_preview": 0, - "in_standard_filter": 0, - "insert_after": "linkedin", - "is_system_generated": 1, - "is_virtual": 0, - "label": "Github ID", - "length": 0, - "mandatory_depends_on": null, - "modified": "2021-12-31 14:46:55.834145", - "module": null, - "name": "User-github", - "no_copy": 0, - "non_negative": 0, - "options": null, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "print_width": null, - "read_only": 0, - "read_only_depends_on": null, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "translatable": 1, - "unique": 0, - "width": null - }, - { - "allow_in_quick_entry": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "collapsible_depends_on": null, - "columns": 0, - "default": null, - "depends_on": null, - "description": null, - "docstatus": 0, - "doctype": "Custom Field", - "dt": "User", - "fetch_from": null, - "fetch_if_empty": 0, - "fieldname": "medium", - "fieldtype": "Data", - "hidden": 0, - "hide_border": 0, - "hide_days": 0, - "hide_seconds": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_global_search": 0, - "in_list_view": 0, - "in_preview": 0, - "in_standard_filter": 0, - "insert_after": "github", - "is_system_generated": 1, - "is_virtual": 0, - "label": "Medium ID", - "length": 0, - "mandatory_depends_on": null, - "modified": "2021-12-31 14:46:55.834145", - "module": null, - "name": "User-medium", - "no_copy": 0, - "non_negative": 0, - "options": null, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "print_width": null, - "read_only": 0, - "read_only_depends_on": null, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "translatable": 1, - "unique": 0, - "width": null - }, - { - "allow_in_quick_entry": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "collapsible_depends_on": null, - "columns": 0, - "default": null, - "depends_on": null, - "description": null, - "docstatus": 0, - "doctype": "Custom Field", - "dt": "User", - "fetch_from": null, - "fetch_if_empty": 0, - "fieldname": "profession", - "fieldtype": "Data", - "hidden": 0, - "hide_border": 0, - "hide_days": 0, - "hide_seconds": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_global_search": 0, - "in_list_view": 0, - "in_preview": 0, - "in_standard_filter": 0, - "insert_after": "medium", - "is_system_generated": 1, - "is_virtual": 0, - "label": "Profession", - "length": 0, - "mandatory_depends_on": null, - "modified": "2021-12-31 14:46:55.834145", - "module": null, - "name": "User-profession", - "no_copy": 0, - "non_negative": 0, - "options": null, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "print_width": null, - "read_only": 0, - "read_only_depends_on": null, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "translatable": 1, - "unique": 0, - "width": null - }, - { - "allow_in_quick_entry": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "collapsible_depends_on": null, - "columns": 0, - "default": null, - "depends_on": null, - "description": null, - "docstatus": 0, - "doctype": "Custom Field", - "dt": "User", - "fetch_from": null, - "fetch_if_empty": 0, - "fieldname": "education_details", - "fieldtype": "Section Break", - "hidden": 0, - "hide_border": 0, - "hide_days": 0, - "hide_seconds": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_global_search": 0, - "in_list_view": 0, - "in_preview": 0, - "in_standard_filter": 0, - "insert_after": "hide_private", - "is_system_generated": 1, - "is_virtual": 0, - "label": "Education Details", - "length": 0, - "mandatory_depends_on": null, - "modified": "2021-12-31 11:57:55.170620", - "module": null, - "name": "User-education_details", - "no_copy": 0, - "non_negative": 0, - "options": null, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "print_width": null, - "read_only": 0, - "read_only_depends_on": null, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "translatable": 0, - "unique": 0, - "width": null - }, - { - "allow_in_quick_entry": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "collapsible_depends_on": null, - "columns": 0, - "default": null, - "depends_on": null, - "description": "", - "docstatus": 0, - "doctype": "Custom Field", - "dt": "User", - "fetch_from": null, - "fetch_if_empty": 0, - "fieldname": "profile_complete", - "fieldtype": "Check", - "hidden": 0, - "hide_border": 0, - "hide_days": 0, - "hide_seconds": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_global_search": 0, - "in_list_view": 0, - "in_preview": 0, - "in_standard_filter": 0, - "insert_after": "bio", - "is_system_generated": 1, - "is_virtual": 0, - "label": "Profile Complete", - "length": 0, - "mandatory_depends_on": null, - "modified": "2021-12-31 11:00:13.792809", - "module": null, - "name": "User-profile_complete", - "no_copy": 0, - "non_negative": 0, - "options": null, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "print_width": null, - "read_only": 0, - "read_only_depends_on": null, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "translatable": 0, - "unique": 0, - "width": null - }, - { - "allow_in_quick_entry": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "collapsible_depends_on": null, - "columns": 0, - "default": null, - "depends_on": null, - "description": "Private Information includes your Grade and Work Environment Preferences", - "docstatus": 0, - "doctype": "Custom Field", - "dt": "User", - "fetch_from": null, - "fetch_if_empty": 0, - "fieldname": "hide_private", - "fieldtype": "Check", - "hidden": 0, - "hide_border": 0, - "hide_days": 0, - "hide_seconds": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_global_search": 0, - "in_list_view": 0, - "in_preview": 0, - "in_standard_filter": 0, - "insert_after": "profession", + "insert_after": "module_names_for_certificate", "is_system_generated": 0, "is_virtual": 0, - "label": "Hide my Private Information from others", + "label": "Training Batch", "length": 0, + "link_filters": null, "mandatory_depends_on": null, - "modified": "2021-12-31 11:57:47.942969", + "modified": "2023-01-31 16:58:15.601358", "module": null, - "name": "User-hide_my_private_information_from_others", + "name": "LMS Certificate-training_batch", "no_copy": 0, "non_negative": 0, - "options": null, + "options": "Training Batch", "permlevel": 0, "precision": "", "print_hide": 0, @@ -737,6 +1225,8 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, "translatable": 0, "unique": 0, "width": null @@ -773,6 +1263,7 @@ "is_virtual": 0, "label": "Cover Image", "length": 0, + "link_filters": null, "mandatory_depends_on": null, "modified": "2021-12-31 10:59:52.682115", "module": null, @@ -790,10 +1281,236 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, "translatable": 0, "unique": 0, "width": null }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "LMS Course", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "section_break_28", + "fieldtype": "Section Break", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "price_certificate", + "is_system_generated": 0, + "is_virtual": 0, + "label": "", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2022-04-13 17:45:40.472648", + "module": null, + "name": "LMS Course-section_break_28", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "LMS Course", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "bundle", + "fieldtype": "Check", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "section_break_28", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Bundle", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2022-04-13 17:45:40.816390", + "module": null, + "name": "LMS Course-bundle", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": "bundle", + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "LMS Course", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "bundle_courses", + "fieldtype": "Table MultiSelect", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "bundle", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Bundle Courses", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2022-04-13 17:46:46.194336", + "module": null, + "name": "LMS Course-bundle_courses", + "no_copy": 0, + "non_negative": 0, + "options": "Bundle Component", + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": "bundle", + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "LMS Course", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "module_names_for_certificate", + "fieldtype": "Data", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "bundle_courses", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Module Names for Certificate", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2022-05-11 16:08:52.987832", + "module": null, + "name": "LMS Course-module_names_for_certificate", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, { "allow_in_quick_entry": 0, "allow_on_submit": 0, @@ -826,6 +1543,7 @@ "is_virtual": 0, "label": "I am looking for a job", "length": 0, + "link_filters": null, "mandatory_depends_on": null, "modified": "2021-12-31 12:56:32.110405", "module": null, @@ -843,10 +1561,684 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, "translatable": 0, "unique": 0, "width": null }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "LMS Course", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "certification_resource", + "fieldtype": "Section Break", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "module_names_for_certificate", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Certification Resource", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2022-04-28 14:39:25.096077", + "module": null, + "name": "LMS Course-certification_resource", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "LMS Course", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "help_article_", + "fieldtype": "Link", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "certification_resource", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Help Article ", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2022-04-28 14:39:25.523782", + "module": null, + "name": "LMS Course-help_article_", + "no_copy": 0, + "non_negative": 0, + "options": "Help Article", + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": "", + "docstatus": 0, + "doctype": "Custom Field", + "dt": "User", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "profile_complete", + "fieldtype": "Check", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "bio", + "is_system_generated": 1, + "is_virtual": 0, + "label": "Profile Complete", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2021-12-31 11:00:13.792809", + "module": null, + "name": "User-profile_complete", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "User", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "linkedin", + "fieldtype": "Data", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "mobile_no", + "is_system_generated": 1, + "is_virtual": 0, + "label": "LinkedIn ID", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2021-12-31 14:46:55.834145", + "module": null, + "name": "User-linkedin", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "User", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "github", + "fieldtype": "Data", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "linkedin", + "is_system_generated": 1, + "is_virtual": 0, + "label": "Github ID", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2021-12-31 14:46:55.834145", + "module": null, + "name": "User-github", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "User", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "medium", + "fieldtype": "Data", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "github", + "is_system_generated": 1, + "is_virtual": 0, + "label": "Medium ID", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2021-12-31 14:46:55.834145", + "module": null, + "name": "User-medium", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "Web Form", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "payments_tab", + "fieldtype": "Tab Break", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "custom_css", + "is_system_generated": 1, + "is_virtual": 0, + "label": "Payments", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2022-09-01 11:24:59.630388", + "module": null, + "name": "Web Form-payments_tab", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "User", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "profession", + "fieldtype": "Data", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "medium", + "is_system_generated": 1, + "is_virtual": 0, + "label": "Profession", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2021-12-31 14:46:55.834145", + "module": null, + "name": "User-profession", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": "Private Information includes your Grade and Work Environment Preferences", + "docstatus": 0, + "doctype": "Custom Field", + "dt": "User", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "hide_private", + "fieldtype": "Check", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "profession", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Hide my Private Information from others", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2021-12-31 11:57:47.942969", + "module": null, + "name": "User-hide_my_private_information_from_others", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": "accept_payment", + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "Web Form", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "payment_gateway", + "fieldtype": "Link", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "accept_payment", + "is_system_generated": 1, + "is_virtual": 0, + "label": "Payment Gateway", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2022-09-01 11:24:59.885658", + "module": null, + "name": "Web Form-payment_gateway", + "no_copy": 0, + "non_negative": 0, + "options": "Payment Gateway", + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "User", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "education_details", + "fieldtype": "Section Break", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "hide_private", + "is_system_generated": 1, + "is_virtual": 0, + "label": "Education Details", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2021-12-31 11:57:55.170620", + "module": null, + "name": "User-education_details", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": "Buy Now", + "depends_on": "accept_payment", + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "Web Form", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "payment_button_label", + "fieldtype": "Data", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "payment_gateway", + "is_system_generated": 1, + "is_virtual": 0, + "label": "Button Label", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2022-09-01 11:24:59.990882", + "module": null, + "name": "Web Form-payment_button_label", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, { "allow_in_quick_entry": 0, "allow_on_submit": 0, @@ -879,6 +2271,7 @@ "is_virtual": 0, "label": "Education", "length": 0, + "link_filters": null, "mandatory_depends_on": null, "modified": "2021-12-31 11:58:56.052663", "module": null, @@ -896,10 +2289,68 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, "translatable": 0, "unique": 0, "width": null }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": "accept_payment", + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "Web Form", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "payment_button_help", + "fieldtype": "Text", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "payment_button_label", + "is_system_generated": 1, + "is_virtual": 0, + "label": "Button Help", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2022-09-01 11:25:00.103442", + "module": null, + "name": "Web Form-payment_button_help", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, { "allow_in_quick_entry": 0, "allow_on_submit": 0, @@ -932,6 +2383,7 @@ "is_virtual": 0, "label": "Work Experience Details", "length": 0, + "link_filters": null, "mandatory_depends_on": null, "modified": "2021-12-31 11:56:29.466560", "module": null, @@ -949,6 +2401,64 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "Web Form", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "payments_cb", + "fieldtype": "Column Break", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "payment_button_help", + "is_system_generated": 1, + "is_virtual": 0, + "label": null, + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2022-09-01 11:25:00.227676", + "module": null, + "name": "Web Form-payments_cb", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, "translatable": 0, "unique": 0, "width": null @@ -985,6 +2495,7 @@ "is_virtual": 0, "label": "Work Experience", "length": 0, + "link_filters": null, "mandatory_depends_on": null, "modified": "2021-12-31 11:58:43.329371", "module": null, @@ -1002,6 +2513,64 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": "0", + "depends_on": "accept_payment", + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "Web Form", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "amount_based_on_field", + "fieldtype": "Check", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "payments_cb", + "is_system_generated": 1, + "is_virtual": 0, + "label": "Amount Based On Field", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2022-09-01 11:25:00.329108", + "module": null, + "name": "Web Form-amount_based_on_field", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, "translatable": 0, "unique": 0, "width": null @@ -1038,6 +2607,7 @@ "is_virtual": 0, "label": "Volunteering or Internship", "length": 0, + "link_filters": null, "mandatory_depends_on": null, "modified": "2021-12-31 14:58:04.285835", "module": null, @@ -1055,10 +2625,68 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, "translatable": 0, "unique": 0, "width": null }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": "eval:doc.accept_payment && doc.amount_based_on_field", + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "Web Form", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "amount_field", + "fieldtype": "Select", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "amount_based_on_field", + "is_system_generated": 1, + "is_virtual": 0, + "label": "Amount Field", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2022-09-01 11:25:00.433657", + "module": null, + "name": "Web Form-amount_field", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, { "allow_in_quick_entry": 0, "allow_on_submit": 0, @@ -1091,6 +2719,7 @@ "is_virtual": 0, "label": "Certification Details", "length": 0, + "link_filters": null, "mandatory_depends_on": null, "modified": "2021-12-31 14:58:29.975380", "module": null, @@ -1108,6 +2737,64 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": "eval:doc.accept_payment && !doc.amount_based_on_field", + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "Web Form", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "amount", + "fieldtype": "Currency", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "amount_field", + "is_system_generated": 1, + "is_virtual": 0, + "label": "Amount", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2022-09-01 11:25:00.534871", + "module": null, + "name": "Web Form-amount", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, "translatable": 0, "unique": 0, "width": null @@ -1144,6 +2831,7 @@ "is_virtual": 0, "label": "Certification", "length": 0, + "link_filters": null, "mandatory_depends_on": null, "modified": "2021-12-31 11:59:54.850517", "module": null, @@ -1161,6 +2849,64 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": "accept_payment", + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "Web Form", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "currency", + "fieldtype": "Link", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "amount", + "is_system_generated": 1, + "is_virtual": 0, + "label": "Currency", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2022-09-01 11:25:00.652959", + "module": null, + "name": "Web Form-currency", + "no_copy": 0, + "non_negative": 0, + "options": "Currency", + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, "translatable": 0, "unique": 0, "width": null @@ -1197,6 +2943,7 @@ "is_virtual": 0, "label": "Skill Details", "length": 0, + "link_filters": null, "mandatory_depends_on": null, "modified": "2021-12-31 12:01:29.335323", "module": null, @@ -1214,6 +2961,8 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, "translatable": 0, "unique": 0, "width": null @@ -1250,6 +2999,7 @@ "is_virtual": 0, "label": "Skill", "length": 0, + "link_filters": null, "mandatory_depends_on": null, "modified": "2021-12-31 15:32:13.944672", "module": null, @@ -1267,6 +3017,8 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, "translatable": 0, "unique": 0, "width": null @@ -1303,6 +3055,7 @@ "is_virtual": 0, "label": "Career Preference Details", "length": 0, + "link_filters": null, "mandatory_depends_on": null, "modified": "2021-12-31 15:35:50.764368", "module": null, @@ -1320,6 +3073,8 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, "translatable": 0, "unique": 0, "width": null @@ -1356,6 +3111,7 @@ "is_virtual": 0, "label": "Preferred Functions", "length": 0, + "link_filters": null, "mandatory_depends_on": null, "modified": "2021-12-31 17:12:36.454519", "module": null, @@ -1373,6 +3129,8 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, "translatable": 0, "unique": 0, "width": null @@ -1409,6 +3167,7 @@ "is_virtual": 0, "label": "Preferred Location", "length": 0, + "link_filters": null, "mandatory_depends_on": null, "modified": "2021-12-31 17:12:40.105066", "module": null, @@ -1426,6 +3185,8 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, "translatable": 0, "unique": 0, "width": null @@ -1462,6 +3223,7 @@ "is_virtual": 0, "label": "", "length": 0, + "link_filters": null, "mandatory_depends_on": null, "modified": "2021-12-31 12:47:32.673594", "module": null, @@ -1479,6 +3241,8 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, "translatable": 0, "unique": 0, "width": null @@ -1515,6 +3279,7 @@ "is_virtual": 0, "label": "Preferred Industries", "length": 0, + "link_filters": null, "mandatory_depends_on": null, "modified": "2021-12-31 17:12:31.604282", "module": null, @@ -1532,6 +3297,8 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, "translatable": 0, "unique": 0, "width": null @@ -1568,6 +3335,7 @@ "is_virtual": 0, "label": "Dream Companies", "length": 0, + "link_filters": null, "mandatory_depends_on": null, "modified": "2021-12-31 12:49:19.295124", "module": null, @@ -1585,6 +3353,8 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, "translatable": 0, "unique": 0, "width": null @@ -1621,6 +3391,7 @@ "is_virtual": 0, "label": "Work Environment", "length": 0, + "link_filters": null, "mandatory_depends_on": null, "modified": "2021-12-31 12:49:46.685634", "module": null, @@ -1638,6 +3409,8 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, "translatable": 0, "unique": 0, "width": null @@ -1674,6 +3447,7 @@ "is_virtual": 0, "label": "Attire Preference", "length": 0, + "link_filters": null, "mandatory_depends_on": null, "modified": "2021-12-31 12:03:02.296214", "module": null, @@ -1691,6 +3465,8 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, "translatable": 0, "unique": 0, "width": null @@ -1727,6 +3503,7 @@ "is_virtual": 0, "label": "Collaboration Preference", "length": 0, + "link_filters": null, "mandatory_depends_on": null, "modified": "2021-12-31 12:02:49.680208", "module": null, @@ -1744,6 +3521,8 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, "translatable": 0, "unique": 0, "width": null @@ -1780,6 +3559,7 @@ "is_virtual": 0, "label": "Role Preference", "length": 0, + "link_filters": null, "mandatory_depends_on": null, "modified": "2021-12-31 16:10:37.349479", "module": null, @@ -1797,6 +3577,8 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, "translatable": 0, "unique": 0, "width": null @@ -1833,6 +3615,7 @@ "is_virtual": 0, "label": "", "length": 0, + "link_filters": null, "mandatory_depends_on": null, "modified": "2021-12-31 16:45:46.776903", "module": null, @@ -1850,6 +3633,8 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, "translatable": 0, "unique": 0, "width": null @@ -1886,6 +3671,7 @@ "is_virtual": 0, "label": "Location Preference", "length": 0, + "link_filters": null, "mandatory_depends_on": null, "modified": "2021-12-31 12:02:04.328536", "module": null, @@ -1903,6 +3689,8 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, "translatable": 0, "unique": 0, "width": null @@ -1939,6 +3727,7 @@ "is_virtual": 0, "label": "Time Preference", "length": 0, + "link_filters": null, "mandatory_depends_on": null, "modified": "2021-12-31 16:16:37.885306", "module": null, @@ -1956,6 +3745,8 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, "translatable": 0, "unique": 0, "width": null @@ -1992,6 +3783,7 @@ "is_virtual": 0, "label": "Company Type", "length": 0, + "link_filters": null, "mandatory_depends_on": null, "modified": "2021-12-31 12:01:41.342622", "module": null, @@ -2009,8 +3801,234 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, "translatable": 0, "unique": 0, "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "User", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "headline", + "fieldtype": "Data", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "mute_sounds", + "is_system_generated": 1, + "is_virtual": 0, + "label": "Headline", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2022-02-23 17:37:11.025946", + "module": "", + "name": "User-headline", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "User", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "city", + "fieldtype": "Data", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "headline", + "is_system_generated": 1, + "is_virtual": 0, + "label": "City", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2022-01-12 16:37:13.419068", + "module": null, + "name": "User-city", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "User", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "college", + "fieldtype": "Data", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "desk_theme", + "is_system_generated": 1, + "is_virtual": 0, + "label": "College Name", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2022-01-12 16:37:25.418147", + "module": null, + "name": "User-college", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "User", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "branch", + "fieldtype": "Data", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "college", + "is_system_generated": 1, + "is_virtual": 0, + "label": "Branch", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2021-12-31 14:46:55.834145", + "module": null, + "name": "User-branch", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 1, + "unique": 0, + "width": null } -] +] \ No newline at end of file diff --git a/lms/fixtures/lms_badge.json b/lms/fixtures/lms_badge.json new file mode 100644 index 00000000..836e07e4 --- /dev/null +++ b/lms/fixtures/lms_badge.json @@ -0,0 +1,50 @@ +[ + { + "condition": "{\n \"parent\": \"CLS-03050\"\n}", + "description": "You have successfully completed the VueJs + Frappe UI training.", + "docstatus": 0, + "doctype": "LMS Badge", + "enabled": 0, + "event": "Auto Assign", + "field_to_check": null, + "grant_only_once": 1, + "image": "/files/images.jpeg", + "modified": "2024-05-14 12:56:05.031313", + "name": "Batch Completion", + "reference_doctype": "Batch Student", + "title": "Batch Completion", + "user_field": "student" + }, + { + "condition": "doc.progress == float(\"100.0\")", + "description": "You have completed your first course 👏", + "docstatus": 0, + "doctype": "LMS Badge", + "enabled": 0, + "event": "Value Change", + "field_to_check": "progress", + "grant_only_once": 1, + "image": "/files/icon_badge-04.png", + "modified": "2024-05-14 12:56:15.469656", + "name": "Course Completion", + "reference_doctype": "LMS Enrollment", + "title": "Course Completion", + "user_field": "member" + }, + { + "condition": "doc.percentage == 100", + "description": "Congratulations on getting a 100% score on a quiz.", + "docstatus": 0, + "doctype": "LMS Badge", + "enabled": 0, + "event": "New", + "field_to_check": null, + "grant_only_once": 1, + "image": "/files/curiosity-badge-removebg-preview.png", + "modified": "2024-05-14 12:56:22.907584", + "name": "Quiz Completion", + "reference_doctype": "LMS Quiz Submission", + "title": "Quiz Completion", + "user_field": "member" + } +] \ No newline at end of file diff --git a/lms/hooks.py b/lms/hooks.py index 0bb32c40..4ff9b750 100644 --- a/lms/hooks.py +++ b/lms/hooks.py @@ -97,6 +97,11 @@ override_doctype_class = { # Hook on document methods and events doc_events = { + "*": { + "on_change": [ + "lms.lms.doctype.lms_badge.lms_badge.process_badges", + ] + }, "Discussion Reply": {"after_insert": "lms.lms.utils.handle_notifications"}, } @@ -108,7 +113,7 @@ scheduler_events = { ] } -fixtures = ["Custom Field", "Function", "Industry"] +fixtures = ["Custom Field", "Function", "Industry", "LMS Badge"] # Testing # ------- diff --git a/lms/lms/doctype/course_lesson/course_lesson.py b/lms/lms/doctype/course_lesson/course_lesson.py index de50991f..0f62e8ce 100644 --- a/lms/lms/doctype/course_lesson/course_lesson.py +++ b/lms/lms/doctype/course_lesson/course_lesson.py @@ -115,12 +115,9 @@ def save_progress(lesson, course): ).save(ignore_permissions=True) progress = get_course_progress(course) - print(membership) + frappe.db.set_value("LMS Enrollment", membership, "progress", progress) enrollment = frappe.get_doc("LMS Enrollment", membership) - print(enrollment.progress) - print(progress) - enrollment.progress = progress - enrollment.save(ignore_permissions=True) + enrollment.run_method("on_change") return progress diff --git a/lms/lms/doctype/lms_badge/lms_badge.js b/lms/lms/doctype/lms_badge/lms_badge.js index 5869b81b..dac91f30 100644 --- a/lms/lms/doctype/lms_badge/lms_badge.js +++ b/lms/lms/doctype/lms_badge/lms_badge.js @@ -3,13 +3,17 @@ frappe.ui.form.on("LMS Badge", { refresh: (frm) => { - frm.events.set_fields_to_check(frm); + frm.events.set_field_options(frm); + + if (frm.doc.event == "Auto Assign") { + add_assign_button(frm); + } }, reference_doctype: (frm) => { - frm.events.set_fields_to_check(frm); + frm.events.set_field_options(frm); }, - set_fields_to_check: (frm) => { + set_field_options: (frm) => { const reference_doctype = frm.doc.reference_doctype; if (!reference_doctype) return; @@ -23,7 +27,37 @@ frappe.ui.form.on("LMS Badge", { .filter(frappe.model.is_value_type); const fields_to_check = fields.map(map_for_options); + + const user_fields = fields + .filter( + (df) => + (df.fieldtype === "Link" && df.options === "User") || + df.fieldtype === "Data" + ) + .map(map_for_options) + .concat([ + { label: __("Owner"), value: "owner" }, + { label: __("Modified By"), value: "modified_by" }, + ]); + frm.set_df_property("field_to_check", "options", fields_to_check); + frm.set_df_property("user_field", "options", user_fields); }); }, }); + +const add_assign_button = (frm) => { + frm.add_custom_button(__("Assign"), function () { + frappe.call({ + method: "lms.lms.doctype.lms_badge.lms_badge.assign_badge", + args: { + badge: frm.doc, + }, + callback: function (r) { + if (r.message) { + frappe.msgprint(r.message); + } + }, + }); + }); +}; diff --git a/lms/lms/doctype/lms_badge/lms_badge.json b/lms/lms/doctype/lms_badge/lms_badge.json index 49d5f58c..d2e974d3 100644 --- a/lms/lms/doctype/lms_badge/lms_badge.json +++ b/lms/lms/doctype/lms_badge/lms_badge.json @@ -10,10 +10,11 @@ "title", "description", "image", - "reference_doctype", "column_break_wgum", "grant_only_once", "event", + "reference_doctype", + "user_field", "field_to_check", "condition" ], @@ -50,13 +51,14 @@ "fieldtype": "Select", "in_list_view": 1, "label": "Event", - "options": "New\nValue Change", + "options": "New\nValue Change\nAuto Assign", "reqd": 1 }, { "fieldname": "condition", "fieldtype": "Code", - "label": "Condition" + "label": "Condition", + "mandatory_depends_on": "eval:doc.event == \"Auto Assign\"" }, { "depends_on": "eval:doc.event == 'Value Change'", @@ -71,17 +73,22 @@ "label": "Grant only once" }, { - "default": "0", + "default": "1", "fieldname": "enabled", "fieldtype": "Check", - "label": "Enabled", - "options": "1" + "label": "Enabled" }, { "fieldname": "description", "fieldtype": "Small Text", "label": "Description", "reqd": 1 + }, + { + "fieldname": "user_field", + "fieldtype": "Select", + "label": "User Field", + "reqd": 1 } ], "index_web_pages_for_search": 1, @@ -91,7 +98,7 @@ "link_fieldname": "badge" } ], - "modified": "2024-05-02 14:23:32.198858", + "modified": "2024-05-14 14:46:13.644382", "modified_by": "Administrator", "module": "LMS", "name": "LMS Badge", @@ -114,5 +121,6 @@ "sort_field": "creation", "sort_order": "DESC", "states": [], - "title_field": "title" + "title_field": "title", + "track_changes": 1 } \ No newline at end of file diff --git a/lms/lms/doctype/lms_badge/lms_badge.py b/lms/lms/doctype/lms_badge/lms_badge.py index 30ad7c03..797ef678 100644 --- a/lms/lms/doctype/lms_badge/lms_badge.py +++ b/lms/lms/doctype/lms_badge/lms_badge.py @@ -2,17 +2,33 @@ # For license information, please see license.txt import frappe +import json from frappe.model.document import Document class LMSBadge(Document): + def on_update(self): + if self.event == "Auto Assign" and self.condition: + try: + json.loads(self.condition) + except ValueError: + frappe.throw("Condition must be in valid JSON format.") + elif self.condition: + try: + compile(self.condition, "", "eval") + except Exception: + frappe.throw("Condition must be valid python code.") + def apply(self, doc): if self.rule_condition_satisfied(doc): - self.award(doc) + award(self, doc.get(self.user_field)) def rule_condition_satisfied(self, doc): doc_before_save = doc.get_doc_before_save() + if self.event == "Manual Assignment": + return False + if self.event == "New" and doc_before_save != None: return False @@ -20,39 +36,49 @@ class LMSBadge(Document): field_to_check = self.field_to_check if not field_to_check: return False - print(doc_before_save.get(field_to_check), doc.get(field_to_check)) - if doc_before_save and doc_before_save.get(field_to_check) == doc.get( - field_to_check - ): - return False if self.condition: - return self.eval_condition(doc) + return eval_condition(doc, self.condition) return False - def award(self, doc): - if self.grant_only_once: - if frappe.db.exists( - "LMS Badge Assignment", - {"badge": self.name, "member": frappe.session.user}, - ): - return - assignment = frappe.new_doc("LMS Badge Assignment") - assignment.update( - { - "badge": self.name, - "member": frappe.session.user, - "issued_on": frappe.utils.now(), - } - ) - assignment.save() +def award(doc, member): + if doc.grant_only_once: + if frappe.db.exists( + "LMS Badge Assignment", + {"badge": doc.name, "member": member}, + ): + return - def eval_condition(self, doc): - return self.condition and frappe.safe_eval( - self.condition, None, {"doc": doc.as_dict()} - ) + assignment = frappe.new_doc("LMS Badge Assignment") + assignment.update( + { + "badge": doc.name, + "member": member, + "issued_on": frappe.utils.now(), + } + ) + assignment.save() + + +def eval_condition(doc, condition): + return condition and frappe.safe_eval(condition, None, {"doc": doc.as_dict()}) + + +@frappe.whitelist() +def assign_badge(badge): + badge = frappe._dict(json.loads(badge)) + if not badge.event == "Auto Assign": + return + + fields = ["name"] + print(badge.user_field) + fields.append(badge.user_field) + list = frappe.get_all(badge.reference_doctype, filters=badge.condition, fields=fields) + print(list) + for doc in list: + award(badge, doc.get(badge.user_field)) def process_badges(doc, state): diff --git a/lms/lms/doctype/lms_badge_assignment/lms_badge_assignment.json b/lms/lms/doctype/lms_badge_assignment/lms_badge_assignment.json index f062c1f0..78e4eae9 100644 --- a/lms/lms/doctype/lms_badge_assignment/lms_badge_assignment.json +++ b/lms/lms/doctype/lms_badge_assignment/lms_badge_assignment.json @@ -61,7 +61,7 @@ ], "index_web_pages_for_search": 1, "links": [], - "modified": "2024-05-08 14:18:39.455213", + "modified": "2024-05-13 20:16:00.191517", "modified_by": "Administrator", "module": "LMS", "name": "LMS Badge Assignment", diff --git a/lms/lms/doctype/lms_batch/lms_batch.json b/lms/lms/doctype/lms_batch/lms_batch.json index 925ac2a0..e6eaec58 100644 --- a/lms/lms/doctype/lms_batch/lms_batch.json +++ b/lms/lms/doctype/lms_batch/lms_batch.json @@ -1,5 +1,6 @@ { "actions": [], + "allow_import": 1, "allow_rename": 1, "autoname": "format: CLS-{#####}", "creation": "2022-11-09 16:14:05.876933", @@ -304,7 +305,7 @@ ], "index_web_pages_for_search": 1, "links": [], - "modified": "2024-04-17 10:35:21.957961", + "modified": "2024-05-14 14:47:48.839162", "modified_by": "Administrator", "module": "LMS", "name": "LMS Batch", @@ -352,5 +353,6 @@ "sort_field": "modified", "sort_order": "DESC", "states": [], - "title_field": "title" + "title_field": "title", + "track_changes": 1 } \ No newline at end of file diff --git a/lms/lms/doctype/lms_certificate/lms_certificate.json b/lms/lms/doctype/lms_certificate/lms_certificate.json index 27d461cc..d3f6f8a1 100644 --- a/lms/lms/doctype/lms_certificate/lms_certificate.json +++ b/lms/lms/doctype/lms_certificate/lms_certificate.json @@ -1,5 +1,6 @@ { "actions": [], + "allow_import": 1, "creation": "2021-08-16 15:47:19.494055", "doctype": "DocType", "editable_grid": 1, @@ -87,7 +88,7 @@ ], "index_web_pages_for_search": 1, "links": [], - "modified": "2024-04-09 13:42:18.350028", + "modified": "2024-05-14 14:48:31.650107", "modified_by": "Administrator", "module": "LMS", "name": "LMS Certificate", @@ -116,6 +117,15 @@ "role": "Moderator", "share": 1, "write": 1 + }, + { + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "LMS Student", + "share": 1 } ], "sort_field": "modified", diff --git a/lms/lms/doctype/lms_enrollment/lms_enrollment.json b/lms/lms/doctype/lms_enrollment/lms_enrollment.json index cf781940..d33a0d12 100644 --- a/lms/lms/doctype/lms_enrollment/lms_enrollment.json +++ b/lms/lms/doctype/lms_enrollment/lms_enrollment.json @@ -1,13 +1,15 @@ { "actions": [], + "allow_import": 1, "creation": "2022-02-07 12:01:40.929633", "doctype": "DocType", "editable_grid": 1, "engine": "InnoDB", "field_order": [ "course", - "member_type", + "progress", "payment", + "current_lesson", "column_break_3", "member", "member_name", @@ -17,8 +19,7 @@ "subgroup", "batch_old", "column_break_12", - "current_lesson", - "progress", + "member_type", "role" ], "fields": [ @@ -113,7 +114,8 @@ }, { "fieldname": "section_break_8", - "fieldtype": "Section Break" + "fieldtype": "Section Break", + "hidden": 1 }, { "fieldname": "payment", @@ -124,7 +126,7 @@ ], "index_web_pages_for_search": 1, "links": [], - "modified": "2024-03-18 17:32:30.182301", + "modified": "2024-05-14 14:50:08.405033", "modified_by": "Administrator", "module": "LMS", "name": "LMS Enrollment", @@ -173,5 +175,6 @@ "sort_field": "modified", "sort_order": "DESC", "states": [], - "title_field": "member_name" + "title_field": "member_name", + "track_changes": 1 } \ No newline at end of file