Browse Source
Merge branch 'devel' of https://github.com/nerosketch/djing into djing_dial
Merge branch 'devel' of https://github.com/nerosketch/djing into djing_dial
# Conflicts: # dialing_app/views.pydevel
13 changed files with 715 additions and 620 deletions
-
1064abonapp/locale/ru/LC_MESSAGES/django.po
-
19abonapp/models.py
-
49abonapp/templates/abonapp/fin_report.html
-
31abonapp/templates/abonapp/group_list.html
-
2abonapp/urls.py
-
26abonapp/views.py
-
4dialing_app/models.py
-
22dialing_app/templates/index.html
-
26dialing_app/views.py
-
4taskapp/locale/ru/LC_MESSAGES/django.po
-
19taskapp/models.py
-
67taskapp/templates/taskapp/add_edit_task.html
-
2taskapp/views.py
1064
abonapp/locale/ru/LC_MESSAGES/django.po
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,49 @@ |
|||
{% extends 'base.html' %} |
|||
{% load i18n %} |
|||
{% block main %} |
|||
|
|||
<ol class="breadcrumb"> |
|||
<li><span class="glyphicon glyphicon-home"></span></li> |
|||
<li class="active">{% trans 'Fin report' %}</li> |
|||
</ol> |
|||
|
|||
{% include 'message_block.html' %} |
|||
|
|||
<h3>{% trans 'Money by days' %}</h3> |
|||
<div class="table-responsive"> |
|||
<table class="table table-striped table-bordered"> |
|||
<thead> |
|||
<tr> |
|||
<th>{% trans 'Sum' %}</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 'abonapp: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> |
|||
|
|||
{# {% include 'toolbar_page.html' with pag=logs %} #} |
|||
|
|||
{% endblock %} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue