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 %}
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 %}
{% endfor %}