<div class="table-right-medium">
<p:selectOneMenu
id="branchOffice"
- value="#{adminReceiptController.branchOffice}"
+ value="#{adminReceiptController.receiptBranchOffice}"
filter="true"
filterMatchMode="contains"
required="true"
</div>
<div class="table-right-medium">
- <p:inputText styleClass="input" id="receiptNumber" size="2" maxlength="10" value="#{receiptController.receiptNumber}" validatorMessage="#{msg.ENTERED_RECEIPT_NUMBER_INVALID}">
+ <p:inputText styleClass="input" id="receiptNumber" size="2" maxlength="10" value="#{adminReceiptController.receiptNumber}" validatorMessage="#{msg.ENTERED_RECEIPT_NUMBER_INVALID}">
<f:validateLongRange minimum="1" maximum="20" />
</p:inputText>
</div>
<h:panelGroup styleClass="table-row" layout="block">
<div class="table-left-medium">
- <p:outputLabel for="paymentType" value="#{project.LOGIN_FINANCIAL_INCOME_INTERVAL}" />
+ <p:outputLabel for="receiptPaymentType" value="#{project.LOGIN_FINANCIAL_RECEIPT_PAYMENT_TYPE}" />
</div>
<div class="table-right-medium">
<p:selectOneMenu
- id="paymentType"
- value="#{adminReceiptController.paymentType}"
+ id="receiptPaymentType"
+ value="#{adminReceiptController.receiptPaymentType}"
filter="true"
filterMatchMode="contains"
required="true"
requiredMessage="#{project.FIELD_FINANCIAL_RECEIPT_PAYMENT_TYPE_REQUIRED}"
>
<f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" noSelectionOption="true" />
- <f:selectItems value="#{receiptController.allPaymentTypes()}" var="paymentType" itemValue="#{paymentType}" itemLabel="#{msg[paymentType.i18nKey]}" />
+ <f:selectItems value="#{receiptController.allPaymentTypes()}" var="receiptPaymentType" itemValue="#{paymentType}" itemLabel="#{msg[paymentType.i18nKey]}" />
</p:selectOneMenu>
</div>
</h:panelGroup>
+
+ <h:panelGroup styleClass="error-container" layout="block">
+ <p:message for="receiptPaymentType" />
+ </h:panelGroup>
</fieldset>
<div class="table-footer">