Share

More
Time Accounting Management Software Icon

Time Accounting Management Software

beta

by captbrando


Time Accounting Management Software, or TAMS, is a PHP/PostgreSQL based time tracking, billing, and accounting package. This is useful for independent contractors, or consulting companies to track the time they spend on individual projects, bill accordin


http://tams.sourceforge.net





Separate each tag with a space.

Ratings and Reviews

Be the first to post a text review of Time Accounting Management Software. Rate and review a project by clicking thumbs up or thumbs down in the right column.

Project Feed

  • Forum comment added

    servant74 commented on the RE: Live Demo forum thread

    posted by servant74 1215 days ago

  • Code committed

    captbrando committed patchset 13 of module tams to the Time Accounting Management Software CVS repository, changing 3 files

    posted by captbrando 2540 days ago

  • Code committed

    captbrando committed patchset 12 of module tams to the Time Accounting Management Software CVS repository, changing 23 files

    posted by captbrando 2540 days ago

  • Forum thread added

    forrie created the MySQL forum thread

    posted by forrie 2553 days ago

  • Code committed

    captbrando committed patchset 11 of module tams to the Time Accounting Management Software CVS repository, changing 1 files

    posted by captbrando 2784 days ago

  • File released: /tams/1.0b2/tams-1.0b2.tar.gz

    posted 2789 days ago

  • TAMS 1.0b2 Released

    Fixed 2 bugs which would cause createinvoice.php to bomb. Here is the unified diff. =================================================================== RCS file: /cvsroot/tams/tams/createinvoice.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- tams/tams/createinvoice.php2001/08/16 15:11:041.1 +++ tams/tams/createinvoice.php2002/03/21 14:12:391.2 @@ -74,7 +74,11 @@ } function do_step2() { -global $dbase_host, $dbase_port, $dbase_dbname, $dbase_user, $dbase_password, $customerid; +global $dbase_host, $dbase_port, $dbase_dbname, $dbase_user, $dbase_password, $customerid, $HTTP_PREFIX; + +if (strlen($customerid) == 0) { +header("Location: ". $HTTP_PREFIX . "ticket.brw.net/createinvoice.php"); +} $conn = pg_pconnect("host=$dbase_host port=$dbase_port dbname=$dbase_dbname user=$dbase_user password=$dbase_password"); if (!$conn) { @@ -156,7 +160,11 @@ exit; } $result = pg_exec($conn, "SELECT ((select sum(qty * unitprice) from tempinvoice where sessionid = '$PHPSESSID') + (select coalesce(sum(qty * unitprice * .0825),0) from tempinvoice where sessionid = '$PHPSESSID' AND taxable = 't')) as currentTotal FROM tempinvoice WHERE sessionid = '$PHPSESSID'"); -$currentTotal = number_format(pg_result($result,0,"currentTotal"),2); +if (pg_numrows != 0 ) { +$currentTotal = number_format(pg_result($result,0,"currentTotal"),2); +} else { +$currentTotal = number_format(0,2); +} ?> <a href="createinvoice.php">Start Over</a> @@ -289,10 +297,10 @@ $result = pg_Exec ($conn, "SELECT * from customer where customerid = $customerid;"); $row = pg_fetch_object($result,0); -$company_name = $row->company_name; -$address1 = $row->address1; -$address2 = $row->address2; -$city = $row->city; +$company_name = ereg_replace("\'","\\'",$row->company_name); +$address1 = ereg_replace("\'","\\'",$row->address1); +$address2 = ereg_replace("\'","\\'",$row->address2); +$city = ereg_replace("\'","\\'",$row->city); $state = $row->state; $zip = $row->zip; $email = $row->email; @@ -316,7 +324,7 @@ pg_Exec($conn, "DELETE FROM ticketstobill WHERE sessionid = '$PHPSESSID'"); pg_close($conn); -//Header("Location: ". $HTTP_PREFIX . "ticket.brw.net/listinvoice.php?nextstep=3&customerid=$customerid&invoicenumber=$invoicenumber&PHPSESSID=".$PHPSESSID); +Header("Location: ". $HTTP_PREFIX . "ticket.brw.net/listinvoice.php?nextstep=3&customerid=$customerid&invoicenumber=$invoicenumber&PHPSESSID=".$PHPSESSID); } function do_add () {

    posted by captbrando 2789 days ago

  • Code committed

    captbrando committed patchset 10 of module tams to the Time Accounting Management Software CVS repository, changing 1 files

    posted by captbrando 2789 days ago

  • tams 1.0b2 file released: tams-1.0b2.tar.gz

    =================================================================== RCS file: /cvsroot/tams/tams/createinvoice.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- tams/tams/createinvoice.php2001/08/16 15:11:041.1 +++ tams/tams/createinvoice.php2002/03/21 14:12:391.2 @@ -74,7 +74,11 @@ } function do_step2() { -global $dbase_host, $dbase_port, $dbase_dbname, $dbase_user, $dbase_password, $customerid; +global $dbase_host, $dbase_port, $dbase_dbname, $dbase_user, $dbase_password, $customerid, $HTTP_PREFIX; + +if (strlen($customerid) == 0) { +header("Location: ". $HTTP_PREFIX . "ticket.brw.net/createinvoice.php"); +} $conn = pg_pconnect("host=$dbase_host port=$dbase_port dbname=$dbase_dbname user=$dbase_user password=$dbase_password"); if (!$conn) { @@ -156,7 +160,11 @@ exit; } $result = pg_exec($conn, "SELECT ((select sum(qty * unitprice) from tempinvoice where sessionid = '$PHPSESSID') + (select coalesce(sum(qty * unitprice * .0825),0) from tempinvoice where sessionid = '$PHPSESSID' AND taxable = 't')) as currentTotal FROM tempinvoice WHERE sessionid = '$PHPSESSID'"); -$currentTotal = number_format(pg_result($result,0,"currentTotal"),2); +if (pg_numrows != 0 ) { +$currentTotal = number_format(pg_result($result,0,"currentTotal"),2); +} else { +$currentTotal = number_format(0,2); +} ?> <a href="createinvoice.php">Start Over</a> @@ -289,10 +297,10 @@ $result = pg_Exec ($conn, "SELECT * from customer where customerid = $customerid;"); $row = pg_fetch_object($result,0); -$company_name = $row->company_name; -$address1 = $row->address1; -$address2 = $row->address2; -$city = $row->city; +$company_name = ereg_replace("\'","\\'",$row->company_name); +$address1 = ereg_replace("\'","\\'",$row->address1); +$address2 = ereg_replace("\'","\\'",$row->address2); +$city = ereg_replace("\'","\\'",$row->city); $state = $row->state; $zip = $row->zip; $email = $row->email; @@ -316,7 +324,7 @@ pg_Exec($conn, "DELETE FROM ticketstobill WHERE sessionid = '$PHPSESSID'"); pg_close($conn); -//Header("Location: ". $HTTP_PREFIX . "ticket.brw.net/listinvoice.php?nextstep=3&customerid=$customerid&invoicenumber=$invoicenumber&PHPSESSID=".$PHPSESSID); +Header("Location: ". $HTTP_PREFIX . "ticket.brw.net/listinvoice.php?nextstep=3&customerid=$customerid&invoicenumber=$invoicenumber&PHPSESSID=".$PHPSESSID); } function do_add () {

    posted 2790 days ago

  • Forum thread added

    captbrando created the LIVE DEMO ACTIVE forum thread

    posted by captbrando 2804 days ago

Rate and Review

Be the first person to add a text review.

Would you recommend this project?






<

Related Projects

Time Accounting Management Software Actions

Thanks for your rating!

Would you also like to write a review?





Skip Review