Commit Graph
49 Commits
Author SHA1 Message Date
Jonathan Rosenbaum a2fbb3d5cc Added SHOP_SHOP_ID option.
1). Most collectives require only one shop at a time, but YBDB provides a way to handle 2 concurrent shops in the same location.  The current shop will be shown, and users will have to remember the number of the previous shop to enter into the transaction.  Note: Remote shops function independently via there IP identification.
2015-01-28 07:16:40 +00:00
Jonathan Rosenbaum 2175ab18e4 Removes a bug where Payment Type label became hidden.
1).  Relates an on load selector with hide() that has been preempted
     by the new error validation.  But will watch to make sure new
     bugs haven't been introduced.
2015-01-28 06:44:54 +00:00
Jonathan Rosenbaum b01649d369 Select Type is now static to avoid unnecessary errors.
1).  Makes better sense from a UI perspective.
2015-01-28 04:30:42 +00:00
Jonathan Rosenbaum e8610e6b2f Removes "no description" now that error validation is in effect.
1).  Deposits don't require a description.
2015-01-27 22:42:18 +00:00
Jonathan Rosenbaum 4254265850 Adds a large majority of error check for edit transactions.
1). Adds more to css
2). Changes $transaction_id to transaction_id in *js
3). Shortens some selectors
4). Adds additional error spans
5). A few checks need bug fixes (check_number, payment_types)
2015-01-27 07:27:27 +00:00
Jonathan Rosenbaum 60bd4befea Replaces show_soldto_location with 2 new columns.
1). show_soldto_signed_in or show_soldto_not_signed_in
2).  More info can be found in populate.sql
2015-01-26 21:10:41 +00:00
Jonathan Rosenbaum 75bf45ad0e Adds sale date error span. 2015-01-26 19:32:43 +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 df66ead71e Puts inputs on same row as transaction slider. 2015-01-25 03:00:15 +00:00
Jonathan Rosenbaum 88cdfc5887 Made transaction slider keyboard friendly. 2015-01-25 02:51:47 +00:00
Jonathan Rosenbaum 063c9fcfe3 Adds all deposits to the range per year, and last deposit from prev year. 2015-01-24 06:43:00 +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 2593c6fe9b Improvements to saving search state. 2015-01-23 10:19:22 +00:00
Jonathan Rosenbaum 04c2574c99 Removed rest of PHP SELFs, mapped account to values in conf. 2015-01-21 21:47:16 +00:00
Jonathan Rosenbaum 69cc2241d2 Moved individual_history back to /, and removed another PHP_SELF from trans. 2015-01-20 06:12:13 +00:00
Jonathan Rosenbaum 2dd7573408 Saves state for trans search; slider improvements. 2015-01-17 10:28:10 +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 e59f090355 Added more of the interface to generate csv files for GnuCash. 2015-01-15 21:29:36 +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 e444cdb93c Preparing GnuCash CSV interface, and fixed no shop bug with new logic. 2015-01-14 06:10:04 +00:00
Jonathan Rosenbaum d689505318 Spiffed up the search near the footer. 2015-01-13 20:08:03 +00:00
Jonathan Rosenbaum e168381a05 Fixes a bug where storage transactions don't show up in searches if NULL.
1.  Also adds a configuration for a directory to write/download csv files from.
2.  Including directions for the above.
2015-01-13 05:56:03 +00:00
Jonathan Rosenbaum c1a33b7076 Provides anonymous capability for transactions. 2015-01-12 05:19:09 +00:00
Jonathan Rosenbaum 9f5c338738 Storage transaction id now changes to most recent when transaction complete. 2015-01-11 09:09:36 +00:00
Jonathan Rosenbaum dfa8d2b2ea Moved display:none to php for reload. 2015-01-10 08:18:08 +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 b5be74863d Fixes an annoying problem with PHP_SELF, corrected by using "". 2015-01-06 10:16:36 +00:00
Jonathan Rosenbaum 7658c11d53 Added check number when Check is clicked. 2015-01-06 08:25:57 +00:00
Jonathan Rosenbaum a94d62c78b Improves user input and output for Deposit Calculator. 2015-01-04 08:50:47 +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 06188f5dfe Now will properly report current shop for shop 1. 2014-12-31 08:18:37 +00:00
Jonathan Rosenbaum dc7dd4d01f Beginning of transaction calculator framework & enh. 2014-12-31 05:53:49 +00:00
Jonathan Rosenbaum 7ddff6778c More enhancements on deposits before adding business logic. 2014-12-30 16:39:31 +00:00
Jonathan Rosenbaum baebf5612b Improves Deposit presentation.
Also,
1. renumbered tabindex
2. added constant for default number of rows shown for transactions.
2014-12-30 09:32:59 +00:00
Jonathan Rosenbaum 2370ccee7b Many goodies for a better user experience.
1. New NONSHOP constant. 0=no function =>1 is function
2. Moved individual_hours_log back to /
3. Added better view/business logic for storage transactions,
   and new documentation.
4. New users logging in can immediately add a project/comments
5. Added more documentation to populate and a new show_payment field.
2014-12-30 08:34:49 +00:00
Jonathan Rosenbaum f72f022811 Added payment_type. 2014-12-29 07:53:41 +00:00
Jonathan Rosenbaum 6f1a9d241e Another UI change, css file, and sql change. 2014-12-29 01:18:02 +00:00
Jonathan Rosenbaum 203708dad2 Improvements to the transaction UI. 2014-12-29 00:14:26 +00:00
Jonathan Rosenbaum d2332719a0 Replaces some hardwired variables with user-defined constants. 2014-12-27 07:59:59 +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
Jonathan Rosenbaum 87eb7fba3a Changes Submit to Save for better HID. 2014-12-23 06:15:46 +00:00
Jonathan Rosenbaum b385089144 Replaces YBP home with PS home :), and turns relative links absolute. 2014-12-23 04:56:36 +00:00
Jonathan Rosenbaum 796c1f6ebb A few changes before implementing jquery, and move sql to sql dir. 2014-12-20 02:27:44 +00:00
Jonathan Rosenbaum 5411617f64 Made several changes to transaction_log, removed unnecessary editor line from *select, added planb waiver to contact_add_edit, and changes to database_functions to fit into transaction changes. 2014-12-17 23:03:32 +00:00
Jonathan Rosenbaum 5636f65d33 Interesting changes made remotely with BlueFish in a Container.
The beginning of changing the logic of using location in transactions, to
using people.
2014-12-15 04:18:50 +00:00
Jonathan Rosenbaum 6d2028ae08 Initial commit of YBDB code from July 24, 2014. 2014-11-04 06:39:31 +00:00