Production Items

<% to_produce = 0 produced = 0 lost = 0 %> % for item in report.order.get_items(): <% to_produce += item.quantity produced += item.produced lost += item.lost %> % endfor
${ _("Code") } ${ _("Item") } ${ _("Quantity") } ${ _("Produced") } ${ _("Lost") }
${ item.product.sellable.code } ${ item.product.sellable.get_description() } ${ format_quantity(item.quantity)} ${ item.unit_description } ${ format_quantity(item.produced)} ${ item.unit_description } ${ format_quantity(item.lost)} ${ item.unit_description }
${ format_quantity(to_produce)} ${ item.unit_description } ${ format_quantity(produced)} ${ item.unit_description } ${ format_quantity(lost)} ${ item.unit_description }