[[ repeatIn(objects,'o') ]]
[[ repeatIn(process(o.id),'ob') ]] [[ (not ob['product']) and removeParentNode('blockTable') ]] Location Product Variants Amount UoM Unit Price Value [[ (not ob['product']) and removeParentNode('blockTable') ]] [[ ob['location_name'] ]]
[[ repeatIn(ob['product'],'p') ]] [[ p['prod_name'] ]] [[ p['variants'] ]] [[ p['prod_qty'] ]] [[ p['uom'] ]] [[ p['price'] ]] [[ p['price_value'] ]]
[[ (not ob['product']) and removeParentNode('blockTable') ]] Total: [[ price_total() ]]
Grand Total: [[ grand_total_price() ]]