}
});
} else if (PriceType.PER_ITEM == priceType) {
// Total price input
itemPriceInput = new ItemPriceBasedInput(
controlId, new PropertyModel<BigDecimal>(tenderData, "totalPrice"),
new PropertyModel<BigDecimal>(tenderData, "amount"));
itemPriceInput.setOutputMarkupId(true);
itemPriceInput.setRequired(true);
return itemPriceInput;