2013-08-07 20:32:44 +02:00
|
|
|
{include="header"}
|
|
|
|
|
2013-08-12 09:52:50 +02:00
|
|
|
{if condition="$notice != ''"}
|
|
|
|
<div id="notice"><p>{$notice}</p></div>
|
|
|
|
{/if}
|
|
|
|
|
2013-08-07 20:32:44 +02:00
|
|
|
<div id="quick_summary">
|
2013-08-09 23:35:20 +02:00
|
|
|
<h2>Balance</h2>
|
2013-08-17 18:43:35 +02:00
|
|
|
<p class="center">Read <em>line</em> owes <em>case</em> {$currency} to <em>column</em>. You can click on links to confirm the payback.
|
2013-08-09 23:35:20 +02:00
|
|
|
<table>
|
2013-08-07 20:32:44 +02:00
|
|
|
<tr>
|
2013-08-09 23:35:20 +02:00
|
|
|
<th>Owes\To</th>
|
|
|
|
{loop="users"}
|
2013-08-13 17:58:14 +02:00
|
|
|
<th>{$value->getDisplayName()}</th>
|
2013-08-09 23:35:20 +02:00
|
|
|
{/loop}
|
2013-08-07 20:32:44 +02:00
|
|
|
</tr>
|
2013-08-09 23:35:20 +02:00
|
|
|
{loop="users"}
|
|
|
|
<tr>
|
2013-08-13 17:58:14 +02:00
|
|
|
<th>{$value->getDisplayName()}</th>
|
2013-08-17 18:43:35 +02:00
|
|
|
{loop="users"}
|
|
|
|
<td><a href="">{$value->getDisplayName()}</a></td>
|
|
|
|
{/loop}
|
2013-08-09 23:35:20 +02:00
|
|
|
</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-13 19:37:11 +02:00
|
|
|
{loop="invoices"}
|
2013-08-09 23:35:20 +02:00
|
|
|
<tr>
|
2013-08-13 19:37:11 +02:00
|
|
|
<td>{$value->getDate}</td>
|
|
|
|
<td>{$value->getBuyer}</td>
|
|
|
|
<td>{$value->getUsersIn}</td>
|
|
|
|
<td>{$value->getAmount}</td>
|
|
|
|
<td>{$value->getWhat}</td>
|
|
|
|
<td><a href="index.php?do=edit_bill&id={$value->getId()}">Edit</a></td>
|
|
|
|
<td><a href="index.php?do=delete_bill&id={$value->getId()}">Delete</a></td>
|
2013-08-09 23:35:20 +02:00
|
|
|
</tr>
|
|
|
|
{/loop}
|
2013-08-07 20:32:44 +02:00
|
|
|
</table>
|
|
|
|
</div>
|
2013-08-12 09:52:50 +02:00
|
|
|
|
|
|
|
{include="footer"}
|