]> git.mxchange.org Git - jfinancials-war.git/commitdiff
Don't cherry-pick:
authorRoland Häder <roland@mxchange.org>
Thu, 20 Apr 2023 18:00:07 +0000 (20:00 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 20 Apr 2023 18:00:07 +0000 (20:00 +0200)
- cash register numbers can actually be very large

web/WEB-INF/templates/admin/financial/receipt/admin_form_financial_receipt.tpl

index d1968fda8303fdedb84843c3fd5cde0cde867da1..f5bb0952733fa72e1a893b7a5ed95108faac9184 100644 (file)
                                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}" />