From: Roland Häder Date: Thu, 26 Oct 2017 19:19:08 +0000 (+0200) Subject: Don't cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8cae395640338e7d11da45f6384767afaaaae2d2;p=jfinancials-war.git Don't cherry-pick: - added/change net and gross price and tax rate - remove wrong JSF code as it was copied from receipt template and is not needed/wanted in receipt items Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/jfinancials/beans/financial/model/receipt_item/FinancialAdminReceiptItemWebRequestBean.java b/src/java/org/mxchange/jfinancials/beans/financial/model/receipt_item/FinancialAdminReceiptItemWebRequestBean.java index b9d399c8..a71396e3 100644 --- a/src/java/org/mxchange/jfinancials/beans/financial/model/receipt_item/FinancialAdminReceiptItemWebRequestBean.java +++ b/src/java/org/mxchange/jfinancials/beans/financial/model/receipt_item/FinancialAdminReceiptItemWebRequestBean.java @@ -74,7 +74,7 @@ public class FinancialAdminReceiptItemWebRequestBean extends BaseFinancialsBean /** * Quantity of item */ - private Long itemQuantity; + private Short itemQuantity; /** * Assigned receipt @@ -177,7 +177,7 @@ public class FinancialAdminReceiptItemWebRequestBean extends BaseFinancialsBean *

* @return Item quantity */ - public Long getItemQuantity () { + public Short getItemQuantity () { return this.itemQuantity; } @@ -186,7 +186,7 @@ public class FinancialAdminReceiptItemWebRequestBean extends BaseFinancialsBean *

* @param itemQuantity Item quantity */ - public void setItemQuantity (final Long itemQuantity) { + public void setItemQuantity (final Short itemQuantity) { this.itemQuantity = itemQuantity; } diff --git a/web/WEB-INF/templates/admin/financial/receipt_item/admin_form_financial_receipt_item.tpl b/web/WEB-INF/templates/admin/financial/receipt_item/admin_form_financial_receipt_item.tpl index a9c24374..3eb30101 100644 --- a/web/WEB-INF/templates/admin/financial/receipt_item/admin_form_financial_receipt_item.tpl +++ b/web/WEB-INF/templates/admin/financial/receipt_item/admin_form_financial_receipt_item.tpl @@ -55,24 +55,4 @@ - - - - - - - - - - - - - - - - - -