Commit Graph
84 Commits
Author SHA1 Message Date
Jonathan Rosenbaum 6d636aaff6 Removes an uncessary mysql_fetch_assoc line from credit. 2015-04-06 09:10:25 +00:00
Jonathan Rosenbaum 76ad12e4a3 Returns directory and filename for GnuCash csv 2015-04-06 08:39:31 +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 c5443438f9 initial templating of gnucash csv creation 2015-04-03 06:54:16 +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 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.
2015-04-02 03:57:10 +00:00
Jonathan Rosenbaum 6aa95e1ad4 Added an example of a working connector.
- mailman specific
- has been tested to work properly for both subscribe, and unsubscribe
- uses node.js
- two stage security
  1) password is specific to connector for recognization
  2) password used by list not kept local
- ssl used for all communication
- yeah!
2015-02-28 09:54:13 +00:00
Jonathan Rosenbaum 39def79d87 Improves the code to connector. 2015-02-28 06:36:36 +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 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 8f8e1623df Correct transaction_id for storage transactions in history. 2015-02-08 09:00:06 +00:00
Jonathan Rosenbaum e47498a00a Transaction history is now stored.
1).  Next step, view history in the transaction when more than 1 transaction.
2015-02-06 09:50:57 +00:00
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.
2015-01-29 07:32:02 +00:00
Jonathan Rosenbaum 50c740feb8 Adds a hidden input field to remember non-logged user value in edit trans. 2015-01-26 19:15:36 +00:00
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
2015-01-26 18:52:16 +00:00
Jonathan Rosenbaum 934bc4438c Gives #1 trans and id of 0. 2015-01-26 02:43:47 +00:00
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.
2015-01-26 02:09:04 +00:00
Jonathan Rosenbaum 5e11243d41 Provides fake deposits when none or only 1 exists. 2015-01-25 23:53:08 +00:00
Jonathan Rosenbaum 9d4ec10312 Adds range to slider, and links it to year choice. 2015-01-24 03:33:17 +00:00
Jonathan Rosenbaum c034d5d72e Fixes a search bug when date is in the past. 2015-01-16 00:18:58 +00:00
Jonathan Rosenbaum f8b96a05b7 When no shop, prevents unloaded page transactions from being edited. 2015-01-15 07:33:09 +00:00
Jonathan Rosenbaum c1a33b7076 Provides anonymous capability for transactions. 2015-01-12 05:19:09 +00:00
Jonathan Rosenbaum 2a0d9f542f Resets payment_type && amount if storage date is nullified. 2015-01-10 11:06:21 +00:00
Jonathan Rosenbaum d16811fe95 Added editable Change Fund.
1. Mouseover allows edit of Change Fund.
2. Difference is shown, and stored in db for page reloads.
2015-01-10 07:54:12 +00:00
Jonathan Rosenbaum 33b4d29417 Provides error correction for no current shop. 2015-01-07 07:59:33 +00:00
Jonathan Rosenbaum 7658c11d53 Added check number when Check is clicked. 2015-01-06 08:25:57 +00:00
Jonathan Rosenbaum d40dfca931 Cleans up the code, and allows proper behavior.
1.  async:false because mysql can be slow
2.  improved a regexp causing weird behavior with edit button
2015-01-04 01:35:19 +00:00
Jonathan Rosenbaum 511dc81471 Added some human interaction with Deposit Calculator. 2015-01-03 11:00:33 +00:00
Jonathan Rosenbaum 890b8f1b15 Yeah, working mysql/json logic is in place! 2015-01-03 07:50:48 +00:00
Jonathan Rosenbaum d8b74b7a79 More preps for Deposit Calculator. 2015-01-02 22:44:27 +00:00
Jonathan Rosenbaum f6d392b0b5 Several improvements:
1.  Now uses better function, CurrentShopUser for signed-in users so that people need to be signed in to make purchases.
2.  Improved header text for Contacts.
3.  Removed edit link when paid checked.
4.  Fixed populate.sql
5.  Added payment type column in transaction_log.php
2015-01-02 10:12:37 +00:00
Jonathan Rosenbaum f72f022811 Added payment_type. 2014-12-29 07:53:41 +00:00
Jonathan Rosenbaum 508ed7c3b9 jQuery - when paid checkbox is checked/unchecked database is updated.
Color changes, too.
2014-12-26 06:26:26 +00:00