Allow deleting purchasesp
All checks were successful
Django CI/CD / test (push) Successful in 57s
Django CI/CD / build-and-push (push) Successful in 2m14s

This commit is contained in:
2024-04-29 16:20:44 +02:00
parent edc1d062bc
commit 0f080f5316
4 changed files with 18 additions and 0 deletions

View File

@ -22,6 +22,12 @@
value="Submit & Create Session" />
</td>
</tr>
<tr>
<td></td>
<td>
<a href="{% url 'delete_purchase' purchase_id %}" class="text-red-600" onclick="return confirm('Are you sure you want to delete this purchase?');">Delete</a>
</td>
</tr>
</table>
</form>
{% endblock content %}