updateLabel="true"
title="#{project.FILTER_BY_MULTIPLE_RECEIPT_SELLERS_TITLE}"
>
+
<f:converter converterId="EmployeeConverter" />
- <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
+ <f:selectItem
+ itemValue="#{null}"
+ itemLabel="#{msg.NONE_SELECTED}"
+ />
<f:selectItems
value="#{employeeListController.allEmployees}"
updateLabel="true"
title="#{msg.FILTER_BY_MULTIPLE_USERS_TITLE}"
>
+
<f:converter converterId="UserConverter" />
- <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
+ <f:selectItem
+ itemValue="#{null}"
+ itemLabel="#{msg.NONE_SELECTED}"
+ />
<f:selectItems
value="#{userListController.allUsers}"
</p:link>
</p:column>
+ <p:column
+ headerText="#{project.ADMIN_RECEIPT_RESUMPTION_OF}"
+ sortBy="#{receipt.receiptResumptionOf}"
+ filterBy="#{receipt.receiptResumptionOf}"
+ filterMatchMode="in"
+ >
+ <f:facet name="filter">
+ <p:selectCheckboxMenu
+ filter="true"
+ filterMatchMode="contains"
+ label="#{project.LABEL_RECEIPTS}"
+ onchange="PF('receiptList').filter()"
+ updateLabel="true"
+ title="#{project.FILTER_BY_MULTIPLE_RECEIPTS_TITLE}"
+ >
+ <f:converter converterId="ReceiptConverter" />
+
+ <f:selectItems
+ value="#{receiptListController.allReceipts}"
+ var="receiptResumptionOf"
+ itemValue="#{receiptResumptionOf}"
+ itemLabel="#{receiptBeanHelper.renderReceipt(receiptResumptionOf, false)}"
+ />
+ </p:selectCheckboxMenu>
+ </f:facet>
+
+ <p:link
+ outcome="admin_show_receipt"
+ value="#{receiptBeanHelper.renderReceipt(receipt.receiptResumptionOf, false)}"
+ title="#{project.ADMIN_LINK_SHOW_RECEIPT_TITLE}"
+ >
+ <f:param name="receiptId" value="#{receipt.receiptResumptionOf.receiptId}" />
+ </p:link>
+
+ <p:link
+ outcome="admin_assign_receipt_resumption"
+ value="#{msg.ADMIN_LINK_ASSIGN}"
+ title="#{project.ADMIN_LINK_ASSIGN_RECEIPT_RESUNPTION_OF_TITLE}"
+ rendered="#{empty receipt.receiptResumptionOf}"
+ >
+ <f:param name="receiptId" value="#{receipt.receiptId}" />
+ </p:link>
+ </p:column>
+
<p:column
headerText="#{msg.ADMIN_DATE_OF_ISSUE}"
sortBy="#{receipt.receiptIssued}"
<h:outputText value="#{msg[receipt.receiptPaymentType.messageKey]}" />
</p:column>
+ <p:column
+ headerText="#{msg.ENTRY_CREATED_HEADER}"
+ sortBy="#{receipt.receiptEntryCreated}"
+ filterable="false"
+ >
+ <h:outputText value="#{receipt.receiptEntryCreated}">
+ <f:convertDateTime type="both" timeStyle="short" dateStyle="short" />
+ </h:outputText>
+ </p:column>
+
+ <p:column
+ headerText="#{msg.ENTRY_UPDATED_HEADER}"
+ sortBy="#{receipt.receiptEntryUpdated}"
+ filterable="false"
+ >
+ <h:outputText value="#{receipt.receiptEntryUpdated}">
+ <f:convertDateTime type="both" timeStyle="short" dateStyle="short" />
+ </h:outputText>
+ </p:column>
+
<p:column
headerText="#{msg.ADMIN_ACTION_LINKS_HEADER}"
sortable="false"
</p:link>
<h:outputText value="#{project.NO_USER_ASSIGNED_TO_RECEIPT}" rendered="#{empty receiptListController.selectedReceipt.receiptUser}" />
+ <p:outputLabel value="#{project.RECEIPT_RESUMPTION_OF_HEADER}" title="#{project.ASSIGNED_RECEIPT_RESUMPTION_OF_TITLE}" />
+ <p:link
+ outcome="admin_show_receipt"
+ value="#{receiptBeanHelper.renderReceipt(receiptListController.selectedReceipt.receiptResumptionOf, true)}"
+ title="#{project.ADMIN_LINK_SHOW_RECEIPT_RESUMPTION_OF_TITLE}"
+ rendered="#{not empty receiptListController.selectedReceipt.receiptResumptionOf}"
+ >
+ <f:param name="receiptId" value="#{receiptListController.selectedReceipt.receiptResumptionOf.receiptId}" />
+ </p:link>
+ <h:outputText value="#{project.NO_RESUMED_RECEIPT_ASSIGNED_TO_RECEIPT}" rendered="#{empty receiptListController.selectedReceipt.receiptResumptionOf}" />
+
<p:outputLabel value="#{project.RECEIPT_REGISTER_NUMBER_HEADER}" title="#{project.RECEIPT_REGISTER_NUMBER_TITLE}" />
<h:outputText value="#{receiptListController.selectedReceipt.receiptRegisterNumber}" />