%# A subtotal row: totals the lines above it, back to the previous subtotal (QuickBooks works out the amount) %> <% name = "estimate[lines][#{key}]" %>