{% extends "ledger/base.html" %} {% load static %} {% block title %}{% if expense %}Edit{% else %}Add{% endif %} expense ยท tripsplit{% endblock %} {% block content %}

{% if expense %}Edit expense{% else %}Add expense{% endif %}

Shares are previewed live and always add up to the cent.

{% if errors %}
{% for e in errors %}
{{ e }}
{% endfor %}
{% endif %}
{% csrf_token %} {% if expense %}{% endif %}

Who paid

{% for r in rows %}
{{ r.member.name }}
{% endfor %}

How to split

{% for r in rows %}{% endfor %}

Amount each person owes (must add up to the total).

{% for r in rows %}
{{ r.member.name }}
{% endfor %}

Percentages must add up to 100.

{% for r in rows %}
{{ r.member.name }}
{% endfor %}

Relative weights, e.g. 2 for a couple, 1 for a single.

{% for r in rows %}
{{ r.member.name }}
{% endfor %}

Split equally among the ticked people, then add or subtract an amount for individuals (e.g. +200 for extra drinks).

{% for r in rows %}
{{ r.member.name }}
{% endfor %}

Assign each line item to the people who had it. Tax and tip are spread in proportion to each person's item subtotal.

{% for item in items %}
{% for m, on in item.members %}{% endfor %}
{% endfor %}
Cancel
{% endblock %} {% block scripts %}{% endblock %}