From f93e50a29d24ca240c0918a38eba00ea2c7fe05c Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Wed, 13 Dec 2017 14:04:55 -0500 Subject: [PATCH] Misc bug fixes and appearance cleanup. --- .../front/registrations/checkoutProcess.php | 10 +++------ views/admin/registrations/eventDashboard.html | 6 +++--- .../registrations/requestsDashboard.html | 2 -- views/front/registrations/checkout.html | 6 +++--- views/front/registrations/summaryStore.html | 21 +++++++++++-------- 5 files changed, 21 insertions(+), 24 deletions(-) diff --git a/models/front/registrations/checkoutProcess.php b/models/front/registrations/checkoutProcess.php index 17ecfda..1ab3e73 100644 --- a/models/front/registrations/checkoutProcess.php +++ b/models/front/registrations/checkoutProcess.php @@ -240,7 +240,7 @@ class GlmMembersFront_registrations_checkoutProcess extends GlmRegCartSupport } -echo "Form Result:
".print_r($formResult,1)."
"; +// echo "Form Result:
".print_r($formResult,1)."
"; // Save the results in the cart event data $this->cart['events'][$eventKey]['customForm'] = $formResult; @@ -248,10 +248,10 @@ echo "Form Result:
".print_r($formResult,1)."
"; } } -echo "
".print_r($this->cart['events'],1)."
"; +// echo "
".print_r($this->cart['events'],1)."
"; -wp_die("KILLING WORDPRESS FOR TESTING IN checkoutProcess.php"); +// wp_die("KILLING WORDPRESS FOR TESTING IN checkoutProcess.php"); /* @@ -523,10 +523,6 @@ wp_die("KILLING WORDPRESS FOR TESTING IN checkoutProcess.php"); // If COMPLETE, save date, pay method, status, total if ($cartStatus == $this->config['submission_status_numb']['COMPLETE']) { - // Get the HTML cart summary - $summary = ''; -/*** NEED TO BUILD SUMMARY ***/ - $reqData = array_merge( $reqData, array( diff --git a/views/admin/registrations/eventDashboard.html b/views/admin/registrations/eventDashboard.html index 1e00caf..57246d8 100644 --- a/views/admin/registrations/eventDashboard.html +++ b/views/admin/registrations/eventDashboard.html @@ -396,7 +396,7 @@ $('#dialogStartTime').val(''); $('#dialogEndTime').val(''); $('#dialogAttendees').prop('checked', true); - $('#dialogMaxAtt').val(0); + $('#dialogMaxAtt').val({$regEvent.total}); $('#dialogRegLine').hide(); $('#dialogPendLine').hide(); $('#dialogAvailLine').hide(); @@ -511,8 +511,8 @@ $('#availabilityTitle').html(calEvent.datetime); $('#dialogRegActive').prop('checked', calEvent.active); - $('#dialogStartTime').val(calEvent.start); - $('#dialogEndTime').val(calEvent.end); + $('#dialogStartTime').val(calEvent.start.format('hh:mm A')); + $('#dialogEndTime').val(calEvent.end.format('hh:mm A')); $('#dialogTimeAllDay').prop('checked', calEvent.allDay); $('#dialogMaxAtt').val(calEvent.max); $('#dialogRegLine').show(); diff --git a/views/admin/registrations/requestsDashboard.html b/views/admin/registrations/requestsDashboard.html index 065e7c2..06b8521 100644 --- a/views/admin/registrations/requestsDashboard.html +++ b/views/admin/registrations/requestsDashboard.html @@ -8,8 +8,6 @@
-

Check Reguest & Update Holds

- diff --git a/views/front/registrations/checkout.html b/views/front/registrations/checkout.html index 1fc0615..e7af4a1 100644 --- a/views/front/registrations/checkout.html +++ b/views/front/registrations/checkout.html @@ -266,12 +266,12 @@ {if apply_filters('glm-members-customfields-active', false)} {foreach $cart.events as $event} {assign var="fid" value="glm_reg_customfields_reg_event_`$event.reg_event`"} {* assemble the uid with the current event ID *} - {if apply_filters('glm-members-customfields-have-fields', false, $fid)} -
+ {if apply_filters('glm-members-customfields-have-fields', false, $fid)}
-

Additional information for event: {$event.event_name}

+

Additional information requested:

+ For Event: {$event.event_name} {apply_filters('glm-members-customfields-form-display', '', $fid, $cartId, 'checkoutForm', false)}
diff --git a/views/front/registrations/summaryStore.html b/views/front/registrations/summaryStore.html index bcfa062..624739a 100644 --- a/views/front/registrations/summaryStore.html +++ b/views/front/registrations/summaryStore.html @@ -1,13 +1,21 @@ @@ -88,7 +90,7 @@

Checkout Summary

-
+
@@ -163,9 +165,10 @@

Registrations

+
{assign var="summaryType" value="store"} {include file='front/registrations/cartSummary.html'} - +
\ No newline at end of file -- 2.17.1