mirror of
https://github.com/ae-utbm/sith.git
synced 2025-09-17 21:53:50 +00:00
Add basic accounting views
This commit is contained in:
22
accounting/templates/accounting/bank_account_details.jinja
Normal file
22
accounting/templates/accounting/bank_account_details.jinja
Normal file
@@ -0,0 +1,22 @@
|
||||
{% extends "core/base.jinja" %}
|
||||
|
||||
{% block content %}
|
||||
<h2>View account</h2>
|
||||
<ul>
|
||||
{% for k,v in object.__dict__.items() %}
|
||||
<li>{{ k }} - {{ v }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<p><a href="{{ url('accounting:club_new') }}">New club account</a></p>
|
||||
<ul>
|
||||
{% for c in object.club_accounts.all() %}
|
||||
<li><a href="{{ url('accounting:club_details', c_account_id=c.id) }}">{{ c }}</a> -
|
||||
<a href="{{ url('accounting:club_edit', c_account_id=c.id) }}">Edit</a> -
|
||||
<a href="{{ url('accounting:club_delete', c_account_id=c.id) }}">Delete</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user