1
0
mirror of https://github.com/fspc/Yellow-Bike-Database.git synced 2025-02-22 08:53:23 -05:00

96 Commits

Author SHA1 Message Date
Jonathan Rosenbaum
70c8a37e48 Removes phpconsole test! :) 2019-03-14 06:36:30 +00:00
Jonathan Rosenbaum
4f26664388 Closes #86 using regexp solution.
Should work well as long as the network doesn't change. I considered doing a straight-out IP swap during the 24hr period for such an unusual scenario, however, that would not allow for any separation of location if a shop is opened somewhere else.
2019-03-14 06:31:00 +00:00
Jonathan Rosenbaum
3c3e4a0bf3 Adds if( !defined( '*' ) ) to avoid E_NOTICE and redefining.
* Improves error output when using phpconsole (transaction.log) to stop output of E_DEPRECATED.

* The main objective is to better view phpconsole's output. E_NOTICE and E_WARNING are important, regardless.
2019-03-14 05:12:16 +00:00
Jonathan Rosenbaum
2380d6a6d4 This closes #78 and closes #80.
What I thought was a desired equitable behavior for eab was actually a bug.  Now behavior is predictable. Only checks for 0.00 and 0, so 0.0 would create an issue, but unlikely to happen.
2018-12-21 07:26:42 +00:00
Jonathan Rosenbaum
ca4085109c This closes #83 adding probation status to shop_log for contact_id. 2018-12-20 22:04:55 +00:00
Jonathan Rosenbaum
b18cf97f7c Cleaning up the regexp for #69. 2018-05-14 23:13:08 +00:00
Jonathan Rosenbaum
d0828bc80b Closes #69 adding word search capability for transaction_log. 2018-05-14 22:28:46 +00:00
Jonathan Rosenbaum
305ebee833 Closes #62.
* Provides contact search in transaction_log
* future: may improve calendar search with PickMeUp?
2018-05-13 00:03:01 +00:00
Jonathan Rosenbaum
17684f6e10 Fixes #61. Redundant named constant. 2018-05-11 05:18:22 +00:00
Jonathan Rosenbaum
b6e416a416 Improves instructions 2018-05-09 07:11:45 +00:00
Jonathan Rosenbaum
0b56dea180 Closes #68 2018-04-27 07:33:33 +00:00
Jonathan Rosenbaum
8aae19686b This partially addresses #43. 2017-12-11 06:38:56 +00:00
Jonathan Rosenbaum
8789a289b7 New configurations for etherpad; more documentation on the wiki coming. 2017-12-11 02:13:58 +00:00
Jonathan Rosenbaum
959fc08092 This implements etherpad (#39) for individual_history_log! 2017-12-09 07:09:35 +00:00
Jonathan Rosenbaum
8ba910b37b Adds better error output, fixes #34. 2017-11-17 02:54:44 +00:00
Jonathan Rosenbaum
a2a0b10077 Actually no for #23, doesen't resolve seconds or even ti/to. 2017-11-16 03:27:53 +00:00
Jonathan Rosenbaum
4574410744 Fixes #23 - time skewed by one step! 2017-11-16 02:13:43 +00:00
Jonathan Rosenbaum
cc41801975 Just a spelling correction. 2017-11-13 08:07:13 +00:00
Jonathan Rosenbaum
52069d9b52 Fixes a bug introduced by adding datetime with enh #26.
* links for shop_log weren't opening up the latest shop, or any shop.
2017-11-13 05:45:59 +00:00
Jonathan Rosenbaum
104de44dc5 This closes #25!
* Requires mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql
2017-11-13 00:38:01 +00:00
Jonathan Rosenbaum
f7d389551a This resolves #23
* Adds LIST_MINUTE_INTERVAL
* Creates a new generic function from list_min15() .. list_min() with one new arguement, the minute interval that 60 should divide by cleanly.
* May clean up the $elapsed_hours, but currently have LIST_MINUTE_INTERVAL set to 1, so we are happy!
2017-11-12 04:21:35 +00:00
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