2013-08-07 20:32:44 +02:00
|
|
|
{include="header"}
|
|
|
|
|
|
|
|
<div id="quick_summary">
|
2013-08-09 23:35:20 +02:00
|
|
|
<h2>Balance</h2>
|
|
|
|
<p class="center">Read <em>line</em> owes <em>case</em>€ to <em>column</em>. You can click on links to confirm the payback.
|
|
|
|
<table>
|
2013-08-07 20:32:44 +02:00
|
|
|
<tr>
|
2013-08-09 23:35:20 +02:00
|
|
|
<th>Owes\To</th>
|
|
|
|
{loop="users"}
|
|
|
|
<th>{$value.name}</th>
|
|
|
|
{/loop}
|
2013-08-07 20:32:44 +02:00
|
|
|
</tr>
|
2013-08-09 23:35:20 +02:00
|
|
|
{loop="users"}
|
|
|
|
<tr>
|
|
|
|
<th>{$value.name}</th>
|
|
|
|
</tr>
|
|
|
|
{/loop}
|
2013-08-07 20:32:44 +02:00
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div id="detailed_summary">
|
2013-08-09 23:35:20 +02:00
|
|
|
<h2>Detailed list of bills for last month</h2>
|
2013-08-07 20:32:44 +02:00
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<th>Date</th>
|
2013-08-09 23:35:20 +02:00
|
|
|
<th>Paid by</th>
|
|
|
|
<th>Users in</th>
|
|
|
|
<th>Amount</th>
|
|
|
|
<th>What ?</th>
|
|
|
|
<th>Edit</th>
|
|
|
|
<th>Delete</th>
|
2013-08-07 20:32:44 +02:00
|
|
|
</tr>
|
2013-08-09 23:35:20 +02:00
|
|
|
{loop="bill"}
|
|
|
|
<tr>
|
|
|
|
<td>{$value.date}</td>
|
|
|
|
<td>{$value.buyer}</td>
|
|
|
|
<td>{$value.users_in}</td>
|
|
|
|
<td>{$value.amount}</td>
|
|
|
|
<td>{$value.what}</td>
|
|
|
|
<td><a href="index.php?do=edit_bill&id=">Edit</a></td>
|
|
|
|
<td><a href="index.php?do=delete_bill&id=">Delete</a></td>
|
|
|
|
</tr>
|
|
|
|
{/loop}
|
2013-08-07 20:32:44 +02:00
|
|
|
</table>
|
|
|
|
</div>
|