ADMIN_PRODUCT_MANUFACTURER_NAME_HEADER=Produktehersteller:
ADMIN_NO_PRODUCT_MANUFACTURER_ASSIGNED_TITLE=Es ist kein Hersteller dem Produkt zugewiesen.
RECEIPT_ISSUED=Ausgestellt:
-RECEIPT_NUMBER=Kassenbonnummer:
+RECEIPT_NUMBER_HEADER=Kassenbonnummer:
ADMIN_ENTER_GENERIC_PRODUCT_NUMBER=Geben Sie die Produktnummer ein:
ADMIN_ENTER_GENERIC_PRODUCT_NUMBER_TITLE=Geben Sie die Nummer des Produktes ein.
ENTER_RECEIPT_ITEM_NUMBER=Artikelnumber:
RECEIPT_REGISTER_NUMBER_HEADER=Kassennummer:
RECEIPT_REGISTER_NUMBER_TITLE=Kassenummer des Kassenbons.
ADMIN_PRODUCT_NUMBER_HEADER=Produktnummer:
+RECEIPT_NO_BARCODE_ASSIGNED=Dem Kassenbon wurde kein Barcode zugewiesen.
ADMIN_PRODUCT_MANUFACTURER_NAME_HEADER=Product manufacturer:
ADMIN_NO_PRODUCT_MANUFACTURER_ASSIGNED_TITLE=No manufacturer is assigned with this product.
RECEIPT_ISSUED=Issued at:
-RECEIPT_NUMBER=Receipt number:
+RECEIPT_NUMBER_HEADER=Receipt number:
ADMIN_ENTER_GENERIC_PRODUCT_NUMBER=Enter product number:
ADMIN_ENTER_GENERIC_PRODUCT_NUMBER_TITLE=Enter number of product.
ENTER_RECEIPT_ITEM_NUMBER=Item number:
RECEIPT_REGISTER_NUMBER_HEADER=Register number:
RECEIPT_REGISTER_NUMBER_TITLE=Register's number of receipt.
ADMIN_PRODUCT_NUMBER_HEADER=Product number:
+RECEIPT_NO_BARCODE_ASSIGNED=No barcode has been assigned to the receipt.
columns="2"
columnClasses="ui-grid-col-4,ui-grid-col-8"
>
- <p:outputLabel for="receiptNumber" value="#{project.RECEIPT_NUMBER}" />
+ <p:outputLabel for="receiptNumber" value="#{project.RECEIPT_NUMBER_HEADER}" />
<p:inputText
id="receiptNumber"
size="20"
<param-name>min_user_password_score</param-name>
<param-value>50</param-value>
</context-param>
+ <context-param>
+ <description>Type of receipt barcode (see p:barcode)</description>
+ <param-name>receipt_barcode_type</param-name>
+ <param-value>codabar</param-value>
+ </context-param>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
</p:link>
</p:column>
+ <p:column headerText="#{project.RECEIPT_NUMBER_HEADER}" sortBy="#{receipt.receiptNumber}" filterBy="#{receipt.receiptNumber}">
+ <h:outputText value="#{receipt.receiptNumber}" rendered="#{not empty receipt.receiptNumber}" />
+ <h:outputText value="-" rendered="#{empty receipt.receiptNumber}" />
+ </p:column>
+
<p:column headerText="#{msg.ADMIN_ASSIGNED_BRANCH_OFFICE}" sortBy="#{receipt.receiptBranchOffice}" filterBy="#{receipt.receiptBranchOffice}" filterMatchMode="in">
<f:facet name="filter">
<p:selectCheckboxMenu
<p:outputLabel value="#{msg.ID_NUMBER_HEADER}" title="#{project.RECEIPT_ID_NUMBER_TITLE}" />
<h:outputText value="#{receiptListController.selectedReceipt.receiptId}" />
- <p:outputLabel value="#{project.RECEIPT_NUMBER}" title="#{project.RECEIPT_NUMBER_TITLE}" />
+ <p:outputLabel value="#{project.RECEIPT_NUMBER_HEADER}" title="#{project.RECEIPT_NUMBER_HEADER_TITLE}" />
<h:outputText value="#{receiptListController.selectedReceipt.receiptNumber}" />
<p:outputLabel value="#{project.RECEIPT_ISSUED}" title="#{project.RECEIPT_ISSUED_TITLE}" />
<h:outputText value="#{receiptListController.selectedReceipt.receiptRegisterNumber}" />
<p:outputLabel value="#{project.RECEIPT_BARCODE_HEADER}" title="#{project.RECEIPT_BARCODE_TITLE}" />
- <h:outputText value="#{receiptListController.selectedReceipt.receiptBarCodeNumber}" />
+ <h:outputText value="#{project.RECEIPT_NO_BARCODE_ASSIGNED}" rendered="#{empty receiptListController.selectedReceipt.receiptBarCodeNumber}" />
+ <p:barcode format="svg" width="100%" type="#{initParam['receipt_barcode_type']}" value="#{receiptListController.selectedReceipt.receiptBarCodeNumber}" rendered="#{not empty receiptListController.selectedReceipt.receiptBarCodeNumber}" />
<p:outputLabel value="#{project.RECEIPT_SEQUENCE_NUMBER_HEADER}" title="#{project.RECEIPT_SEQUENCE_NUMBER_TITLE}" />
<h:outputText value="#{receiptListController.selectedReceipt.receiptSequenceNumber}" />