Jonathan Rosenbaum
17684f6e10
Fixes #61 . Redundant named constant.
7 years ago
Jonathan Rosenbaum
0b56dea180
Closes #68
7 years ago
Jonathan Rosenbaum
937bf5adff
Fixes #51 ; a matter of SQL.
7 years ago
Jonathan Rosenbaum
d0028b5779
Adds performance improvements for volunteer_benefits closing #46
* Major changes, will test more, but appears to be working very well.
7 years ago
Jonathan Rosenbaum
33c5e60969
Combines result1 with result2 in prep to address volunteer for #46 .
7 years ago
Jonathan Rosenbaum
f59020a823
membership_benefits now just one call as desired for issue #46
* now need to do the same thing for volunteer_benefits
7 years ago
Jonathan Rosenbaum
655d009766
Fixes #38 with TIMEDIFF.
7 years ago
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
7 years ago
Jonathan Rosenbaum
2c05f7e768
Properly reflects membership discount in amount on save.
7 years ago
Jonathan Rosenbaum
609078a60d
Removes an uncessary function call and callback return that was used to Stand Time which was replaced by accurate code in transactions.js.
7 years ago
Jonathan Rosenbaum
20741bd9d6
Provides membership discount value on callback.
7 years ago
Jonathan Rosenbaum
a084161d03
Free stand time for bike purchases is now working.
7 years ago
Jonathan Rosenbaum
ff0bb290e2
Tests the free stand time callback.
7 years ago
Jonathan Rosenbaum
aeb6b23889
Adds volunteer history update.
7 years ago
Jonathan Rosenbaum
f95f2d2b2c
This gets volunteer history select working correctly.
7 years ago
Jonathan Rosenbaum
e6b05b4eab
Callback to query Volunteer benefits history.
7 years ago
Jonathan Rosenbaum
d0e88bac58
Turns off/on spinner for membership based on choices in functions.
7 years ago
Jonathan Rosenbaum
76b73352dc
Adds VOLUNTEER_DISCOUNT.
7 years ago
Jonathan Rosenbaum
6a89e5d675
Adds a new definition, stand_time_value.
7 years ago
Jonathan Rosenbaum
4feb5022eb
Puts all volunteer data into one column called "volunteer".
* Reflects the changes in json, and adds more definition to the json callback.
7 years ago
Jonathan Rosenbaum
e663006698
Some experimentation making sure the spinner is working.
* Need to improve the css
* Need to link everything togther, the fun part!
7 years ago
Jonathan Rosenbaum
7a09ccfead
Won't charge stand time if a member. Simplified callback reusing funtion.
7 years ago
Jonathan Rosenbaum
f1daa79213
Fixes a bug, and adds membership_benefits function for easier querying.
7 years ago
Jonathan Rosenbaum
ff0142aa30
Improves logic for multiple logins and real sign out.
7 years ago
Jonathan Rosenbaum
a05575999c
Improves the presentation.
7 years ago
Jonathan Rosenbaum
eaefff480c
Figures out stand time amount with optional grace period.
7 years ago
Jonathan Rosenbaum
e724e8d9cb
The beginnings of Stand Time logic.
7 years ago
Jonathan Rosenbaum
79e246246d
Now carries over the current year volunteer hours data.
7 years ago
Jonathan Rosenbaum
e9da500848
This adds SQL logic for current year volunteer hours and visits.
7 years ago
Jonathan Rosenbaum
787fff74d6
Adds initial Volunteer Hour logic and displays in transactions with title.
7 years ago
Jonathan Rosenbaum
fb422fcc3b
This returns the latest expiration date for membership.
Future proofing when people have had more than 1 paid membership!
7 years ago
Jonathan Rosenbaum
b9497ac7c3
Show whether a patron is a paid member or not.
7 years ago
Jonathan Rosenbaum
109cf3d3c9
Adds checking number to cvs num if one exists.
10 years ago
Jonathan Rosenbaum
e983cc7d0f
Added statements for anonymous transactions.
10 years ago
Jonathan Rosenbaum
f23720cf6d
Adds coordinators name to the csv description.
10 years ago
Jonathan Rosenbaum
80d85c9dcd
Adds patrons name to the csv description.
10 years ago
Jonathan Rosenbaum
6d636aaff6
Removes an uncessary mysql_fetch_assoc line from credit.
10 years ago
Jonathan Rosenbaum
76ad12e4a3
Returns directory and filename for GnuCash csv
10 years ago
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!
10 years ago
Jonathan Rosenbaum
c5443438f9
initial templating of gnucash csv creation
10 years ago
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
10 years ago
Jonathan Rosenbaum
bae4030274
$0 deposits now acceptable for record-keeping reasons
Originally, deposits of $0 (amount > 0) would not be considered real deposits, however, there may be shops where only non-monetary transactions occurred (amount >= 0) which would be useful to record in an accounting program.
One caveat, if a monetary transaction is recorded, but the depositor only enters $0, the deposit will show "Difference: n/a", however this should be a cue since it should be obvious that a real world deposit of $0 would not be made at a bank.
10 years ago
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.
10 years ago
Jonathan Rosenbaum
8f8e1623df
Correct transaction_id for storage transactions in history.
10 years ago
Jonathan Rosenbaum
e47498a00a
Transaction history is now stored.
1). Next step, view history in the transaction when more than 1 transaction.
10 years ago
Jonathan Rosenbaum
be43ea3245
Show start storage original date if it has changed.
1). Some css improvments.
2). The beginnings of transaction history.
3). Trying to find out why the window reloads twice on transactions without errors.
10 years ago
Jonathan Rosenbaum
50c740feb8
Adds a hidden input field to remember non-logged user value in edit trans.
10 years ago
Jonathan Rosenbaum
304c9e2f37
Added not logged-in logic for transaction edit, also:
1). Added error spans for transaction edit
2). Removed some css from transaction.js
3). Added css for errors to transaction.css
10 years ago
Jonathan Rosenbaum
934bc4438c
Gives #1 trans and id of 0.
10 years ago
Jonathan Rosenbaum
deaa8ea02f
Adds new logic to handle 1-only real depost.
1). If 1 real deposit exists, and next real deposit hasn't been
deposited.
10 years ago