[Simplesheet-commits] SF.net SVN: simplesheet: [8] trunk
Status: Inactive
Brought to you by:
ronaldmaas
|
From: <ron...@us...> - 2007-07-25 14:17:06
|
Revision: 8
http://simplesheet.svn.sourceforge.net/simplesheet/?rev=8&view=rev
Author: ronaldmaas
Date: 2007-07-25 07:17:03 -0700 (Wed, 25 Jul 2007)
Log Message:
-----------
Correct the check for billable items
Modified Paths:
--------------
trunk/activityreport.php
trunk/listinvoice.php
Modified: trunk/activityreport.php
===================================================================
--- trunk/activityreport.php 2007-07-25 10:19:31 UTC (rev 7)
+++ trunk/activityreport.php 2007-07-25 14:17:03 UTC (rev 8)
@@ -327,7 +327,7 @@
</td>
<td bgcolor="<? echo $bgcolor;?>" valign=top align=right>
<?php
- if ($row["billable"] == "t") {
+ if ($row["billable"] == "Y") {
$moneytotal += $row["timespent"] * $row["rate"];
?>
$<?php echo number_format(($row["timespent"] * $row["rate"]),2); ?>
Modified: trunk/listinvoice.php
===================================================================
--- trunk/listinvoice.php 2007-07-25 10:19:31 UTC (rev 7)
+++ trunk/listinvoice.php 2007-07-25 14:17:03 UTC (rev 8)
@@ -339,7 +339,7 @@
</tr>
<?php
- $bfamt += $bfRow->amountdue;
+ $bfamt += $bfRow["amountdue"];
if ($bgcolor == "#FFFFFF") {
$bgcolor = "#DDDDDD";
} else {
@@ -544,7 +544,7 @@
</td>
<td bgcolor="<?php echo $bgcolor;?>" valign=top align=right>
<?php
- if ($detailrow["billable"] == "y") {
+ if ($ticketRow["billable"] == "Y") {
?>
$<?php printf ("%01.2f", ($ticketRow["timespent"] * $ticketRow["rate"])); ?>
<?php
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|