sb.append(this.getMessageFromBundle("RECEIPT_ISSUED")).append(" "); //NOI18N
sb.append(DateFormat.getInstance().format(receipt.getReceiptIssued())).append(", "); //NOI18N
sb.append(this.getMessageFromBundle("PAYMENT_TYPE")).append(" "); //NOI18N
- sb.append(this.getMessageFromBundle(receipt.getReceiptPaymentType().getI18nKey()));
+ sb.append(this.getMessageFromBundle(receipt.getReceiptPaymentType().getMessageKey()));
// Is receipt number included?
if (receipt.getReceiptNumber() != null) {
value="#{dataController.paymentTypes}"
var="receiptPaymentType"
itemValue="#{paymentType}"
- itemLabel="#{msg[paymentType.i18nKey]}"
+ itemLabel="#{msg[paymentType.messageKey]}"
/>
</p:selectOneMenu>
<p:message for="receiptPaymentType" />
value="#{dataController.paymentTypes}"
var="paymentType"
itemValue="#{paymentType}"
- itemLabel="#{msg[paymentType.i18nKey]}"
+ itemLabel="#{msg[paymentType.messageKey]}"
/>
</p:selectCheckboxMenu>
</f:facet>
- <h:outputText value="#{msg[receipt.receiptPaymentType.i18nKey]}" />
+ <h:outputText value="#{msg[receipt.receiptPaymentType.messageKey]}" />
</p:column>
<p:column
<h:outputText value="#{receiptListController.selectedReceipt.receiptSequenceNumber}" />
<p:outputLabel value="#{msg.PAYMENT_TYPE}" title="#{project.RECEIPT_PAYMENT_TYPE_TITLE}" />
- <h:outputText value="#{msg[receiptListController.selectedReceipt.receiptPaymentType.i18nKey]}" />
+ <h:outputText value="#{msg[receiptListController.selectedReceipt.receiptPaymentType.messageKey]}" />
<p:outputLabel value="#{msg.ENTRY_CREATED_HEADER}" title="#{project.RECEIPT_ENTRY_CREATED_TITLE}" />
<h:outputText value="#{receiptListController.selectedReceipt.receiptCreated}">