{% assign invoice_total = 0.00 %} {% for item in invoice_list %} {% assign invoice_total = invoice_total | plus: item.subtotal %} {% endfor %}
Item Quantity Cost Subtotal
{{ item.description }} {{ item.qty }} ${{ item.cost }} ${{ item.subtotal }}
 
TOTAL: ${{ invoice_total }}