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

276 Commits

Author SHA1 Message Date
Jonathan Rosenbaum
3a0a83cd37 Adds same SQL logic as with paid_membership stats. 2017-07-17 19:16:21 +00:00
Jonathan Rosenbaum
be7155de5d Improves the text in the headers. 2017-07-17 19:12:16 +00:00
Jonathan Rosenbaum
8a8009c1f1 Removes an unintentional copy/paste bug. 2017-07-17 19:10:31 +00:00
Jonathan Rosenbaum
7ce6389cd6 Adds another MAX so newest expiration date is reflected. 2017-07-17 19:06:48 +00:00
Jonathan Rosenbaum
8089b40f19 Changed to show only the most recent membership. 2017-07-17 18:45:20 +00:00
Jonathan Rosenbaum
afb64b7420 Adds title in span with email, phone, exp. date for membership.
Ofcourse, ask for ID, too.  May add membership # in the future.
2017-07-17 09:16:46 +00:00
Jonathan Rosenbaum
fb422fcc3b This returns the latest expiration date for membership.
Future proofing when people have had more than 1 paid membership!
2017-07-17 07:11:21 +00:00
Jonathan Rosenbaum
69ea453461 Changes the language from members to metrics
The reason is because Positive Spin policies have changed.  These metrics give you a better idea of who has actually been at the shop based on metrics:

Days and Hours (currently 2 / 8)
2017-07-17 06:39:15 +00:00
Jonathan Rosenbaum
072313ffc3 Adds constants for membership and volunteers. 2017-07-17 06:03:43 +00:00
Jonathan Rosenbaum
b9497ac7c3 Show whether a patron is a paid member or not. 2017-07-17 06:02:32 +00:00
Jonathan Rosenbaum
ac54744d20 Removes debugging code. 2017-07-17 06:01:02 +00:00
Jonathan Rosenbaum
60a63e360a This creates divs spans to show data about membership / volunteers. 2017-07-17 05:58:53 +00:00
Jonathan Rosenbaum
aee1543b0c Gets rid of debug and unnecessary code. 2017-07-17 00:31:56 +00:00
Jonathan Rosenbaum
1c7d28dd36 Working properly, was borrowing some volunteer metric query before. 2017-07-17 00:28:31 +00:00
Jonathan Rosenbaum
447f7afd61 Now properly finds paid members who are volunteers by metric. 2017-07-17 00:16:44 +00:00
Jonathan Rosenbaum
d1c4b91a1f Header description improvement. 2017-07-15 23:41:42 +00:00
Jonathan Rosenbaum
f44c6d2bb3 Adds stats for paid members. 2017-07-15 23:38:49 +00:00
Jonathan Rosenbaum
29eefefd39 Nicer than using exclude in .git 2017-07-15 22:51:52 +00:00
Jonathan Rosenbaum
2fd156e66e More for DHHR. 2017-07-15 22:45:23 +00:00
Jonathan Rosenbaum
8f7f737068 Adds a link to dhhr.php
This file is currently not in devel, but it is being used for Positive Spin.
2017-07-15 22:43:05 +00:00
Jonathan Rosenbaum
7286fc8c3e Adds a link to dhhr.php
This file is currently not in devel, but it is being used for Positive Spin.
2017-07-15 22:39:12 +00:00
Jonathan Rosenbaum
2617c008c0 Improves the header information with days/hours. 2017-07-15 22:30:00 +00:00
Jonathan Rosenbaum
461bddac81 Improves the output. 2017-07-15 22:20:46 +00:00
Jonathan Rosenbaum
163645a329 This corrects the sql membership logic. 2017-07-15 22:08:09 +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
c54bd12f16 Added a little css magic for the footer. 2017-07-15 06:04:35 +00:00
Jonathan Rosenbaum
57f3a2b9ef Reverse wiki link. 2017-07-15 05:53:07 +00:00
Jonathan Rosenbaum
d2c5e518c7 Wiki link. 2017-07-15 05:51:41 +00:00
Jonathan Rosenbaum
ad9cb37cd4 Adds Bugs, Wiki, and Development info in the footer! 2017-07-15 05:49:15 +00:00
Jonathan Rosenbaum
d8d16af935 Checking if adding a space after # in Markdown brings back the header. 2017-07-15 04:39:15 +00:00
Jonathan Rosenbaum
51f91ddbad Add a deposit to initialize the POS 2017-07-14 03:21:33 +00:00
Jonathan Rosenbaum
bb89cba8ba Thought it would be a good idea to add the database schema. 2017-07-13 19:45:14 +00:00
Jonathan Rosenbaum
dfc8bd477a Changes length of description shown. Allows for lazy searches in the browser. 2017-07-13 19:03:40 +00:00
Jonathan Rosenbaum
dc228a84ca Adds full Desciption for each description when hoving over column. 2017-07-02 21:46:00 +00:00
Jonathan Rosenbaum
aa0f870d28 Provides error checking when sold_to or sold_by are not logged-in. 2016-10-10 07:32:54 +00:00
Jonathan Rosenbaum
2d3a184e84 Corrects error checking for middle name.
When and existing contact was updated it would produce an error that the
contact already existed, and a new middle name needed to be used, also when
created a contact without adding a first and/or last name the same error was
produced.  This fix corrects that bug.
2016-05-09 04:19:05 +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
8ed593e4d5 This adds WAIVER_LABEL so that it can be user defined.
The button changes to "Show Complete Text".
2016-03-26 05:37:52 +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
4c6622440f Adds proper comparison for unique visitors. CAST can be used, too. 2016-02-03 08:31:01 +00:00
Jonathan Rosenbaum
f0263359f2 Changed a title. 2016-01-30 20:44:43 +00:00
Jonathan Rosenbaum
7d2372dc15 Adds paid membership period in days. 2016-01-30 03:26:02 +00:00
Jonathan Rosenbaum
92fe18644d Adds membership stats. An important addition.
Currently, searches ranges for volunteer specs for membership, and notes paid
member when they also qualify as a volunteer member.
2016-01-30 03:19:01 +00:00
Jonathan Rosenbaum
16e0bbcbf9 Adds documentation for Memberships transaction_type_id. 2016-01-30 03:16:50 +00:00
Jonathan Rosenbaum
ff3e59e2d0 The beginnings. Looking forward to this one, and linking to paid members. 2016-01-29 10:59:02 +00:00
Jonathan Rosenbaum
8eac9b6dd5 Stat totals for shop types. In the future a graph would be nice. 2016-01-29 10:38:55 +00:00
Jonathan Rosenbaum
4a77289b2f Adds mysql free specific to the query. 2016-01-29 10:37:15 +00:00