diff --git a/community/event_management/doctype/attendee_registration/attendee_registration.js b/community/event_management/doctype/attendee_registration/attendee_registration.js index e1b17c5a..7b934f0b 100644 --- a/community/event_management/doctype/attendee_registration/attendee_registration.js +++ b/community/event_management/doctype/attendee_registration/attendee_registration.js @@ -2,7 +2,13 @@ // For license information, please see license.txt frappe.ui.form.on('Attendee Registration', { - // refresh: function(frm) { - - // } + onload: function (frm) { + frm.set_query('user', function (doc) { + return { + filters: { + "ignore_user_type": 1, + } + }; + }); + } }); diff --git a/community/event_management/doctype/schedule/schedule.js b/community/event_management/doctype/schedule/schedule.js index 137c448d..61c1528a 100644 --- a/community/event_management/doctype/schedule/schedule.js +++ b/community/event_management/doctype/schedule/schedule.js @@ -2,7 +2,13 @@ // For license information, please see license.txt frappe.ui.form.on('Schedule', { - // refresh: function(frm) { - - // } + onload: function (frm) { + frm.set_query('talk', function (doc) { + return { + filters: { + "status": "Approved", + } + }; + }); + } }); diff --git a/community/event_management/doctype/speaker/speaker.js b/community/event_management/doctype/speaker/speaker.js index 1b1da984..8e32bd50 100644 --- a/community/event_management/doctype/speaker/speaker.js +++ b/community/event_management/doctype/speaker/speaker.js @@ -2,7 +2,13 @@ // For license information, please see license.txt frappe.ui.form.on('Speaker', { - // refresh: function(frm) { - - // } + onload: function (frm) { + frm.set_query('user', function (doc) { + return { + filters: { + "ignore_user_type": 1, + } + }; + }); + } }); diff --git a/community/event_management/doctype/talk/talk.json b/community/event_management/doctype/talk/talk.json index 8ed35d0c..9ecbbaab 100644 --- a/community/event_management/doctype/talk/talk.json +++ b/community/event_management/doctype/talk/talk.json @@ -7,13 +7,13 @@ "engine": "InnoDB", "field_order": [ "event", + "speaker", "topic", "title", "about", "attachment", "url", "thumbnail", - "speaker", "name_of_the_speaker", "status" ], @@ -51,7 +51,7 @@ }, { "fieldname": "about", - "fieldtype": "Data", + "fieldtype": "Text", "label": "About" }, { @@ -71,12 +71,12 @@ "fieldtype": "Select", "in_list_view": 1, "label": "Status", - "options": "Applied\nPending\nApproved\nRejected" + "options": "Applied\nPending\nApproved\nRejected\nPrevious Talk" } ], "index_web_pages_for_search": 1, "links": [], - "modified": "2021-08-19 15:20:07.750884", + "modified": "2021-08-19 16:44:58.181528", "modified_by": "Administrator", "module": "Event Management", "name": "Talk", diff --git a/community/event_management/web_template/previous_talk/previous_talk.html b/community/event_management/web_template/previous_talk/previous_talk.html index d49195df..729f9ed2 100644 --- a/community/event_management/web_template/previous_talk/previous_talk.html +++ b/community/event_management/web_template/previous_talk/previous_talk.html @@ -2,7 +2,7 @@
{{slot.about}}
+{{slot.about}}
-