*/
private BillableReceipt itemReceipt;
+ /**
+ * Currency code like EUR or USD
+ */
+ private String productCurrencyCode;
+
+ /**
+ * Product's gross price
+ */
+ private Float productGrossPrice;
+
+ /**
+ * Product's net price
+ */
+ private Float productNetPrice;
+
+ /**
+ * Tax rate for this item
+ */
+ private Float productTaxRate;
+
/**
* General receipt item controller
*/
this.itemReceipt = itemReceipt;
}
+ /**
+ * Getter for product's currency symbol
+ * <p>
+ * @return Product's currency symbol
+ */
+ public String getProductCurrencyCode () {
+ return this.productCurrencyCode;
+ }
+
+ /**
+ * Setter for product's currency symbol
+ * <p>
+ * @param productCurrencyCode Product's currency symbol
+ */
+ public void setProductCurrencyCode (final String productCurrencyCode) {
+ this.productCurrencyCode = productCurrencyCode;
+ }
+
+ /**
+ * Getter for product's gross price
+ * <p>
+ * @return Product's gross price
+ */
+ public Float getProductGrossPrice () {
+ return this.productGrossPrice;
+ }
+
+ /**
+ * Setter for product's gross price
+ * <p>
+ * @param productGrossPrice Product's gross price
+ */
+ public void setProductGrossPrice (final Float productGrossPrice) {
+ this.productGrossPrice = productGrossPrice;
+ }
+
+ /**
+ * Getter for product's net price
+ * <p>
+ * @return Product's net price
+ */
+ public Float getProductNetPrice () {
+ return this.productNetPrice;
+ }
+
+ /**
+ * Setter for product's net price
+ * <p>
+ * @param productNetPrice Product's net price
+ */
+ public void setProductNetPrice (final Float productNetPrice) {
+ this.productNetPrice = productNetPrice;
+ }
+
+ /**
+ * Getter for product's tax rate
+ * <p>
+ * @return Product's tax rate
+ */
+ public Float getProductTaxRate () {
+ return this.productTaxRate;
+ }
+
+ /**
+ * Setter for product's tax rate
+ * <p>
+ * @param productTaxRate Product's tax rate
+ */
+ public void setProductTaxRate (final Float productTaxRate) {
+ this.productTaxRate = productTaxRate;
+ }
+
/**
* Clears this bean
*/
<?xml version="1.0" encoding="UTF-8" ?>
<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
- xmlns:widgets="http://mxchange.org/jsf/core/widgets"
+ xmlns:product="http://mxchange.org/jsf/jproduct/widgets"
xmlns:f="http://xmlns.jcp.org/jsf/core"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
<f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
<f:selectItems value="#{receiptController.allReceipts()}" var="receipt" itemValue="#{receipt}" itemLabel="#{beanHelper.renderReceipt(receipt)}" />
</p:selectOneMenu>
+
+ <p:outputLabel for="itemGrossPrice" value="#{project.ADMIN_ENTER_PRODUCT_GROSS_PRICE}" />
+ <product:inputProductPricePanelGrid targetController="#{adminReceiptItemController}" />
</p:panelGrid>
</p:fieldset>
</ui:composition>
<?xml version="1.0" encoding="UTF-8" ?>
<ui:composition template="/WEB-INF/templates/admin/admin_base.tpl"
xmlns="http://www.w3.org/1999/xhtml"
- xmlns:widgets="http://mxchange.org/jsf/core/widgets"
+ xmlns:core="http://mxchange.org/jsf/core/widgets"
xmlns:pl="http://mxchange.org/jsf/jfinancials/links"
xmlns:links="http://mxchange.org/jsf/core/links"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"