fix: add user to exhibitor doctype
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"user",
|
||||
"event",
|
||||
"full_name",
|
||||
"company",
|
||||
"logo",
|
||||
@@ -14,9 +16,11 @@
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fetch_from": "user.full_name",
|
||||
"fieldname": "full_name",
|
||||
"fieldtype": "Data",
|
||||
"label": "Full Name"
|
||||
"label": "Full Name",
|
||||
"read_only": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "company",
|
||||
@@ -38,11 +42,25 @@
|
||||
"fieldname": "is_paid",
|
||||
"fieldtype": "Check",
|
||||
"label": "is_paid"
|
||||
},
|
||||
{
|
||||
"fieldname": "user",
|
||||
"fieldtype": "Link",
|
||||
"label": "User",
|
||||
"options": "User",
|
||||
"read_only": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "event",
|
||||
"fieldtype": "Link",
|
||||
"label": "Event",
|
||||
"options": "Event Details",
|
||||
"read_only": 1
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"links": [],
|
||||
"modified": "2021-08-20 13:38:07.709658",
|
||||
"modified": "2021-08-20 15:22:38.616972",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Event Management",
|
||||
"name": "Exhibitor",
|
||||
|
||||
@@ -19,14 +19,14 @@
|
||||
"is_standard": 1,
|
||||
"login_required": 1,
|
||||
"max_attachment_size": 0,
|
||||
"modified": "2021-08-19 22:05:16.609246",
|
||||
"modified": "2021-08-20 15:25:57.712882",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Event Management",
|
||||
"name": "exhibitor-registration",
|
||||
"owner": "Administrator",
|
||||
"payment_button_label": "Buy Now",
|
||||
"published": 1,
|
||||
"route": "event/conference2021/exhibitor-registration",
|
||||
"route": "exhibitor-registration",
|
||||
"route_to_success_link": 0,
|
||||
"show_attachments": 0,
|
||||
"show_in_grid": 0,
|
||||
@@ -35,6 +35,19 @@
|
||||
"success_url": "/exhibitor-registration",
|
||||
"title": "Exhibitor Registration",
|
||||
"web_form_fields": [
|
||||
{
|
||||
"allow_read_on_all_link_options": 0,
|
||||
"fieldname": "user",
|
||||
"fieldtype": "Link",
|
||||
"hidden": 0,
|
||||
"label": "User",
|
||||
"max_length": 0,
|
||||
"max_value": 0,
|
||||
"options": "User",
|
||||
"read_only": 0,
|
||||
"reqd": 0,
|
||||
"show_in_filter": 0
|
||||
},
|
||||
{
|
||||
"allow_read_on_all_link_options": 0,
|
||||
"fieldname": "full_name",
|
||||
|
||||
@@ -17,9 +17,8 @@
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{%- if cta_link -%}
|
||||
<div class="event-btn"><a href={{cta_link}} class="btn btn-primary ">Become an Exhibitor</a></div>
|
||||
{%- endif -%}
|
||||
<div class="event-btn"><a href="/exhibitor-registration/user={{ frappe.session.user }}&event={{ event_ }}" class="btn btn-primary ">Become an Exhibitor</a></div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -17,19 +17,12 @@
|
||||
"reqd": 0
|
||||
},
|
||||
{
|
||||
"__unsaved": 1,
|
||||
"fieldname": "event",
|
||||
"fieldtype": "Link",
|
||||
"label": "Event",
|
||||
"options": "Event Details",
|
||||
"reqd": 0
|
||||
},
|
||||
{
|
||||
"fieldname": "cta_link",
|
||||
"fieldtype": "Data",
|
||||
"label": "CTA Link",
|
||||
"reqd": 0
|
||||
},
|
||||
{
|
||||
"fieldname": "exhibitor_details",
|
||||
"fieldtype": "Table Break",
|
||||
@@ -45,7 +38,7 @@
|
||||
}
|
||||
],
|
||||
"idx": 1,
|
||||
"modified": "2021-08-18 10:05:11.753576",
|
||||
"modified": "2021-08-20 15:23:13.419285",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Event Management",
|
||||
"name": "Exhibitor Section",
|
||||
|
||||
@@ -20,6 +20,6 @@
|
||||
|
||||
</div>
|
||||
{%- if cta_link -%}
|
||||
<div class="event-btn"><a href='/speaker-registration?event={{ event_ }}&user={{ frappe.session.user }}' class="btn btn-primary ">Propose a Talk</a></div>
|
||||
<div class="event-btn"><a href='/speaker-registration?user={{ frappe.session.user }}&event={{ event_ }}' class="btn btn-primary ">Propose a Talk</a></div>
|
||||
{%- endif -%}
|
||||
</div>
|
||||
Reference in New Issue
Block a user