- cash register numbers can actually be very large
validatorMessage="#{project.ENTERED_RECEIPT_NUMBER_INVALID}" />
<p:outputLabel for="receiptRegisterNumber" value="#{project.ENTER_RECEIPT_REGISTER_NUMBER}" />
- <p:inputText id="receiptRegisterNumber" size="3" maxlength="10" value="#{adminReceiptActionController.receiptRegisterNumber}" validatorMessage="#{project.ENTERED_RECEIPT_REGISTER_NUMBER_INVALID}">
- <f:validateLongRange minimum="1" maximum="999" />
+ <p:inputText id="receiptRegisterNumber" size="5" maxlength="10" value="#{adminReceiptActionController.receiptRegisterNumber}" validatorMessage="#{project.ENTERED_RECEIPT_REGISTER_NUMBER_INVALID}">
+ <f:validateLongRange minimum="1" maximum="999999" />
</p:inputText>
<p:outputLabel for="receiptBarCodeNumber" value="#{project.ENTER_RECEIPT_BARCODE_NUMBER}" />