## -*- coding: utf-8; -*- <%inherit file="/mobile/master/view_row.mako" /> <%namespace file="/mobile/keypad.mako" import="keypad" /> <%def name="title()">Receiving » ${instance.batch.id_str} » ${row.upc.pretty()}%def> <%def name="page_title()">${h.link_to("Receiving", url('mobile.receiving'))} » ${h.link_to(instance.batch.id_str, url('mobile.receiving.view', uuid=instance.batch_uuid))} » ${row.upc.pretty()}%def> <% unit_uom = 'LB' if row.product and row.product.weighed else 'EA' uom = 'CS' if row.units_ordered and not row.cases_ordered: uom = 'EA' %>
ordered | ${h.pretty_quantity(row.cases_ordered or 0)} / ${h.pretty_quantity(row.units_ordered or 0)} |
received | ${h.pretty_quantity(row.cases_received or 0)} / ${h.pretty_quantity(row.units_received or 0)} |
damaged | ${h.pretty_quantity(row.cases_damaged or 0)} / ${h.pretty_quantity(row.units_damaged or 0)} |
expired | ${h.pretty_quantity(row.cases_expired or 0)} / ${h.pretty_quantity(row.units_expired or 0)} |