d00c4e2cb9
- Created .vscode/settings.json for Python environment configuration. - Added run.sh script for MongoDB installation and project setup. - Implemented admin chat interface in admin_chats.html. - Developed invoice management interface in admin_invoices.html. - Created license management interface in admin_licenses.html. - Added support ticket management interface in admin_tickets.html. - Implemented user management interface in admin_users.html. - Developed user chat interface in chat.html. - Created user invoice overview in my_invoices.html. - Developed user license overview in my_licenses.html. - Added support ticket creation and tracking in tickets.html. - Created test.sh script for MongoDB setup.
47 lines
1.3 KiB
HTML
47 lines
1.3 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Meine Rechnungen{% endblock %}
|
|
|
|
{% block content %}
|
|
<section class="panel">
|
|
<h1>Rechnungseinsicht</h1>
|
|
<p>Alle Rechnungen im Ueberblick.</p>
|
|
</section>
|
|
|
|
<section class="table-wrap">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Rechnungsnummer</th>
|
|
<th>Zeitraum</th>
|
|
<th>Betrag</th>
|
|
<th>Faelligkeit</th>
|
|
<th>Status</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for invoice in invoices %}
|
|
<tr>
|
|
<td>{{ invoice.invoice_number }}</td>
|
|
<td>{{ invoice.period }}</td>
|
|
<td>{{ '%.2f'|format(invoice.amount_eur) }} EUR</td>
|
|
<td>{{ invoice.due_date }}</td>
|
|
<td>{{ invoice.status }}</td>
|
|
</tr>
|
|
{% else %}
|
|
<tr>
|
|
<td colspan="5">Noch keine Rechnungen vorhanden.</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</section>
|
|
|
|
<style>
|
|
.panel { margin-bottom: 1rem; }
|
|
.table-wrap { background: #fff; border: 1px solid #d8e1e8; border-radius: 14px; padding: 1rem; overflow-x: auto; }
|
|
table { width: 100%; border-collapse: collapse; }
|
|
th, td { text-align: left; padding: 0.7rem; border-bottom: 1px solid #e8eef2; }
|
|
</style>
|
|
{% endblock %}
|