'Represent a single Row
@param row: the Row (usually joined supply_item_pack/supply_item)
@todo: implement translate option'

def represent_row(self, row):

    try:
        item = row.supply_item
        pack = row.supply_item_pack
    except AttributeError:
        item = {'um': 'Piece'}
        pack = row
    name = pack.get('name')
    if (not name):
        return current.messages.UNKNOWN_OPT
    quantity = pack.get('quantity')
    if ((quantity == 1) or (quantity is None)):
        return name
    else:
        return ('%s    (%s    x    %s)' % (name, quantity, item.get('um')))
