You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

51 lines
1.4 KiB

{% extends 'base.html' %}
{% load i18n %}
{% block title %}{% trans 'Money by days' %}{% endblock %}
{% block breadcrumb %}
<ol class="breadcrumb">
<li><span class="glyphicon glyphicon-home"></span></li>
<li class="active">{% trans 'Fin report' %}</li>
</ol>
{% endblock %}
{% block page-header %}
{% trans 'Money by days' %}
{% endblock %}
{% block main %}
<div class="table-responsive">
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>{% trans 'Cost' %}</th>
<th>{% trans 'Date' %}</th>
</tr>
</thead>
<tbody>
{% for l in logs %}
<tr>
<td>{{ l.summ }}</td>
<td>{{ l.pay_date|date:"d E Y" }}</td>
</tr>
{% empty %}
<tr>
<td colspan="2">{% trans 'Pays not found' %}</td>
</tr>
{% endfor %}
</tbody>
<thead>
<tr>
<td colspan="2">
<a href="{% url 'finapp:fin_report' %}?f=csv" target="_blank" class="btn btn-sm btn-default">
<span class="glyphicon glyphicon-download"></span> <span class="hidden-xs">{% trans 'Export to csv' %}</span>
</a>
</td>
</tr>
</thead>
</table>
</div>
{% endblock %}