Commit Graph
75 Commits
Author SHA1 Message Date
Jonathan Rosenbaum 5e5899160a This cleans up the html a little for the last fix #10 2017-10-19 08:33:24 +00:00
Jonathan Rosenbaum e08708b66a Show signed-in patrons with distinct color for list_donation_locations_withheade
* closes #10
* combines signed-in with everyone else
* everyone should be put in alphabetical order in the future
2017-10-19 08:08:00 +00:00
Jonathan Rosenbaum 3c5eea235a This fixes #9 by allowing two behaviors via REDEEM_ONE_TO_ONE:
* based on the SWEAT_EQUITY_LIMIT with discounts applied,
* based on 1 to 1 (1hr of volunteering === 1hr of free stand time) regardless of the SWEAT_EQUITY_LIMIT
2017-10-19 04:27:44 +00:00
Jonathan Rosenbaum 5695fe8b07 This resolves the issue with user defined arrays (local_configurations) not carrying over.
* include works, too, and in this paticular code would not provide a disadvantage
2017-10-11 05:38:57 +00:00
Jonathan Rosenbaum b72ce46423 Introduced a bug with the last commit, fixed! 2017-08-11 05:46:51 +00:00
Jonathan Rosenbaum 9ef3efe15c Improves documentation for local_configurations.php. 2017-08-10 23:53:33 +00:00
Jonathan Rosenbaum c814e49031 Adds Stand Time to membership benefits definition. 2017-08-07 22:40:44 +00:00
Jonathan Rosenbaum 6f3fc83a0b Adds a few additional transactions to the membership benefits definition. 2017-08-07 20:08:36 +00:00
Jonathan Rosenbaum f69c4d49c9 Defines Membership discount. 2017-08-07 01:22:06 +00:00
Jonathan Rosenbaum fc694c4a87 Adds new stand time definition for free stand time period. 2017-08-06 05:17:58 +00:00
Jonathan Rosenbaum d0e88bac58 Turns off/on spinner for membership based on choices in functions. 2017-08-03 00:15:38 +00:00
Jonathan Rosenbaum d4cb86b3c0 Adds transactions_with_volunteer_benefits and transactions_with_membership_benefits.
* Allows transactions to provide volunter and/or membership benefits
* Volunteer benefits take precedent for patrons with both types of benefits if a tranaction offers both.
2017-08-02 22:27:39 +00:00
Jonathan Rosenbaum 6a89e5d675 Adds a new definition, stand_time_value. 2017-08-01 05:15:20 +00:00
Jonathan Rosenbaum 670d27432b Add MAX_BIKE_EARNED definition. 2017-07-26 19:19:28 +00:00
Jonathan Rosenbaum 7969da316c Adds a missing ; in new definition. 2017-07-23 17:13:48 +00:00
Jonathan Rosenbaum ea3390354c Adds Stand Time definitions. 2017-07-23 16:55:08 +00:00
Jonathan Rosenbaum 1805449b50 Changes Personal to Stand Time and many other things:
* Updates populate
* Makes Stand Time a special transaction_type_id
* Adds new definitions to database_functions
2017-07-20 22:29:33 +00:00
Jonathan Rosenbaum 3c734a60e2 Fixes active flag for transation_type pulldowns. 2017-07-20 19:09:18 +00:00
Jonathan Rosenbaum 072313ffc3 Adds constants for membership and volunteers. 2017-07-17 06:03:43 +00:00
Jonathan Rosenbaum 2c78a54486 You can now use local_configuations.php for configuration. 2017-07-15 19:12:20 +00:00
Jonathan Rosenbaum ce921e8169 Added realpath so that included files work properly. 2017-07-15 18:48:34 +00:00
Jonathan Rosenbaum 2d12b59786 You may now use Connections/local_configurations.php for configurations. 2017-07-15 18:14:44 +00:00
Jonathan Rosenbaum e7120a042a Fixing bug created by previous commit.
Only increasing max_name_length for the one known affected function.  In the
future will need to explore this even further, since there are names a lot
longer than 20 characters.
2016-03-26 07:13:10 +00:00
Jonathan Rosenbaum 6d4585b804 $max_name_length is now globally controlled.
20 was too short for some names, increased it to 30, not sure why this variable
was historically necessary.
2016-03-26 07:02:23 +00:00
Jonathan Rosenbaum f783891e95 The first stage of allowing the waiver label to be modified in
database_functions; the next step will be testing changes to
contact_add_edit.php on the test system.
2016-03-26 05:12:31 +00:00
Jonathan Rosenbaum 7d2372dc15 Adds paid membership period in days. 2016-01-30 03:26:02 +00:00
Jonathan Rosenbaum f89c86384a Creates GnuCash csv transaction files!
1) Does not automatically download them the browser yet, but can be found in the designated directory.  Works great with GnuCash!  Victory!
2015-04-06 07:31:42 +00:00
Jonathan Rosenbaum 81fdd2c518 send values for processing individual csv files for each selected account type 2015-04-03 05:00:51 +00:00
Jonathan Rosenbaum 45b71aca5c Adds submit button and improves gui.
1) Adds more text explanation .. although NULL transactions are just an experimental idea.
2) beginnings of submit code
2015-04-02 20:15:59 +00:00
Jonathan Rosenbaum 8e20312ca7 Clarified documentation for SHOW_SHOP_ID
- This is the ability to making transaction id editable
- Concurrent shops at different locations
- Same shop location at a different time
2015-03-22 01:24:50 +00:00
Jonathan Rosenbaum fd6371598a The beginnings of showing when volunteer gains membership status.
1)  Based hours/days
2)  Will add calendar year spec.
2015-03-17 17:13:11 +00:00
Jonathan Rosenbaum 67ffd06c37 Distinct values if user logins more than once - list_CurrentShopUsers
1) a user can serve in many roles, but before this change there were duplicated entries in the pull-down in transactions if that would happen.
2015-03-14 19:24:47 +00:00
Jonathan Rosenbaum 825b4cbf90 Caught a typo in the waiver, doesn't affect code. 2015-03-07 07:16:00 +00:00
Jonathan Rosenbaum 71aa35af00 Fixed two bugs with interest survey.
1)  Removed UNIQUE from selections.selection
2)  SELECT query added contact_id

