mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-12-02 13:14:17 +01:00
Track expenses shared with other people (trips, flats, dinners) and settle up with the fewest payments. - Events with WYGIWYH users and people without an account, who join through a share link and pick a password on first sign-in - Equal, exact, percentage and share-weight splits that always add up - Balances, a minimal settle-up plan and an activity feed showing what each item means for you - Link items to your own transactions; recording a payment marks planned ones as paid - Share menu: printable PDF report and PNG images of the summary, settle-up and balances (adds modern-screenshot) - Only the two people involved or the organizer can record a payment; members can leave events they don't organize
24 lines
892 B
HTML
24 lines
892 B
HTML
{% extends 'extends/offcanvas.html' %}
|
|
{% load i18n %}
|
|
{% load crispy_forms_tags %}
|
|
|
|
{% block title %}{% translate 'Edit event' %}{% endblock %}
|
|
|
|
{% block body %}
|
|
<form hx-post="{% url 'split_event_edit' event_id=event.id %}" hx-target="#generic-offcanvas" novalidate>
|
|
{% crispy form %}
|
|
</form>
|
|
|
|
<div class="divider"></div>
|
|
<button type="button"
|
|
class="btn btn-error btn-outline w-full"
|
|
hx-delete="{% url 'split_event_delete' event_id=event.id %}"
|
|
hx-trigger="confirmed"
|
|
data-title="{% translate 'Delete this event?' %}"
|
|
data-text="{% translate 'All its expenses, payments and attachments are deleted. Transactions you linked in your accounts are kept.' %}"
|
|
data-confirm-text="{% translate 'Yes, delete it!' %}"
|
|
_="install prompt_swal">
|
|
<i class="fa-solid fa-trash fa-fw"></i>{% translate 'Delete event' %}
|
|
</button>
|
|
{% endblock %}
|