55 lines
986 B
HTML
55 lines
986 B
HTML
{% 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 %}
|
|
{% include "uinvoice/_sidebar.html" %}
|
|
{% 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 %}
|
|
|