From a76c995a9506ae28e1b947dfe257aff58bff2e74 Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Thu, 16 Feb 2017 12:36:40 -0500 Subject: [PATCH] Updated plugin.ini to clear up confusion for ref_type for various things. Removed required from some fields Updated assignments on Development outline --- classes/data/dataManagement.php | 11 +---- config/plugin.ini | 51 +++++++++++++------- misc/documentation/DevelopmentOutline.txt | 16 +++++-- views/admin/management/registrations.html | 57 ++++++++++++++++------- views/admin/management/regterms.html | 5 +- 5 files changed, 88 insertions(+), 52 deletions(-) diff --git a/classes/data/dataManagement.php b/classes/data/dataManagement.php index 92a1595..795bd73 100644 --- a/classes/data/dataManagement.php +++ b/classes/data/dataManagement.php @@ -114,7 +114,7 @@ class GlmDataRegistrationsManagement extends GlmDataAbstract 'view_only' => true, 'use' => 'a' ), - + 'canonical_reg_page' => array ( 'field' => 'canonical_reg_page', 'type' => 'text', @@ -233,7 +233,6 @@ class GlmDataRegistrationsManagement extends GlmDataAbstract 'reg_authorize_net_login' => array ( 'field' => 'reg_authorize_net_login', 'type' => 'text', - 'required' => true, 'use' => 'a' ), @@ -241,7 +240,6 @@ class GlmDataRegistrationsManagement extends GlmDataAbstract 'reg_authorize_net_key' => array ( 'field' => 'reg_authorize_net_key', 'type' => 'text', - 'required' => true, 'use' => 'a' ), @@ -250,11 +248,10 @@ class GlmDataRegistrationsManagement extends GlmDataAbstract 'field' => 'reg_authorize_net_test', 'type' => 'list', 'list' => $this->config['proc_test_mode'], - 'required' => true, 'default' => $this->config['proc_test_mode_numb']['Local Approval Test'], 'use' => 'a' ), - + // Always Use Full Billing Info 'reg_authorize_net_conf' => array ( 'field' => 'reg_authorize_net_conf', @@ -267,7 +264,6 @@ class GlmDataRegistrationsManagement extends GlmDataAbstract 'reg_authorize_net_merchant_email' => array ( 'field' => 'reg_authorize_net_merchant_email', 'type' => 'text', - 'required' => true, 'use' => 'a' ), @@ -275,7 +271,6 @@ class GlmDataRegistrationsManagement extends GlmDataAbstract 'reg_merchant_solutions_acctid' => array ( 'field' => 'reg_merchant_solutions_acctid', 'type' => 'text', - 'required' => true, 'use' => 'a' ), @@ -283,7 +278,6 @@ class GlmDataRegistrationsManagement extends GlmDataAbstract 'reg_merchant_solutions_merchantpin' => array ( 'field' => 'reg_merchant_solutions_merchantpin', 'type' => 'text', - 'required' => true, 'use' => 'a' ), @@ -292,7 +286,6 @@ class GlmDataRegistrationsManagement extends GlmDataAbstract 'field' => 'reg_merchant_solutions_test', 'type' => 'list', 'list' => $this->config['proc_test_mode'], - 'required' => true, 'default' => $this->config['proc_test_mode_numb']['Local Approval Test'], 'use' => 'a' ), diff --git a/config/plugin.ini b/config/plugin.ini index bf7abf6..9ab91c3 100644 --- a/config/plugin.ini +++ b/config/plugin.ini @@ -10,25 +10,11 @@ ; ; Show Rate type (how it rates will be displayed in lists) - Use as List ; -show_rate_type[10] = 'Detailed' -show_rate_type[20] = 'From (lowest cost)' +show_rate_type[10] = 'Detailed' +show_rate_type[20] = 'From (lowest cost)' -show_rate_type_numb['Detailed'] = 10 -show_rate_type_numb['From'] = 20 - -; -; Data Reference Types (for MagicForm or ?) - List only -; Used to point to something submitted that requires additional data -; -data_ref_type[10] = 'Registration Request' -data_ref_type[20] = 'Event Registration' -data_ref_type[30] = 'Rate Class Selected' -data_ref_type[40] = 'Account' - -data_ref_type_numb['Registration Request'] = 10 -data_ref_type_numb['Event Registration'] = 20 -data_ref_type_numb['Rate Class Selected'] = 30 -data_ref_type_numb['Account'] = 40 +show_rate_type_numb['Detailed'] = 10 +show_rate_type_numb['From'] = 20 ; ; Registration Account Options - Use as Bitmap only @@ -69,6 +55,35 @@ pay_code_type_numb['Free'] = 10 pay_code_type_numb['Amount'] = 20 pay_code_type_numb['Percent'] = 30 +; +; Payment Code Ref Types - List only +; +pay_code_ref_type[10] = 'Global' +pay_code_ref_type[20] = 'Event' +pay_code_ref_type[30] = 'Registration Class' +pay_code_ref_type[40] = 'Registration Rate' + +pay_code_ref_type_numb['Global'] = 10 +pay_code_ref_type_numb['Event'] = 20 +pay_code_ref_type_numb['Registration Class'] = 30 +pay_code_ref_type_numb['Registration Rate'] = 40 + +; +; Registration Ref Type +; Used to point to a piece of a registration submission +; +reg_ref_type[10] = 'Registration Request' +reg_ref_type[20] = 'Event' +reg_ref_type[30] = 'Registration Class' +reg_ref_type[40] = 'Registration Rate' +reg_ref_type[50] = 'Registrant' + +reg_ref_type_numb['Registration Request'] = 10 +reg_ref_type_numb['Event'] = 20 +reg_ref_type_numb['Registration CLass'] = 30 +reg_ref_type_numb['Registration Rate'] = 40 +reg_ref_type_numb['Registrant'] = 50 + ; ; Credit Cards - Use as Bitmap Index or List ; diff --git a/misc/documentation/DevelopmentOutline.txt b/misc/documentation/DevelopmentOutline.txt index 80db076..41a7fef 100644 --- a/misc/documentation/DevelopmentOutline.txt +++ b/misc/documentation/DevelopmentOutline.txt @@ -2,12 +2,13 @@ Registrations Add-On Work Items - Preliminary ADMIN -* General - Chuck - - Activation/Deactivation - - Database table installation / updates - - Generasl Configuration +* General + DONE - Activation/Deactivation + DONE - Database table installation / updates + DONE - Generasl Configuration * Management + Chuck - Recall and update of management data - Access by Managers only @@ -16,21 +17,26 @@ ADMIN - Accessed by Managers and Site owners * Support Classes + Chuck - Searches for and organizes various groups of data - - Assemble all data for a particular registration request + - Assemble all data for a particular registration request * Additional Information fields + Anthony - Global Added Information Fields in Settings - May be used in association with various types of data (see data_ref_type in plugin.ini) - Add, Update, Delete list of added info records - Accessible by anyone configuring registration for an event - Possibly common code used while editing various things that can have additional information fields * Payment Codes + Anthony - Global Payment Codes in Settings - May be used in associatin with various types of data (see data_ref_type in plugin.ini) or as "Global" payment codes - Add, Update, Delete list of Payment Codes - Possibly common code used while editing various things that can have payment codes * Registration configuration for a specific event + Laury - Filter in Events list + Laury - Add registration to an event and edit base event registration record - Passed an Event add-on event ID that matches the ID of the event it the Event add-on - Add (when first used for an event), edit, update, delete diff --git a/views/admin/management/registrations.html b/views/admin/management/registrations.html index 575bfbf..5ae6b5c 100644 --- a/views/admin/management/registrations.html +++ b/views/admin/management/registrations.html @@ -2,12 +2,12 @@