proxadmin/app/templates/uinvoice/invoice.html

55 lines
989 B
HTML
Raw Permalink Normal View History

2017-03-08 13:53:09 -05:00
{% extends "base.html" %}
{% block title %}Фактура No. #{{ document.pid }}{% endblock %}
{% block page_content %}
<div class="page-header">
<h1>Фактура No. #{{ document.pid }}</h1>
</div>
<div class="container-fluid">
<br />
<div class="row">
{% block sidebar %}
2017-05-31 11:20:53 -04:00
{% include "/settings/acc_avatar.html" %}
2017-03-08 13:53:09 -05:00
{% endblock %}
<div class="col-md-8">
<div class="panel panel-info">
<div class="panel-heading"></div>
<div class="panel-body">
<form method="POST" action="{{ url_for('uinvoice.invoice', document_id=document.pid) }}">
<p>
{{ document.invoice_date }}<br />
{{ document.invoice_amount }}<br />
print to pdf.
</p>
{% if not document.paid %}
<p>
{{ form.processor.label }} {{ form.processor }} <br />
</p>
<p>
{{ form.csrf_token() }}
{{ form.submit }}
</p>
{% endif %}
</div>
</div>
</div>
</div>
</div>
{% endblock %}