nicer
2015-03-06 18:39:59 +00:00
Jonathan Rosenbaum e9e3a0ef66 This completes the interest survey logic.
1).  In confs, update works well, delete has an issue with on delete cascade.
2).  Saves state properly.  Now just need to create a front-end to query for volunteer organizers.
2015-03-06 08:27:15 +00:00
Jonathan Rosenbaum e33531303f Interests now populate the database as defined in the configurations.
1). Directions are in database_functions.
2). Initial population occurs on first submit.
3). Interests can be changed or deleted
4). It isn't a GUI interface, but it is useful for those without a MySQL understanding.
2015-03-05 05:09:50 +00:00
Jonathan Rosenbaum 6bbf55a25e Changes the header for shop_log and start_shop.
1)  Pages will go back to shop_welcome (original behavior) but for these two pages.  This prevents transaction pages from going back.
2) Added an About/Help link to the left.
3) Changed the width/margin of the associated tables so that it would line up withe new table presenting the menu links.
2015-03-04 18:52:49 +00:00
Jonathan Rosenbaum a82afc8425 This removes the handles from the slider for contacts.
1)  Also, changed the text a little for volunteer interests, added 3D-printing, etc.
2015-03-03 23:12:16 +00:00
Jonathan Rosenbaum 956df1761d Adds delete/update variables for interests.
1) No confirguration GUI yet, but this is many times better than requiring people to make these changes directly to the database.
2015-03-03 20:38:13 +00:00
Jonathan Rosenbaum cf3cfe8838 Created a new table 'options' to store interest inventory values
also ..
1). zip to Zip Code .. some day will need to make international
2) changed Fill-in Form to "Check them out!" for volunteer interest .. subject to real world testing.
2015-03-03 10:27:11 +00:00
Jonathan Rosenbaum 88d717cdca Adds tab indexing an initial focus 2015-03-03 03:26:20 +00:00
Jonathan Rosenbaum 62231e8d68 Fixes the css issue for contact_add_edit. 2015-03-03 02:33:55 +00:00
Jonathan Rosenbaum 96e2c941b8 Begins linking volunteer interest form into page. 2015-03-02 09:54:45 +00:00
Jonathan Rosenbaum ae846cf5b9 This defines constants/variables for a volunteer interest form. 2015-03-01 09:11:02 +00:00
Jonathan Rosenbaum e51d5a1c89 Provides an interface to an email connector.
Define a url for an email connector that will connect to an email list.
The url can be a server:port, program, etc.
Name (First, Last) email address, and connector password will be sent to the connector.

The purpose of email connectors is to provide autonomy in the choice
of email services and programs.  E.g. mailman, googlegroups
See ./examples for an example connector
2015-02-28 03:08:26 +00:00
Jonathan Rosenbaum b1a11b9f3b Saves state for waiver & email_list, and more
1).  Adds configuration options to turn off waiver & email_list options
2).  Puts waiver in Connections/waiver.txt
3).  New MySQL waiver column added, receive_newsletter used for email_list.
2015-02-25 09:23:41 +00:00
Jonathan Rosenbaum 763587f840 Adds a toggle for email lists.
1).  Improvments to name/email regexp
2).  beginnings of validation logic for email list toggle
2015-02-12 07:17:59 +00:00
Jonathan Rosenbaum a1717c99af Fixes a minor textarea bug by removing whitespace in the code. 2015-02-11 07:48:30 +00:00
Jonathan Rosenbaum 7b64d0c494 Spiffs up contact_and_edit, adding error correction and required waiver.
1). Next step will be an opt-in/out to mailman.
2). Originally this program was using google lists, but there are too many steps for users involved.
2015-02-11 01:55:38 +00:00
Jonathan Rosenbaum c31551d66a Fixed the payement type label bug, but altering the selector.
1).  This selector turned of edit when clicked, but because of the way it was construed it was hiding the label.  Only became obvious when the validation tests were added.
2015-01-28 08:12:13 +00:00