From 95e90b17edcd05da7d42235296f83b42cfe6ea3a Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Fri, 5 Jan 2018 16:54:28 -0500 Subject: [PATCH] Working on the edit part for attendees Redoing the attendee list. Start for attendee edit form. --- .../admin/registrations/eventRegistrants.html | 106 ++++++++++++------ 1 file changed, 73 insertions(+), 33 deletions(-) diff --git a/views/admin/registrations/eventRegistrants.html b/views/admin/registrations/eventRegistrants.html index af9b1a5..58abe0f 100644 --- a/views/admin/registrations/eventRegistrants.html +++ b/views/admin/registrations/eventRegistrants.html @@ -4,6 +4,21 @@ {if $errorMsg}

{$errorMsg}

{/if} +

{$terms.reg_term_attendee_plur_cap} List

Export {$terms.reg_term_attendee_plur}
@@ -43,51 +58,65 @@ + - - - - - {if apply_filters('glm-members-customfields-plugin-active', false)} - - {/if} + {if $haveRegistrants} {foreach $registrants as $r} - - - - - - + + + - - {if apply_filters('glm-members-customfields-plugin-active', false)} - - {/if} + + + + - {if apply_filters('glm-members-customfields-plugin-active', false)} - - - - {/if} {/foreach} {else} @@ -194,10 +223,21 @@ jQuery(document).ready(function($){ $(this).prop('checked', false); }); }); - $('.glm-view-fields').click(function(e){ + $('.glm-edit').click(function(e){ + e.preventDefault(); + $('.glm-edit-form-' + $(this).data('registrant')).show(); + $('.glm-attendee-' + $(this).data('registrant')).hide(); + }); + $('.glm-cancel').click(function(e){ + e.preventDefault(); + $('.glm-edit-form-' + $(this).data('registrant')).hide(); + $('.glm-attendee-' + $(this).data('registrant')).show(); + }); + $('.glm-account').click(function(e){ + e.preventDefault(); + }); + $('.glm-detail').click(function(e){ e.preventDefault(); - var field_id = $(this).data('id'); - $( field_id ).toggle(); }); }); -- 2.17.1
NameCityStatePhone Level Date/Time Rate Status  
{$r.fname} {$r.lname}{$r.account.city}{$r.account.state.value}{$r.account.phone}
+ + {$r.fname} {$r.lname} + + + Edit {$terms.reg_term_attendee_cap} | + + + View Request | + + + View Account | + + + View Full Details + + {$r.class_name} {$r.event_time_reformatted} {$r.rate_name} {$r.request_status_name}RequestAdditional Fields
(no registrants listed)