/**
* Quantity of item
*/
- private Long itemQuantity;
+ private Short itemQuantity;
/**
* Assigned receipt
* <p>
* @return Item quantity
*/
- public Long getItemQuantity () {
+ public Short getItemQuantity () {
return this.itemQuantity;
}
* <p>
* @param itemQuantity Item quantity
*/
- public void setItemQuantity (final Long itemQuantity) {
+ public void setItemQuantity (final Short itemQuantity) {
this.itemQuantity = itemQuantity;
}
</p:selectOneMenu>
</p:panelGrid>
</p:fieldset>
-
- <p:fieldset legend="#{project.ADMIN_RECEIPT_ITEM_OTHER_LEGEND}">
- <!--
- @TODO: title="#{project.ADMIN_RECEIPT_ITEM_OTHER_LEGEND_TITLE}">
- -->
- <p:panelGrid layout="grid" columns="2" columnClasses="ui-grid-col-4, ui-grid-col-8" styleClass="table table-full ui-noborder">
- <p:outputLabel for="receiptNumber" value="#{project.ENTER_RECEIPT_ITEM_NUMBER}" />
- <p:inputText styleClass="input" id="receiptNumber" size="10" maxlength="20" value="#{adminReceiptItemController.receiptNumber}" validatorMessage="#{msg.ENTERED_RECEIPT_ITEM_NUMBER_INVALID}">
- <f:validateLongRange minimum="1" maximum="9999999999" />
- </p:inputText>
-
- <p:outputLabel for="receiptRegisterNumber" value="#{project.ENTER_RECEIPT_ITEM_REGISTER_NUMBER}" />
- <p:inputText styleClass="input" id="receiptRegisterNumber" size="3" maxlength="10" value="#{adminReceiptItemController.receiptRegisterNumber}" validatorMessage="#{msg.ENTERED_RECEIPT_ITEM_REGISTER_NUMBER_INVALID}">
- <f:validateLongRange minimum="1" maximum="999" />
- </p:inputText>
-
- <p:outputLabel for="receiptBarCodeNumber" value="#{project.ENTER_RECEIPT_ITEM_BARCODE_NUMBER}" />
- <p:inputText styleClass="input" id="receiptBarCodeNumber" size="24" maxlength="24" value="#{adminReceiptItemController.receiptBarCodeNumber}" />
- </p:panelGrid>
- </p:fieldset>
</ui:composition>