Steve Sutton [Thu, 16 Nov 2017 19:13:05 +0000 (14:13 -0500)]
fix bug in admin
also setting up a lock to make sure your editing adding only one thing
at a time.
Steve Sutton [Thu, 16 Nov 2017 18:27:33 +0000 (13:27 -0500)]
Updating style for the entry attendee form and edit.
Also clean up all console.log
Chuck Scott [Thu, 16 Nov 2017 17:35:40 +0000 (12:35 -0500)]
Fixed issues with regirants having times that were no longer available.
Now have checkRegistrationRequest() in regCartSuuport.php checking for registrants for whom their selected time has been rmoved from the event.
Now have checkEventTimes() in dataRegEvent.php checking for registration times that have been removed from the event.
Fixed issue with gulp breaking (ask Steve, it's his stuff).
Added message output to the admin event dashboard when times are added or removed due to changes in an event.
Added message output check to event dashboard view.
Steve Sutton [Wed, 15 Nov 2017 18:18:10 +0000 (13:18 -0500)]
Updating the javascript code with comments
Add some documentation to the js code and cleaning some stuff up.
Steve Sutton [Wed, 15 Nov 2017 16:41:30 +0000 (11:41 -0500)]
Fix for setting first date in calendars.
I'm adding a field for startingTime in the class so I can set the class
up correctly with the starting time for the event reg page.
Steve Sutton [Wed, 15 Nov 2017 13:41:47 +0000 (08:41 -0500)]
Fix issue with adding class and the times without reg_event
Reg_event wasn't being brought back when using the dataAbstract and
getting the regEvent. So in js when setting the times to add in
registrant I'm resetting the reg_event in the times to be sure it is
correct.
Chuck Scott [Tue, 14 Nov 2017 22:02:34 +0000 (17:02 -0500)]
Added ajax edit/update feature to calendar cells in registration event dashboard.
Steve Sutton [Tue, 14 Nov 2017 21:54:41 +0000 (16:54 -0500)]
Update the regClass for if not time specific.
When not time Specific the event with class should just add the regTime
into the class.
Steve Sutton [Tue, 14 Nov 2017 20:30:06 +0000 (15:30 -0500)]
Compiled js file
some merging from the last pull.
Steve Sutton [Tue, 14 Nov 2017 20:24:19 +0000 (15:24 -0500)]
Fixing issue with incorrect rate being used for adding registrants.
Fixed the mix up when setting up the calendar and then the regTime.
Was getting the incorrect time data.
Chuck Scott [Tue, 14 Nov 2017 18:34:00 +0000 (13:34 -0500)]
Enhancements to cart widget pop-up cart list, checkout, and cart summaries.
Now displaying event and registrant totals in cart widget popup.
Now purging empty carts when account logs in.
Selecting latest non-empty cart when logging in.
Added more registrant info to cart and checkout summaries.
Fixed problems with not having account input data for checkout view when checking out as a guest
Steve Sutton [Tue, 14 Nov 2017 17:21:44 +0000 (12:21 -0500)]
Another bug fix for rebuilding registrants in the app
When searching for and adding in the registrants. using findWhere now to
return the object and not just an array.
Steve Sutton [Tue, 14 Nov 2017 16:56:10 +0000 (11:56 -0500)]
Update for bug fix in the regEvent model
When getting the regTime id.
Steve Sutton [Tue, 14 Nov 2017 16:46:24 +0000 (11:46 -0500)]
Fix bad entry for reg_request_rate
Fixing bug when adding the reg_reguest_rate entries.
Steve Sutton [Mon, 13 Nov 2017 21:59:39 +0000 (16:59 -0500)]
Look for error in adding times to the class
Need to find out where this is not getting the correct time info.
Chuck Scott [Mon, 13 Nov 2017 22:00:09 +0000 (17:00 -0500)]
Better time/date formatting in cart summaries
Chuck Scott [Mon, 13 Nov 2017 21:29:50 +0000 (16:29 -0500)]
Additional cleanup of misc issues.
Fixed problem determining if cart had already been checked out.
Billing contact form is now hidden if "Same as account info" is checked.
Cart and checkout summaries are now checking to see if the rate data line should be displayed in cart.
Avoiding certain work in the checkout process if checkout is not successful
Steve Sutton [Mon, 13 Nov 2017 21:18:04 +0000 (16:18 -0500)]
More template updates
For template undefines.
Steve Sutton [Mon, 13 Nov 2017 20:51:30 +0000 (15:51 -0500)]
Redo registration form. Update on add me button
Removing the add me button. Have to re-think about that one now.
Redid the registration form for the glm grid.
Need to deal with password errors if they don't get format of password
correct.
Steve Sutton [Mon, 13 Nov 2017 19:40:00 +0000 (14:40 -0500)]
Update for undefined indexes or template variables.
template variables issues.
Steve Sutton [Mon, 13 Nov 2017 19:25:55 +0000 (14:25 -0500)]
Updating the list view for dates and times.
Use same code as the event detail page for the event date and time
output. I also had to add the reccurrences into the event filter.
Steve Sutton [Mon, 13 Nov 2017 18:25:22 +0000 (13:25 -0500)]
Update views on front end
Add collapse for the address part of the add edit registrant.
Add Registrant credits to the regClass part.
Steve Sutton [Mon, 13 Nov 2017 14:16:02 +0000 (09:16 -0500)]
Test for member in template first
Before trying to use member
Steve Sutton [Sun, 12 Nov 2017 13:42:13 +0000 (08:42 -0500)]
Update the regClass view to use fullCalendar.
Now will use the fullCalendar to select the times.
Steve Sutton [Fri, 10 Nov 2017 22:02:55 +0000 (17:02 -0500)]
WIP setup calendar for the time selection.
hidding the other time selection right now.
Chuck Scott [Fri, 10 Nov 2017 21:56:42 +0000 (16:56 -0500)]
Wider list and reg pages and added Misc texts and global terms at checkout.
Added the appropriate misc text to the top of each registrations page.
Added global terms and conditions to checkout and added test for that.
Changed contained class for list and registrations page to make content wider.
Chuck Scott [Fri, 10 Nov 2017 20:57:05 +0000 (15:57 -0500)]
Completed processing at checkout - A few minor things to complete related to checkout.
Cleaned up some issues with password and login and fixed duplicating accounts and requests.
Built checkout summary and summary page.
Updated database to store more infomration at checkout.
Steve Sutton [Tue, 7 Nov 2017 14:21:05 +0000 (09:21 -0500)]
Comment out print_r
Removing debug stuff.
Steve Sutton [Tue, 7 Nov 2017 14:06:51 +0000 (09:06 -0500)]
Work on add registrant to more than one time slot.
Now can add a registrant to more than one time slot.
Also setting up comparator function for the times and the registrant
collections. This will keep them sorted.
Steve Sutton [Mon, 6 Nov 2017 21:53:36 +0000 (16:53 -0500)]
Stop if no parent when adding registrant.
Getting error adding registrant in some cases.
Chuck Scott [Mon, 6 Nov 2017 21:44:31 +0000 (16:44 -0500)]
Fixed lib directory define, completed payment processor integration, updated database
Changed some default settings for the registration account data class.
Updated database to add new field 2 fields for Merchant Solutions in management
Fixed some compatibility issues in the paymnent gateway classes
Completed payment processor integration in checkout and texted off-line
Some updates and fixes in the checkout view.
Steve Sutton [Mon, 6 Nov 2017 21:09:50 +0000 (16:09 -0500)]
Updated front end for new regTime model,collection,view.
Adding model collection view for the regTime.
Setup to add registrant from the regTime view.
Steve Sutton [Fri, 3 Nov 2017 20:58:55 +0000 (16:58 -0400)]
Add model/collection/view for regTime
WIP Working on moving some stuff from regClass into the regTime view.
Will need to fix the creation of registrants and make sure the data it
is sending back to ajax calls is correct.
Steve Sutton [Fri, 3 Nov 2017 19:46:38 +0000 (15:46 -0400)]
Adding gulp-notify
Add gulp-notify
You'll need to run npm instal.
Chuck Scott [Thu, 2 Nov 2017 20:58:11 +0000 (16:58 -0400)]
Fixed bill_state and bill_country in dataAccount.php.
Fixed cc_type field in dataRegRequest.php.
Fixed undefined referernce to glm_reg_card_id in regCartSummary() when no data supplied.
Added field data for credit card data in checkout.php and deselecting types not selected.
Added radio buttons for enabled payment methods.
Steve Sutton [Thu, 2 Nov 2017 20:55:42 +0000 (16:55 -0400)]
Updates for front end work
working on styling for mobile and for time entry.
Chuck Scott [Thu, 2 Nov 2017 18:24:17 +0000 (14:24 -0400)]
Fixed a problem with the updated filter for event Edit and update pages to show the messages and link only on events with registrations.
Chuck Scott [Thu, 2 Nov 2017 16:01:36 +0000 (12:01 -0400)]
Fixed duplicate function name is data class caused by last conflict resolution.
Marking cartLinkWidget.php for deletion if no problems occur. Don't believe this is in use.
Added data to registrations hook for Events for used on event edit page.
Steve Sutton [Thu, 2 Nov 2017 15:43:59 +0000 (11:43 -0400)]
Update the return regevent data to include member
Member needed from the event. May have to pull the address from member.
Steve Sutton [Thu, 2 Nov 2017 15:32:20 +0000 (11:32 -0400)]
Fixing the bug in the get cart method when not logged in.
If not logged in there may not be session loggin variable so need to
check for not isset first.
Steve Sutton [Thu, 2 Nov 2017 14:41:01 +0000 (10:41 -0400)]
Comment out print_r statement
Remove print_r output for registrants.
Steve Sutton [Thu, 2 Nov 2017 14:19:45 +0000 (10:19 -0400)]
Going through list template and remove any template errors
For undefined variables.
Steve Sutton [Thu, 2 Nov 2017 00:31:45 +0000 (20:31 -0400)]
Working on the adding of attendee without time_specific.
Getting the timeSelction set when setting up the classes from the php
model.
Chuck Scott [Wed, 1 Nov 2017 20:57:29 +0000 (16:57 -0400)]
Removed 13 MB of docs for MerchantSolutions payment gateway.
Chuck Scott [Wed, 1 Nov 2017 20:50:19 +0000 (16:50 -0400)]
Added payment processors library.
Fixed incorrect field definitions for state, country, and payment types fields in data classes.
Updated payment types and processors in plugin.ini.
Steve Sutton [Wed, 1 Nov 2017 14:47:34 +0000 (10:47 -0400)]
Merge branch 'feature/formsUpdates' into develop
Steve Sutton [Wed, 1 Nov 2017 14:23:58 +0000 (10:23 -0400)]
Merge branch 'develop' into feature/formsUpdates
Steve Sutton [Wed, 1 Nov 2017 14:11:33 +0000 (10:11 -0400)]
Working on the time selection
Passing the selected time to the new registrant model being created.
Steve Sutton [Tue, 31 Oct 2017 20:58:14 +0000 (16:58 -0400)]
Starting work on the select time
notes for require time to be selected before they choose to add an
attendee.
Steve Sutton [Fri, 27 Oct 2017 18:13:36 +0000 (14:13 -0400)]
Update regEvent list page.
Adding the date and time details and image to the event list.
Steve Sutton [Mon, 30 Oct 2017 20:55:25 +0000 (16:55 -0400)]
Working on the time selection.
Lot's of redoing the forms and using the glm grlid more.
Chuck Scott [Mon, 30 Oct 2017 20:23:42 +0000 (16:23 -0400)]
More checkout processing working.
Addedc Terms and Conditions to checkout page.
Added suggested password to checkout page when still a guest.
Sorted out some additional issues with validating registrant accounts for cart.
Steve Sutton [Sun, 29 Oct 2017 23:50:58 +0000 (19:50 -0400)]
Updating form for add attendee
Bring in glm-grid.
Steve Sutton [Sat, 28 Oct 2017 20:22:07 +0000 (16:22 -0400)]
Removing extra output.
Removing some debug stuff.
Steve Sutton [Sat, 28 Oct 2017 20:22:07 +0000 (16:22 -0400)]
Removing extra output.
Removing some debug stuff.
Steve Sutton [Fri, 27 Oct 2017 20:36:23 +0000 (16:36 -0400)]
Updating the forms.
Switch them to use the glm grid classes.
Steve Sutton [Fri, 27 Oct 2017 18:13:36 +0000 (14:13 -0400)]
Update regEvent list page.
Adding the date and time details and image to the event list.
Steve Sutton [Fri, 27 Oct 2017 16:05:16 +0000 (12:05 -0400)]
Adding Ajax action for refreshing the registration widget.
Wrap the widget into div with id.
Setup a global javascript object with function to update the widget.
Steve Sutton [Thu, 26 Oct 2017 20:36:52 +0000 (16:36 -0400)]
Add comarator to rate collection
This should keep the rates sorted. Not working for me yet. They only get
sorted once the rates are added and you refresh the page.
Steve Sutton [Thu, 26 Oct 2017 18:58:19 +0000 (14:58 -0400)]
Fix error in admin ajax model
This is for adding reg rates in the admin.
Chuck Scott [Thu, 26 Oct 2017 16:21:27 +0000 (12:21 -0400)]
List page now checking to see if there's any available events.
Chuck Scott [Thu, 26 Oct 2017 16:13:29 +0000 (12:13 -0400)]
Completed initial layout of checkout page.
Implemented GLM grid approach for checkout page and added custom CSS to the top of front.css to accommodate that.
Added hand pointing down icons for use on checkout page.
Updated dataAccount.php and dataRegRequest.php to add proper state and country field specications.
Added more checkout processing and support for that to checkout.php and regCartSupport class.
Steve Sutton [Tue, 24 Oct 2017 17:38:49 +0000 (13:38 -0400)]
Update for field changes.
Removing update inserts to old field which was removed.
Chuck Scott [Tue, 24 Oct 2017 15:01:33 +0000 (11:01 -0400)]
Added first_datetime and last_datetime to reg_event record for quick reference.
Added date_created to reg_request.
Dropped event_datetime and mf_data from reg_request_event, reg_request_class and reg_request_date.
Dropped mf_data from reg_request_registrant.
Updated database version to 0.0.16
Deleted dataAddedInfoData.php, dataAddedInfoFields.php, dataMfData.php, dataMfTempFile.php, dataMagicform.php
Updated cart widget other cart select dialog to show both created and updated date/time.
Chuck Scott [Mon, 23 Oct 2017 18:49:33 +0000 (14:49 -0400)]
Commented out print_r() that was used for testing on registrations page.
Steve Sutton [Mon, 23 Oct 2017 18:43:34 +0000 (14:43 -0400)]
Now saving the data for reg_request_rate
data for base rate and per registrant.
Chuck Scott [Mon, 23 Oct 2017 18:28:28 +0000 (14:28 -0400)]
Removed addTimeToCart() from regCartSupport class. No longer needed.
Removed replaceRequestingAccount() from regCartSupport class. No longer needed.
Fixed problem with comparison of rate date number.
Fixed loss of event ID when merging time and rate for use with registration page.
Steve Sutton [Mon, 23 Oct 2017 16:54:11 +0000 (12:54 -0400)]
Update on compiled js file.
Should be 4 spaces not 3
Steve Sutton [Mon, 23 Oct 2017 16:52:54 +0000 (12:52 -0400)]
Merge branch 'feature/refractorAddRegistrantToCart' into develop
Steve Sutton [Mon, 23 Oct 2017 16:49:43 +0000 (12:49 -0400)]
Refactor part to update or add registrant to cart.
Will be moving this to support class later.
Chuck Scott [Mon, 23 Oct 2017 16:47:55 +0000 (12:47 -0400)]
Now deleting reg_request components from database when they don't verify.
Fixed some registrartion pages navigation issues. When allowed to.
Steve Sutton [Mon, 23 Oct 2017 12:23:09 +0000 (08:23 -0400)]
Merge branch 'develop' into feature/refractorAddRegistrantToCart
Steve Sutton [Fri, 20 Oct 2017 20:23:39 +0000 (16:23 -0400)]
Starting refractor of adding registrant to cart
Refractoring registrant and and update in the cart.
Will be moving this into the support class.
Chuck Scott [Fri, 20 Oct 2017 20:08:54 +0000 (16:08 -0400)]
Fixed problems with clearing items from the cart that don't belong there.
Fixed probelm with cart not being assigned to an account when it's a guest cart and the account just loggs in.
Added "select other Carts" to cart widget.
Other front-end cleanip.
Steve Sutton [Fri, 20 Oct 2017 18:03:03 +0000 (14:03 -0400)]
Remove the confirm for the continue button
Not needed.
Steve Sutton [Fri, 20 Oct 2017 17:31:03 +0000 (13:31 -0400)]
Adding to the registrant (add/edit)
When adding/updating registrant
Setting class_name in reg_request_class table.
Setting rate_name in reg_request_rate table.
Setting event_datetime in reg_request_registrant table.
Steve Sutton [Fri, 20 Oct 2017 14:36:17 +0000 (10:36 -0400)]
Adding fields to the check out form.
This is just to get started for the checkout form.
Chuck Scott [Fri, 20 Oct 2017 14:07:40 +0000 (10:07 -0400)]
Updated checkRegistrationRequest() in regCartSupport.php to better handle removal of items that are no longer applicable.
This would be like classes without rate entires.
Enhanced appearance of links between pages and added more specific user instructions.
Steve Sutton [Fri, 20 Oct 2017 14:00:38 +0000 (10:00 -0400)]
Update for page redirects
Use the built in way to redirect to main page.
Steve Sutton [Fri, 20 Oct 2017 01:17:22 +0000 (21:17 -0400)]
Adding tests for frontRegApp.js
Adding test for regClass, regEvent, cart models.
Steve Sutton [Thu, 19 Oct 2017 19:07:25 +0000 (15:07 -0400)]
Add test
Adding test for the front end.
Steve Sutton [Thu, 19 Oct 2017 19:06:50 +0000 (15:06 -0400)]
Clean up for the js front end
Removing the login and register models and views.
Chuck Scott [Thu, 19 Oct 2017 18:04:19 +0000 (14:04 -0400)]
Added function to check if the requesting account has permission to access the cart and if cart should be assigned to the account.
Fixed incorrect "ID" (should be "id") in updateTimeEntryCounts() in regCartSupport.
Removed some unwanted fields in several data classes and added pointer entries to get frequently used data.
Updated cart and checkout links and other layout issues for registrations.
Steve Sutton [Thu, 19 Oct 2017 16:39:35 +0000 (12:39 -0400)]
Add logic for hiding showing the Add Me button
Don't show add me if not logged in.
Don't show add me if already set as one of the registrants.
Steve Sutton [Thu, 19 Oct 2017 13:48:38 +0000 (09:48 -0400)]
Remove old setup of fullCalendar and remove debug output.
Comment out the debug in registrations.
Removing old setup for fullCalendar since I have this brought into the
backbone views now.
Steve Sutton [Wed, 18 Oct 2017 20:58:45 +0000 (16:58 -0400)]
Fix the issue with incorrect rate_id
Have to look into the times objects when adding the registrant so as to
get the correct rate_id for adding the registrant properly.
Chuck Scott [Wed, 18 Oct 2017 19:56:43 +0000 (15:56 -0400)]
Fixed problem with rate ID overlaying time ID in getEventForRegistration();
More updates to cart.
Steve Sutton [Wed, 18 Oct 2017 19:06:58 +0000 (15:06 -0400)]
Updating the regEvent page with new additions.
Restructured how the regEvent form is adding registrants per data
changes from the cart.
Chuck Scott [Wed, 18 Oct 2017 19:00:52 +0000 (15:00 -0400)]
Added some icons for cart and checkout.
Completed formatting cart.
Started adding checkout page.
Chuck Scott [Wed, 18 Oct 2017 17:26:10 +0000 (13:26 -0400)]
Rebuilt cart output into table format with totals.
Chuck Scott [Wed, 18 Oct 2017 15:20:17 +0000 (11:20 -0400)]
Updated database - removed magic-form and added field tables.
Added pointer fields in the dataRegRequestRate.php, dataRegRequestClass.php, dataRegRequestRegistrant.php classes to make event name available there.
Chuck Scott [Wed, 18 Oct 2017 14:12:15 +0000 (10:12 -0400)]
Added hasTimes flag to registration class in getEventForRegistration()
Chuck Scott [Wed, 18 Oct 2017 13:54:35 +0000 (09:54 -0400)]
Now producing event Time/Rate info for non date specific events in getEventForRegistration().
Steve Sutton [Tue, 17 Oct 2017 20:31:28 +0000 (16:31 -0400)]
Remove debug
Debug output
Chuck Scott [Tue, 17 Oct 2017 20:25:43 +0000 (16:25 -0400)]
Restructured data being sent to front-end for registration selection to be Event -> Class -> Time (with rate info).
More cleanup on the admin registration levels & charges edit page
Added getEventForRegistration() function to provide resturcured data for front-end registation selection
New Database version that includes "reg_hours_before" for reg_event and removes event_name from several tables.
Steve Sutton [Tue, 17 Oct 2017 19:40:52 +0000 (15:40 -0400)]
Fix for the registrants output in account dashboard.
Setup event data so we can output the event name.
event_name field was removed from the immediate table.
Steve Sutton [Tue, 17 Oct 2017 17:03:57 +0000 (13:03 -0400)]
Adding code comments
Code comments for the registration and register models.
Steve Sutton [Fri, 13 Oct 2017 21:10:06 +0000 (17:10 -0400)]
Update header row
Move login register and forgot into separate pages.
Chuck Scott [Thu, 12 Oct 2017 21:31:56 +0000 (17:31 -0400)]
Fixed problem with registration level output showing up when there are no levels set in admin registrations edit.
Now have cart validation basically working. Still need to remove invalid items from database.
Cart Totals now being calculated.
Fixed problem with rate values being passed around as strings instead of float values.
Removed event_name field from reg_request_class, reg_request_rate and reg_request_registrant.
Steve Sutton [Thu, 12 Oct 2017 20:52:15 +0000 (16:52 -0400)]
WIP for attendees
Still working on issue with the full calendar.
I have the event_name now being set when adding registrants.