{% extends "base.html" %} {% set title = "Bill draft" %} {% block main %}
Phone {{ customer.phone }}. Lines stay here while you add them; nothing is saved until you press Create the bills.
| # | Service | Units | Rack | Amount | |
|---|---|---|---|---|---|
| {{ loop.index }} | {{ line.service }} | {{ line.units }} | {{ line.rack }} | {{ rupiah(line.amount) }} | |
| Total | {{ rupiah(lines | sum(attribute="amount")) }} | ||||