mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-12-05 14:36:36 +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
35 lines
1.5 KiB
HTML
35 lines
1.5 KiB
HTML
{% load i18n %}
|
|
<div class="dropdown dropdown-end ms-auto shrink-0">
|
|
<div tabindex="0" role="button" class="btn btn-ghost btn-sm">
|
|
<i class="fa-solid fa-arrow-up-from-bracket"></i><span class="hidden sm:inline">{% translate 'Share' %}</span>
|
|
</div>
|
|
<ul tabindex="-1" class="dropdown-content menu bg-base-100 rounded-box z-10 w-60 p-2 shadow-lg mt-1">
|
|
<li>
|
|
<a href="{{ urls.report }}" target="_blank" rel="noopener" class="no-underline">
|
|
<i class="fa-solid fa-file-pdf fa-fw"></i>{% translate 'Full report (PDF)' %}
|
|
</a>
|
|
</li>
|
|
<li class="menu-title">{% translate 'Image' %}</li>
|
|
<li>
|
|
<button type="button" onclick="splitExportImage(this)"
|
|
data-sections="{% if transfers %}settle,{% endif %}balances" data-filename="{{ event.name|slugify }}-summary.png">
|
|
<i class="fa-solid fa-image fa-fw"></i>{% translate 'Summary' %}
|
|
</button>
|
|
</li>
|
|
{% if transfers %}
|
|
<li>
|
|
<button type="button" onclick="splitExportImage(this)"
|
|
data-sections="settle" data-filename="{{ event.name|slugify }}-settle-up.png">
|
|
<i class="fa-solid fa-arrow-right-arrow-left fa-fw"></i>{% translate 'Settle up' %}
|
|
</button>
|
|
</li>
|
|
{% endif %}
|
|
<li>
|
|
<button type="button" onclick="splitExportImage(this)"
|
|
data-sections="balances" data-filename="{{ event.name|slugify }}-balances.png">
|
|
<i class="fa-solid fa-scale-balanced fa-fw"></i>{% translate 'Balances' %}
|
|
</button>
|
|
</li>
|
|
</ul>
|
|
</div>
|