feat: Add provision deletion functionality with confirmation in admin and my invoices views
This commit is contained in:
@@ -68,7 +68,13 @@
|
||||
<td>{{ prov.package_label or prov.package }}</td>
|
||||
<td>{{ prov.subdomain }}</td>
|
||||
<td>{{ '%.2f'|format(prov.amount_eur or 0) }} EUR</td>
|
||||
<td>{{ prov.provision_status or 'not_started' }}</td>
|
||||
<td>
|
||||
{{ prov.provision_status or 'not_started' }}
|
||||
<form method="post" action="{{ url_for('provision_delete') }}" style="display:inline-block; margin-left:0.6rem;">
|
||||
<input type="hidden" name="prov_id" value="{{ prov.id }}">
|
||||
<button type="submit" class="danger">Löschen</button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
{% else %}
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user