<%= key += 1 %> <%= available.product.full_display %> <%= number_to_currency(available.product.price_base, precision: 2) %> <%= available.product.category.parent_id.zero? ? available.product.category.category : available.product.category.parent.category %> <%= available.product.category.category %> <%= quantity = calculate_restock(available) %> <%= number_to_currency((quantity * available.product.price_base), precision: 2) %>