mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-29 01:42:37 +02:00
Removed bill type from the Bills html table
This commit is contained in:
parent
0e2534fb12
commit
4c2b357032
2 changed files with 1 additions and 3 deletions
|
@ -117,7 +117,6 @@
|
||||||
<table id="bill_table" class="col table table-striped table-hover table-responsive-sm">
|
<table id="bill_table" class="col table table-striped table-hover table-responsive-sm">
|
||||||
<thead>
|
<thead>
|
||||||
<tr><th>{{ _("When?") }}
|
<tr><th>{{ _("When?") }}
|
||||||
</th><th>{{ _("Bill Type") }}
|
|
||||||
</th><th>{{ _("Who paid?") }}
|
</th><th>{{ _("Who paid?") }}
|
||||||
</th><th>{{ _("For what?") }}
|
</th><th>{{ _("For what?") }}
|
||||||
</th><th>{{ _("For whom?") }}
|
</th><th>{{ _("For whom?") }}
|
||||||
|
@ -133,7 +132,6 @@
|
||||||
{{ bill.date }}
|
{{ bill.date }}
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
<td>{{ bill.bill_type.value }}</td>
|
|
||||||
<td>{{ bill.payer }}</td>
|
<td>{{ bill.payer }}</td>
|
||||||
<td>{{ bill.what }}</td>
|
<td>{{ bill.what }}</td>
|
||||||
<td>{% if bill.owers|length == g.project.members|length -%}
|
<td>{% if bill.owers|length == g.project.members|length -%}
|
||||||
|
|
|
@ -866,7 +866,7 @@ def settle(amount, ower_id, payer_id):
|
||||||
payer_id=ower_id,
|
payer_id=ower_id,
|
||||||
project_default_currency=g.project.default_currency,
|
project_default_currency=g.project.default_currency,
|
||||||
bill_type="Reimbursement",
|
bill_type="Reimbursement",
|
||||||
what="settlement",
|
what="Settlement",
|
||||||
)
|
)
|
||||||
session.update()
|
session.update()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue