Materials

<% needed = 0 lost = 0 to_purchase = 0 to_make = 0 %> % for item in report.order.get_material_items(): <% needed += item.needed lost += item.lost to_purchase += item.to_purchase to_make += item.to_make %> % endfor
${ _("Description") } ${ _("Location") } ${ _("Needed") } ${ _("Lost") } ${ _("To Purchase") } ${ _("To Make") }
${ item.get_description() } ${ item.product.location } ${ format_quantity(item.needed)} ${ item.unit_description } ${ format_quantity(item.lost)} ${ item.unit_description } ${ format_quantity(item.to_purchase)} ${ item.unit_description } ${ format_quantity(item.to_make)} ${ item.unit_description }
${ format_quantity(needed)} ${ item.unit_description } ${ format_quantity(lost)} ${ item.unit_description } ${ format_quantity(to_purchase)} ${ item.unit_description } ${ format_quantity(to_make)} ${ item.unit_description }