Update web view
This commit is contained in:
@@ -245,7 +245,7 @@ function toggleOperations(parent, operations)
|
||||
<br /><br />
|
||||
<div id="operations">
|
||||
<table>
|
||||
<tr class="header" bgcolor="#99CCFF"><td/><td>Description</td><td>Date</td><td>Debit</td><td>Credit</td><td>Category</td><td>Account</td></tr>
|
||||
<tr class="header" bgcolor="#99CCFF"><td/><td>Description</td><td>Date</td><td>Debit</td><td>Credit</td><td>Category</td><td>Account</td><td>Tag</td></tr>
|
||||
<?php
|
||||
$prev_week=-1;
|
||||
$operations = LoadMonth($_SESSION["user"], $_SESSION["cur_month"], $_SESSION["cur_year"]);
|
||||
@@ -253,6 +253,7 @@ $operations = LoadMonth($_SESSION["user"], $_SESSION["cur_month"], $_SESSION["cu
|
||||
foreach($operations as $i => $operation)
|
||||
{
|
||||
$category = $_SESSION["user"]->GetCategory($operation["category"]);
|
||||
$tag = $_SESSION["user"]->GetTag($operation["tag"]);
|
||||
if ($operation["fix_cost"] == "0")
|
||||
{
|
||||
$cur_week = date("W", mktime(0, 0, 0, $operation["month"]+1, $operation["day"]+1, $operation["year"]));
|
||||
@@ -294,6 +295,7 @@ foreach($operations as $i => $operation)
|
||||
else
|
||||
echo "<td />";
|
||||
echo "<td>" . $_SESSION["user"]->GetAccountName($operation["account"]) . "</td>";
|
||||
echo "<td>" . $tag["name"] . "</td>";
|
||||
echo "</tr>\n";
|
||||
}
|
||||
?>
|
||||
@@ -351,6 +353,6 @@ foreach($operations as $i => $operation)
|
||||
</div>
|
||||
</div>
|
||||
<br /><br />
|
||||
<center><a href="http://indefero.soutade.fr/p/kisscount">KissCount</a> © 2010-2012 Grégory Soutadé</center>
|
||||
<center><a href="http://indefero.soutade.fr/p/kisscount">KissCount</a> © 2010-2014 Grégory Soutadé</center>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user