carom-server/billard/templates/billard/accountmodal.html
2018-02-11 10:56:44 +01:00

37 lines
1.8 KiB
HTML

{% if accounts %}
<div id="accountsmodal" class="modal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Abrechnung</h4>
</div>
<div class="modal-body">
<table class="table table-striped">
<thead>
<tr>
<td>Tisch #</td>
<td>Tisch Name</td>
<td class="text-right">Normalpreis</td>
<td class="text-right">Preis HH</td>
<td class="text-right">Gesamt</td>
</tr>
</thead>
{% for account in accounts %}
<tr>
<td>{{ account.desk.desk_no }}</td>
<td>{{ account.desk.name }}</td>
<td class="text-right">{{ account.prize_normal }}</td>
<td class="text-right">{{ account.prize_hh }}</td>
<td class="text-right"><strong>{{ account.prize }}</strong></td>
</tr>
{% endfor %}
</table>
</div>
<div class="modal-footer">
<a class="btn btn-default btn-primary"
href="{% url 'billard:account_modal_confirm' pks=pks loc_pk=loc_pk %}">Schliessen</a>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
{% endif %}