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.
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.
Steve Sutton [Thu, 12 Oct 2017 17:25:58 +0000 (13:25 -0400)]
WIP for the logout and adding attendees
Fix the add attendee so you can select the time.
Logout will now go to the event list.
Steve Sutton [Thu, 12 Oct 2017 16:33:23 +0000 (12:33 -0400)]
Working on the event reg forms for adding attendees.
Fixing the add attendee forms. Changing the class used on the new form and the edit ones so they don't get confused in backbone.
Fixed: When adding attendee with the next attempt to add attendee wasn't working.
Steve Sutton [Wed, 11 Oct 2017 20:46:43 +0000 (16:46 -0400)]
Correcting name for the registrant when adding it to cart.
Using registrant now for the variable.
Chuck Scott [Tue, 10 Oct 2017 21:04:53 +0000 (17:04 -0400)]
Completed cart link widget. Use [glm-members-registrations-cart-link-widget] to place widget.
Steve Sutton [Tue, 10 Oct 2017 20:49:09 +0000 (16:49 -0400)]
more debug removal
Steve Sutton [Tue, 10 Oct 2017 20:48:15 +0000 (16:48 -0400)]
remove print_r
get rid of debug stuff
Steve Sutton [Tue, 10 Oct 2017 20:44:50 +0000 (16:44 -0400)]
Pull in time text for selected reg_time on registrant edit.
Pull in the time text for the selected reg_time when editing registrant.
Trying to get the calendar also to show the selected time but not
finding a way to do this.
Steve Sutton [Tue, 10 Oct 2017 12:33:54 +0000 (08:33 -0400)]
Update add Attendee code
Check for length of the nTime first.
Steve Sutton [Mon, 9 Oct 2017 20:48:51 +0000 (16:48 -0400)]
Update registrant account
Only if the account with the registrant is not validated.
Steve Sutton [Mon, 9 Oct 2017 18:15:57 +0000 (14:15 -0400)]
Checking for validated account for registrant
When adding registrant need to check for the account validated field.
Placing this into the model for the app.
Chuck Scott [Mon, 9 Oct 2017 17:16:02 +0000 (13:16 -0400)]
Cleared up problems in checking existing reg_time entries with times from event recurences.
Steve Sutton [Mon, 9 Oct 2017 16:09:12 +0000 (12:09 -0400)]
Update for the rTime
Loop through this as array.
Chuck Scott [Mon, 9 Oct 2017 16:09:42 +0000 (12:09 -0400)]
Removed paramenter dump in cart link widget.
Steve Sutton [Mon, 9 Oct 2017 15:50:52 +0000 (11:50 -0400)]
Update time for the event
If not time specific then get the reg_time.
Steve Sutton [Mon, 9 Oct 2017 15:36:23 +0000 (11:36 -0400)]
Front end work
Fix error when no time specific entry is there.
Chuck Scott [Mon, 9 Oct 2017 15:31:57 +0000 (11:31 -0400)]
Now checking for updates to reg event times entries when a reg event is added.
Fixed issues with times not being included if they are earlier than today.
Fixed issue with cart link widget not properly detecting if there is no cart.
Steve Sutton [Fri, 6 Oct 2017 20:53:03 +0000 (16:53 -0400)]
Add check email for adding attendee form
Checking email and if it returns then lock the form otherwise unlock the
form.
Chuck Scott [Thu, 5 Oct 2017 21:04:19 +0000 (17:04 -0400)]
Removing references to "addNotice" function in glmPluginSupport that were causing problems.
Cart link widget is now working. Also have new filter to get cart stats that can be used for custom widgets.
Steve Sutton [Thu, 5 Oct 2017 18:58:13 +0000 (14:58 -0400)]
Adding notes to readme.
readme.md
Steve Sutton [Thu, 5 Oct 2017 18:43:21 +0000 (14:43 -0400)]
Bring in edit form for registrant
Not sure about this placement though. Might have to move it out.
Steve Sutton [Wed, 4 Oct 2017 20:26:09 +0000 (16:26 -0400)]
Turn the add new registrant view to registrantForm
This way we should be able to use it for edit and add.
Chuck Scott [Wed, 4 Oct 2017 14:46:08 +0000 (10:46 -0400)]
Commented out print_r for regEvent data on registration front-end page.
Chuck Scott [Tue, 3 Oct 2017 20:51:56 +0000 (16:51 -0400)]
Updated database to version 0.0.13 to get rid of some old fields.
Removed those fields from the related data classes.
Added information on available dates and times to the registration page on the front-end.
Now need to put in pop-up calendar for date selection for time_specific registrations.
Added functions to purge expired reg_time_pending entries and to update the quantities in the reg_time table.
Improved display of reg times in the event dashboard in admin.
Steve Sutton [Mon, 2 Oct 2017 20:02:12 +0000 (16:02 -0400)]
Some cleanup
Removing uneeded methods.
Steve Sutton [Mon, 2 Oct 2017 18:32:51 +0000 (14:32 -0400)]
Updating the registrations front and model
Pulling class data for the regEvent from the dataabstract now.
Chuck Scott [Mon, 2 Oct 2017 15:54:17 +0000 (11:54 -0400)]
Now trimming trailing whitespace on PHP files. Most of these files have only whitespace changes.
Updated getRegistrationCart() and checkRegistrationRequest() to now both optionally return a JSON or an array for the cart contents or return only a status flag.
Steve Sutton [Mon, 2 Oct 2017 15:50:47 +0000 (11:50 -0400)]
Logging in and logging out sets up the add me button now
Add me will now toggle correctly when logging in and out.
Steve Sutton [Fri, 29 Sep 2017 20:50:44 +0000 (16:50 -0400)]
Working on the register form
Currently looking at way to display the errors once they leave the email
field to show it's not a valid email address.
Chuck Scott [Fri, 29 Sep 2017 20:14:43 +0000 (16:14 -0400)]
Now have preliminary data displaying on cart page.
Added some comments and spacing in registrations page model.
Finished initial tests of cart validation. Still need to add total calculations.
Have cart page model now getting cartID from session.
Steve Sutton [Thu, 28 Sep 2017 20:00:17 +0000 (16:00 -0400)]
Form for adding new account
Register form.
Creates a new account.
Issues: not setting the password.
Steve Sutton [Wed, 27 Sep 2017 20:58:57 +0000 (16:58 -0400)]
Adding stuff for new registrant
This will be for a new account to be registered.
Steve Sutton [Wed, 27 Sep 2017 19:14:38 +0000 (15:14 -0400)]
Setting up the event reg page so it reloads registrants
If registrants are in the cart (loaded in session), then they'll output
back under the class they were registered in.
Chuck Scott [Tue, 26 Sep 2017 12:18:27 +0000 (08:18 -0400)]
Started updating the front/cart.php to have it grab and validate cart data.
Result of checRegistrationRequest() is essentially the same array as returned by getRegistrationCart() but will addition information inserted.
Initial comments are in the regCartSupport class on how cart will be validated and some code is in place.
Some additional debugging and fixes to admin reg setup for classes and rates and user interface updates.
Steve Sutton [Mon, 25 Sep 2017 19:50:06 +0000 (15:50 -0400)]
Update the ajax file for adding registrant.
Use account id for account if it can find it by email else it will
create an account and use the new id. For each table it will check for
existing entry and update that one.
Steve Sutton [Sun, 24 Sep 2017 18:53:42 +0000 (14:53 -0400)]
Login and Add New updates
Move the addNew method to the regClass View along with the events for
when the .add-new-registrant class is clicked.
Add Me button setup to only show when their logged in.
Steve Sutton [Fri, 22 Sep 2017 20:46:53 +0000 (16:46 -0400)]
Work on login and add self to registrant list.
Getting the login form working and setting up a model for the logged in
account which can be used to add your self as a registrant for the event
class.
Chuck Scott [Fri, 22 Sep 2017 13:24:21 +0000 (09:24 -0400)]
Fixed problem with use of incorrect event ID when creating a registration event.
Chuck Scott [Thu, 21 Sep 2017 21:16:50 +0000 (17:16 -0400)]
Added single function for collecting reg rate input data and testing the results.
Steve Sutton [Thu, 21 Sep 2017 20:49:47 +0000 (16:49 -0400)]
Removed index
For reg_request_registrant.
Steve Sutton [Thu, 21 Sep 2017 20:47:40 +0000 (16:47 -0400)]
removed account field
removing account index
Steve Sutton [Thu, 21 Sep 2017 20:46:13 +0000 (16:46 -0400)]
Remove index for account
Account field removed.
Steve Sutton [Thu, 21 Sep 2017 20:42:48 +0000 (16:42 -0400)]
Should be reg_time
Correcting the create db scripts
Chuck Scott [Thu, 21 Sep 2017 20:27:06 +0000 (16:27 -0400)]
Continuing saga of getting the admin registration levels and rates working.
Steve Sutton [Thu, 21 Sep 2017 20:24:19 +0000 (16:24 -0400)]
Work on registrant add delete
Can now add reg_request_registrant and delete them.
Chuck Scott [Thu, 21 Sep 2017 17:26:53 +0000 (13:26 -0400)]
Added menu, model, and view for reports. Nothing in there yet.
Have admin reg events levels and rates displaying, adding, editing, saving, and storing
Still some glitches in that page.
Steve Sutton [Thu, 21 Sep 2017 17:07:05 +0000 (13:07 -0400)]
Working on the reg_request
Creating a reg_request so I can add the registrant.
Adding now model and view for the registrant.
Chuck Scott [Thu, 21 Sep 2017 00:21:02 +0000 (20:21 -0400)]
Now have Rates inserting into the database but not showing up when page is reloaded.
Steve Sutton [Wed, 20 Sep 2017 20:45:51 +0000 (16:45 -0400)]
Work on RegRequest and cart
Working on setting up data into the database for reg_class and reg_rate
to bring them into the front end with the model. Getting different type
of data for the pricing. Remove extra $ from the template.
Starting working on the cart. I'll need to create new model for the
registrants.
Chuck Scott [Wed, 20 Sep 2017 17:04:55 +0000 (13:04 -0400)]
Adding, editing, and deleting reg_class records now works in admin.
Steve Sutton [Wed, 20 Sep 2017 00:05:53 +0000 (20:05 -0400)]
Adding ajax class for handling save for the request.
Setting up an ajax class following Chuck setup for the admin one.
Steve Sutton [Tue, 19 Sep 2017 20:59:17 +0000 (16:59 -0400)]
Setting up cart and request models.
Also worked on placing the request model into cart.
Chuck Scott [Tue, 19 Sep 2017 19:21:56 +0000 (15:21 -0400)]
More work on adding reg classes and rates to a reg event (admin).
Added createRegistrationCart() function to regCartSupport.php
Chuck Scott [Tue, 19 Sep 2017 17:30:39 +0000 (13:30 -0400)]
Changing AJAX processing for Backbone from using _method (http method) to specifying an "option" along with the data array.
Chuck Scott [Tue, 19 Sep 2017 17:07:16 +0000 (13:07 -0400)]
Added valid action for ajax/regFront.php.
Chuck Scott [Tue, 19 Sep 2017 17:04:31 +0000 (13:04 -0400)]
More updates for admin registrations interface via backbone.
Added AJAX processrs for front and admin AJAX calls from backbone.
Added sample regRequestEvent.php AJAX method for handling backbone event requests.
Steve Sutton [Mon, 18 Sep 2017 20:47:34 +0000 (16:47 -0400)]
Front end work for accounts.
working on getting the accounts adding and deleting. When you refresh
the page the accounts are there and they update the price total for the
class level. Updated some of the functions for the localStorage.
Steve Sutton [Sun, 17 Sep 2017 23:51:34 +0000 (19:51 -0400)]
Working on redo of sync functions for Accounts collection.
Creating function for syncing the collection to the localStorage.
Steve Sutton [Fri, 15 Sep 2017 20:39:36 +0000 (16:39 -0400)]
Working on front end accounts.
They currently get added to the collection of the regClass. But they
don't have the correct localStorage setup. If you put in same email for
two classes then it overrides the last localStorage for that model.
Chuck Scott [Fri, 15 Sep 2017 20:06:21 +0000 (16:06 -0400)]
More work on adding rates to classes (registration levels).
Still some problems when clicking the "add" button after providing initial text for adding a rate or level.
Chuck Scott [Fri, 15 Sep 2017 15:59:37 +0000 (11:59 -0400)]
Adding edit to admin edit registration levels and charges
Steve Sutton [Thu, 14 Sep 2017 20:45:44 +0000 (16:45 -0400)]
Front end work for backbone.js
Getting the view and model to update and render when the collection of
accounts get added to by the view for the regClass.
Chuck Scott [Thu, 14 Sep 2017 20:02:57 +0000 (16:02 -0400)]
Now have events.php generating JSONs for backbone that do not use associative arrays for the time, classe, and reg_rate arrays.
Chuck Scott [Tue, 12 Sep 2017 18:39:43 +0000 (14:39 -0400)]
Moved add level button to ID from class.
Updated registrations admin.css to improve registrations levels & charges setup.
Changed eventEditLevels.html for improved layout.
Steve Sutton [Tue, 12 Sep 2017 18:15:54 +0000 (14:15 -0400)]
Working on the add class to admin reg level
It is adding the class level into the regEvent classes collection. I
have it setup for localStorage right now.
Steve Sutton [Mon, 11 Sep 2017 20:17:01 +0000 (16:17 -0400)]
Separate front and admin js files into two min ones.
All admin scripts now in adminRegApp.js.
All front scripts now in frontRegApp.js.
Updating enqueue for the scripts.
Update gulp file to only watch for admin folder for the admin file, and
front files for the front one.
Working on the edit class in admin.
Chuck Scott [Mon, 11 Sep 2017 17:23:03 +0000 (13:23 -0400)]
Standardized appearance of pages in the Registrations admin areas.
Changed First and Last name for Accounts to be required.
Chuck Scott [Mon, 11 Sep 2017 16:19:29 +0000 (12:19 -0400)]
Added description fields to reg_time and reg_event tables for optional registration related descriptions.
Added JSON output from get cart method in regCartSupport class.
Steve Sutton [Fri, 8 Sep 2017 20:49:05 +0000 (16:49 -0400)]
Adding styles for admin side start for editing classes.
Adding buttons for the add level delete level.
Adding buttons for the add and delete reg rates.
Working on the template for the add level.
Steve Sutton [Fri, 8 Sep 2017 18:50:24 +0000 (14:50 -0400)]
More re-organizing the javascript files.
Setting up a global eventReg instead of trying to use
app.Models.eventReg.
Steve Sutton [Fri, 8 Sep 2017 16:59:55 +0000 (12:59 -0400)]
Reorganizing the js files.
Setting up with admin and front directories.
Chuck Scott [Fri, 8 Sep 2017 14:30:35 +0000 (10:30 -0400)]
Removed copies of old admin registrations models that are no longer in use.
Cleaned up a number of invalid parameter references in both models and views for registrations admin.
Chuck Scott [Thu, 7 Sep 2017 18:54:48 +0000 (14:54 -0400)]
More reorganization of registrations admin models and views.
Removed old view files.
Removed saved versions of models.
Minor changes to hawe the registrations admin menus show.
Chuck Scott [Wed, 6 Sep 2017 21:04:01 +0000 (17:04 -0400)]
Adding more content to reigstration request dashboard.