root / addPurchase.php

View | Annotate | Download (2.8 KB)

# Date Author Comment
c0e555cb 04/15/2010 10:10 PM Josh Elser

Add the custom fields and their default values to the addPurchase page

6ebba44e 02/18/2010 06:59 PM Cameron Fackler

Update copyright date to 2010

1fbde150 12/25/2009 08:58 PM Josh Elser

Use one database object

66923a0e 12/22/2009 06:44 PM Josh Elser

Use library business functions

f83cf1b2 12/19/2009 02:27 PM Josh Elser

Migrate the addPurchase page to the new db class

ec56bc34 09/27/2009 10:27 AM Colin Sullivan

Initial work on categories. Also added general function to format <options> from any table.

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).

2da48c68 07/25/2009 05:30 PM Josh Elser

Remove a testing line

4015b04c 07/25/2009 05:25 PM Josh Elser

Move the html generation into html and thus removing the JS help
datastructure

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

Updated the copyright to be the current year.

99113670 04/08/2009 12:48 PM Josh Elser

Removed old commented code that isn't being used

95db6916 04/08/2009 12:46 PM Josh Elser

Removed the 'Select a Location' field from the location drop-down on the addPurchase page. The first item in the drop down is the most commonly used location.

12b73e4d 03/25/2009 01:00 PM Colin Sullivan

Locations drop down now dynamically fills itself "onClick".

90a3eeac 03/20/2009 11:13 PM Cameron Fackler

Change database and custom template class includes. HUGE change. If anything breaks, blame Cameron.

1bd7d0a5 03/18/2009 11:22 AM Cameron Fackler

Move auth.php into lib directory, renamed to auth.lib.php. Update require statements.

3966fc9d 02/25/2009 01:29 PM Cameron Fackler

Fix the purchase page. Allows the number of items to be dynamically changed.

8d9fd683 02/04/2009 12:40 PM Cameron Fackler

Clean up formatting.

6b61b194 01/28/2009 01:22 PM Cameron Fackler

Remove config.php require_once from remaining files

00af9d04 01/28/2009 11:40 AM Colin Sullivan

Removed config.php include line

d10f030f 12/18/2008 11:49 PM Josh Elser

A much better approach to the purchases. A lot more checking needs to be done, but it's functioning how it was intended.

88661269 12/16/2008 01:26 AM Cameron Fackler

Refactor smarty setup, inc/setup.php contains a new Smarty_Inv definition to set directory locations

13b54cbb 12/15/2008 01:31 PM Josh Elser

Established a naming convention in all files. Lowercase first word, uppercase afterwards, e.g. viewInventory, insertLoanRecord.

3c7cee64 12/02/2008 11:58 PM Cameron Fackler

Changed 'Foobar' to 'RPInventory' in license text, done with git because svn is dumb.

5c4db27d 12/01/2008 12:27 PM Daniel Delaney

Added GPL license to all code files.

f7cb1759 12/01/2008 12:10 PM Daniel Delaney

Added half assed purchase items.
Modified DB structure for purchase items table.

69941a53 12/01/2008 01:28 AM Josh Elser

Functionality to add a purchase for an item. Only can add one item per purchase, so that needs to be redone.