root / lib / purchases.lib.php

View | Annotate | Download (4.8 KB)

# Date Author Comment
6ebba44e 02/18/2010 06:59 PM Cameron Fackler

Update copyright date to 2010

ae26c98f 12/24/2009 10:09 PM Josh Elser

Add optional $db argument

47172e71 12/21/2009 09:12 PM Josh Elser

Add addPurchase and addPurchaseItem methods

8fc2fe4d 12/21/2009 08:26 PM Josh Elser

Forgot to actually set the $club_id

f2ddf8d8 12/19/2009 10:13 PM Josh Elser

Centralize the purchases

abf008e6 10/29/2009 12:28 AM Colin Sullivan

Removed pagination, and implemented searching and sorting on all pages. Fixes feature 77

fd389ac4 09/16/2009 12:17 PM Colin Sullivan

Fixed permissions back to the way they were before I messed them up :)

856037c4 09/16/2009 10:38 AM Colin Sullivan

Proper escaping of characters when inserted into database

This was only happening for the '&' character (upon inserting a new business), because the values were being passed along via $_GET over AJAX. I changed it to use $_POST instead, using the jQuery ajax framework (since I don't know how to use the prototype one).

bd279a60 06/02/2009 01:51 PM Josh Elser

Updated the copyright to be the current year.

49c67e0d 05/07/2009 06:50 PM Josh Elser

Paginated the viewPurchases page.

cdcdb282 03/21/2009 11:03 PM Josh Elser

Added businesses, repairs, and purchases to the summary. removed some unnecessary code as well.