JourneyJoker/templates/payment/status.html

47 lines
3.1 KiB
HTML
Raw Normal View History

2021-03-01 09:56:10 +00:00
{% extends "frontend/base.html" %}
{% load i18n %}
{% block "content" %}
<!--===== INNERPAGE-WRAPPER ====-->
<section class="innerpage-wrapper">
<div id="payment-success" class="section-padding">
<div class="container text-center">
<div class="row d-flex justify-content-center">
<div class="col-md-12 col-lg-8 col-lg-offset-2">
<div class="payment-success-text">
<h2>{% trans "Zahlung" %} {% if object.status == 0 %}{% trans "erfolgreich" %}{% elif object.status == -1 %}{% trans "autorisiert" %}{% endif %}</h2>
2021-04-18 14:46:57 +00:00
<p>{% blocktrans with currency=object.invoice.currency|upper amount=object.amount %}Die Zahlung über {{ currency }} {{ amount }} wurde{% endblocktrans %} {% if object.status == 0 %}{% trans "erfolgreich durchgeführt" %}{% elif object.status == -1 %}{% trans "autorisiert" %}{% endif %}</p>
2021-03-01 09:56:10 +00:00
<span><i class="fa fa-check-circle"></i></span>
<div class="table-responsive">
<table class="table table-hover">
<thead>
<tr>
<td><span><i class="fa fa-clone"></i></span>{% trans "Kategorie" %}</td>
<td><span><i class="fa fa-diamond"></i></span>{% trans "Beschreibung" %}</td>
<td><span><i class="fa fa-dollar"></i></span>{% trans "Preis" %}</td>
</tr>
</thead>
<tbody>
2021-04-18 14:46:57 +00:00
{% for line in object.invoice.invoiceitem_set.all %}
2021-03-01 09:56:10 +00:00
<tr>
2021-04-18 14:46:57 +00:00
<td><span><i class="fa fa-building"></i></span>{% if object.invoice.inquiry %}{% trans "Gebot" %}{% else %}{% trans "Gebühren" %}{% endif %}</td>
<td>{{ line.description }}</td>
<td>{{ object.invoice.currency|upper }} {{ line.net_total }}</td>
2021-03-01 09:56:10 +00:00
</tr>
2021-04-18 14:46:57 +00:00
{% endfor %}
2021-03-01 09:56:10 +00:00
</tbody>
</table>
</div>
2021-04-18 14:46:57 +00:00
<a href="{% url "auction:offer_selection" object.invoice.inquiry.uuid %}" class="btn btn-orange">Angebote erhalten!</a><br /><br />
<a href="{{ object.invoice.invoice.url }}" class="btn">PDF-Beleg herunterladen</a>
2021-03-01 09:56:10 +00:00
{% if object.status == -1 %}
2021-04-18 14:46:57 +00:00
<p>{% trans "Die Zahlung wurde autorisiert." %} <a href="#">{% trans "Was bedeutet das?" %}</a></p>
2021-03-01 09:56:10 +00:00
{% endif %}
<p>{% trans "Die Zahlungsdaten wurden auch per E-Mail versendet." %}</p>
</div>
</div><!-- end columns -->
</div><!-- end row -->
</div><!-- end container -->
</div><!-- end coming-soon-text -->
</section><!-- end innerpage-wrapper -->
{% endblock %}