'Total value of a track item'

@staticmethod
def inv_track_item_total_value(row):

    if hasattr(row, 'inv_track_item'):
        row = row.inv_track_item
    try:
        v = (row.quantity * row.pack_value)
        return v
    except:
        return current.messages['NONE']
