mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 11:59:23 +00:00
Improve accounting ease of use
This commit is contained in:
@ -1,13 +0,0 @@
|
||||
{% extends "core/base.jinja" %}
|
||||
|
||||
{% block content %}
|
||||
<h2>Edit account</h2>
|
||||
<form action="" method="post">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p() }}
|
||||
<p><input type="submit" value="Save!" /></p>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
<li>{{ k }} - {{ v }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<p><a href="{{ url('accounting:club_new') }}">New club account</a></p>
|
||||
<p><a href="{{ url('accounting:club_new') }}?parent={{ object.id }}">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> -
|
||||
|
@ -11,7 +11,7 @@
|
||||
<li>{{ k }} - {{ v }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<p><a href="{{ url('accounting:journal_new') }}">New journal</a></p>
|
||||
<p><a href="{{ url('accounting:journal_new') }}?parent={{ object.id }}">New journal</a></p>
|
||||
<ul>
|
||||
{% for j in object.journals.all() %}
|
||||
<li>
|
||||
|
@ -8,7 +8,7 @@
|
||||
{{ object.name }}
|
||||
</p>
|
||||
<p><strong>Amount: </strong>{{ object.amount }} € - <strong>Effective amount: </strong>{{ object.effective_amount }} €</p>
|
||||
<p><a href="{{ url('accounting:op_new') }}">New operation</a></p>
|
||||
<p><a href="{{ url('accounting:op_new') }}?parent={{ object.id }}">New operation</a></p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>Nb</td>
|
||||
|
Reference in New Issue
Block a user