--- /dev/null
+# Copyright (C) 2016 - 2018 Free Software Foundation
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+PRODUCT_GROSS_PRICE_REQUIRED=Bitte geben Sie den Bruttopreis des Produktes ein.
+#@TODO Please fix German umlauts!
+ENTER_PRODUCT_NET_PRICE_TITLE=Nettopreis fuer Produkt eingeben.
+#@TODO Please fix German umlauts!
+ENTER_PRODUCT_TAX_RATE_TITLE=Steuersatz fuer Produkt eingeben.
+#@TODO Please fix German umlauts!
+ENTER_PRODUCT_GROSS_PRICE_TITLE=Brutto-Preis fuer Produkt eingeben.
+ADMIN_ENTER_GENERIC_PRODUCT_PRICE=Preis des Produktes eingeben:
+ENTER_NET_PRICE=Nettopreis:
+ENTER_TAX_RATE=Steuersatz:
+ENTER_GROSS_PRICE=Bruttopreis:
+ADMIN_ASSIGNED_ITEM_PRODUCT=Zugewiesenes Produkt:
+LABEL_PRODUCTS=Produkte
+#@TODO Please fix German umlauts!
+ADMIN_PRODUCT_REQUIRED=Bitte waehlen Sie ein Produkt aus.
+ADMIN_MENU_PRODUCTS_CATEGORIES_TITLE=Produkte & Kategorien
+ADMIN_LINK_LIST_GENERIC_PRODUCTS=Produkte auflisten
+ADMIN_LINK_LIST_GENERIC_PRODUCTS_TITLE=Auflisten und verwalten von allgemeinen Produkten.
+ADMIN_LINK_LIST_CATEGORIES=Produktkategorien
+ADMIN_LINK_LIST_CATEGORIES_TITLE=Auflisten und verwalten von Produktkategorien.
+PAGE_TITLE_ADMIN_LIST_GENERIC_PRODUCT=Produkte auflisten
+CONTENT_TITLE_ADMIN_LIST_GENERIC_PRODUCT=Produkte auflisten:
+TABLE_SUMMARY_ADMIN_LIST_GENERIC_PRODUCTS=Diese Tabelle listet alle eingetragenen Produkte auf.
+#@TODO Please fix German umlauts!
+ADMIN_EMPTY_LIST_GENERIC_PRODUCTS=Es befinden sich keine Produkte in der Datenbank. Oder Ihre Suche ergab keine Uebereinstimmungen.
+ADMIN_LINK_SHOW_GENERIC_PRODUCT_TITLE=Zeigt Daten des Produktes an.
+#@TODO Please fix German umlauts!
+ADMIN_LINK_EDIT_GENERIC_PRODUCT_TITLE=Aendert Daten des Produktes ab.
+#@TODO Please fix German umlauts!
+ADMIN_LINK_DELETE_GENERIC_PRODUCT_TITLE=Loescht das Produkt aus der Datenbank.
+ADMIN_ASSIGNED_PRODUCT_CATEGORY_HEADER=Zugewiesene Produktkategorie:
+LABEL_PRODUCT_CATEGORIES=Produktkategorien
+FILTER_BY_MULTIPLE_PRODUCT_CATEGORIES_TITLE=Liste durch Auswahl von ein oder mehr Produktkategorien filtern.
+ADMIN_LINK_SHOW_GENERIC_PRODUCT_CATEGORY_TITLE=Zeigt Daten der Produktkategorie an.
+#@TODO Please fix German umlauts!
+ADMIN_LINK_EDIT_GENERIC_PRODUCT_CATEGORY_TITLE=Aendert Daten der Produktkategorie ab.
+#@TODO Please fix German umlauts!
+ADMIN_LINK_DELETE_GENERIC_PRODUCT_CATEGORY_TITLE=Loescht die Produktkategorie aus der Datenbank.
+#@TODO Please fix German umlauts!
+PRODUCT_AVAILABILITY_HEADER=Produkt verfuegbar:
+#@TODO Please fix German umlauts!
+ADMIN_ADD_GENERIC_PRODUCT_TITLE=Neues Produkt hinzufuegen
+#@TODO Please fix German umlauts!
+ADMIN_ADD_GENERIC_PRODUCT_MINIMUM_DATA=Bitte waehlen Sie eine Produktkategorie aus und geben Sie Produkttitel, sowie Stueckzahl (meistens 1), Einheit, Bruttopreis und Waehrungscode (EUR z.B.) ein.
+ADMIN_GENERIC_PRODUCT_DATA_LEGEND=Produktdaten eingeben:
+ADMIN_ASSIGN_PRODUCT_CATEGORY=Zum Produkt zugewiesene Kategorie:
+#@TODO Please fix German umlauts!
+ADMIN_ENTER_GENERIC_PRODUCT_I18N_KEY=Uebersetzungsschluessel zum Produkt eingeben:
+#@TODO Please fix German umlauts!
+ADMIN_ENABLE_PRODUCT_AVAILABILITY=Ist das Produkt verfuegbar:
+ADMIN_ASSIGN_PRODUCT_CATEGORY_TITLE=Waehlen Sie die Produktkategorie zum neu hinzuzufuegenden Produkt aus.
+#@TODO Please fix German umlauts!
+ADMIN_ENTER_GENERIC_PRODUCT_I18N_KEY_TITLE=Geben Sie den Uebersetzungsschluessel zum Produkt ein. Dieser darf nur einmal existieren.
+#@TODO Please fix German umlauts!
+ADMIN_ENABLE_PRODUCT_AVAILABILITY_TITLE=Waehlen Sie aus, ob das Produkt verfuegbar/aktiv ist.
+#@TODO Please fix German umlauts!
+ADMIN_ENTER_GENERIC_PRODUCT_CURRENCY_CODE=Waehrungscode eingeben:
+#@TODO Please fix German umlauts!
+ADMIN_ENTER_GENERIC_PRODUCT_CURRENCY_CODE_TITLE=Geben Sie den Waehrungscode fuer das Produkt ein. Beispiele: EUR, USD, PHP
+#@TODO Please fix German umlauts!
+ADMIN_ENTER_GENERIC_PRODUCT_UNIT_AMOUNT=Produktstueckzahl eingeben:
+#@TODO Please fix German umlauts!
+ADMIN_ENTER_GENERIC_PRODUCT_UNIT_AMOUNT_TITLE=Geben Sie hier die Stueckzahl des Produktes ein. Zum Beispiel 500 fuer 500 Gramm. Unter Stueckzahleinheit geben Sie dann einfach nur "g" ein.
+#@TODO Please fix German umlauts!
+BUTTON_ADMIN_ADD_GENERIC_PRODUCT=Produkt hinzufuegen
+#@TODO Please fix German umlauts!
+ADMIN_PRODUCT_CATEGORY_REQUIRED=Bitte waehlen Sie eine Produktkategorie aus.
+#@TODO Please fix German umlauts!
+ADMIN_PRODUCT_I18N_KEY_REQUIRED=Bitte geben Sie einen Uebersetzungsschluessel fuer das Produkt ein.
+PAGE_TITLE_ADMIN_LIST_PRODUCT_CATEGORY=Produktkategorien auflisten
+CONTENT_TITLE_ADMIN_LIST_PRODUCT_CATEGORY=Produktkategorien auflisten:
+TABLE_SUMMARY_ADMIN_LIST_PRODUCT_CATEGORIES=Diese Tabelle listet alle eingetragenen Produktkategorien auf.
+ADMIN_EMPTY_LIST_PRODUCT_CATEGORIES=Es befinden sich keine Produktkategorien in der Datenbank. Oder Ihre Suche ergab keine Uebereinstimmungen.
+ADMIN_ASSIGNED_PARENT_CATEGORY_HEADER=Zugewiesene Elternkategorie:
+ADMIN_LINK_SHOW_PRODUCT_CATEGORY_TITLE=Zeigt Daten der Produktkategorie an.
+ADMIN_LINK_ASSIGN_PARENT_CATEGORY_TITLE=Elternkategorie zuweisen.
+#@TODO Please fix German umlauts!
+ADMIN_ADD_PRODUCT_CATEGORY_TITLE=Neue Produktkategorie hinzufuegen
+#@TODO Please fix German umlauts!
+ADMIN_ADD_PRODUCT_CATEGORY_MINIMUM_DATA=Bitte geben Sie den Titel fuer die Kategorie ein. Sie koennen optional eine Elternkategorie fuer diese neue auswaehlen.
+#@TODO Please fix German umlauts!
+BUTTON_ADMIN_ADD_PRODUCT_CATEGORY=Produktkategorie hinzufuegen
+ADMIN_PRODUCT_CATEGORY_DATA_LEGEND=Daten zur Produktkategorie:
+ADMIN_ASSIGN_PARENT_CATEGORY=Elternkategorie zuweisen:
+ADMIN_ASSIGN_PARENT_CATEGORY_TITLE=Weisen Sie eine andere Produktkategorie als Elternkategorie zu dieser neuen zu.
+#@TODO Please fix German umlauts!
+ADMIN_ENTER_CATEGORY_I18N_KEY=I18N-Schluessel fuer Kategorie eingeben:
+#@TODO Please fix German umlauts!
+ADMIN_ENTER_CATEGORY_I18N_KEY_TITLE=Geben Sie den I18N-Schluessel zur Produktkategorie ein (Beispiel: CATEGORY_CONSUMABLES).
+#@TODO Please fix German umlauts!
+ADMIN_CATEGORY_I18N_KEY_REQUIRED=Bitte geben Sie den I18N-Schluessel zur Produktkategorie ein.
+ADMIN_ENABLE_CATEGORY_IN_STATISTICS=Soll die Kategorie in Statistiken auftauchen:
+ADMIN_ENABLE_CATEGORY_IN_STATISTICS_TITLE=Waehlen Sie aus, ob diese Kategorie in Statistiken aufytauchen soll.
+ADMIN_ENABLE_CATEGORY_IN_STATISTICS_REQUIRED=Bitte waehlen Sie aus, ob diese Kategorie in Statistiken auftauchen soll.
+#@TODO Please fix German umlauts!
+ADMIN_ENTERED_CATEGORY_I18N_KEY_ALREADY_ADDED=Der von Ihnen eingegebene Uebersetzungsschluessel fuer die Kategorie ist bereits vorhanden. Bitte gebene Sie einen anderen an.
+#@TODO Please fix German umlauts!
+ADMIN_ENTERED_PRODUCT_I18N_KEY_ALREADY_ADDED=Der von Ihnen eingegebene Uebersetzungsschluessel fuer das Produkt ist bereits vorhanden. Bitte gebene Sie einen anderen an.
+#@TODO Please fix German umlauts!
+ADMIN_ENTER_GENERIC_PRODUCT_UNIT_I18N_KEY=Uebersetzungschluessel der Einheit fuer Stueckzahl eingeben:
+#@TODO Please fix German umlauts!
+ADMIN_ENTER_GENERIC_PRODUCT_UNIT_I18N_KEY_TITLE=Geben Sie hier die Einheit fuer die Produktstueckzahl ein, wie z.B. "l" fuer Liter oder "kg" fuer Kilogramm.
+ADMIN_ASSIGN_PRODUCT_MANUFACTURER=Hersteller dem Produkt zuweisen:
+#@TODO Please fix German umlauts!
+ADMIN_ASSIGN_PRODUCT_MANUFACTURER_TITLE=Weisen Sie hier ein Hersteller dem Produkt zu. Supermaerke verkaufen oefters nur die Produkte, die ein anderes Unternehmen hergestellt hat.
+ENTER_RAND_NAME=Warenzeichen/Marke eingeben:
+ENTER_RAND_NAME_TITLE=Geben Sie das Warenzeichen ein, dass Sie auf dem Kassenbon finden.
+#@TODO Please fix German umlauts!
+ADMIN_PRODUCT_CURRENCY_CODE_REQUIRED=Bitte geben Sie den Waehrungscode fuer das Produkt ein. Beispiele: EUR, USD, PHP
+#@TODO Please fix German umlauts!
+ADMIN_PRODUCT_UNIT_AMOUNT_REQUIRED=Bitte geben Sie die Stueckanzahl des Produktes ein. Beispiel: 500 fuer 500g
+#@TODO Please fix German umlauts!
+ADMIN_PRODUCT_UNIT_I18N_KEY_REQUIRED=Bitte geben Sie den Uebersetzungschluessel zur Stueckzahl ein. Beispiel: UNIT_TYPE_GRAMS fuer Gramm
+ADMIN_PRODUCT_MANUFACTURER_NAME_HEADER=Produktehersteller:
+ADMIN_NO_PRODUCT_MANUFACTURER_ASSIGNED_TITLE=Es ist kein Hersteller dem Produkt zugewiesen.
+ADMIN_ENTER_GENERIC_PRODUCT_NUMBER=Geben Sie die Produktnummer ein:
+ADMIN_ENTER_GENERIC_PRODUCT_NUMBER_TITLE=Geben Sie die Nummer des Produktes ein.
+#@TODO Please fix German umlauts!
+ADMIN_SELECT_PRODUCT_AGE_GROUP=Altersklasse zum Produkt auswaehlen:
+#@TODO Please fix German umlauts!
+ADMIN_SELECT_PRODUCT_AGE_GROUP_TITLE=Bitte waehlen Sie wenn moeglich eine Altersklasse fuer dieses Produkt aus. Zum Beispiel haben Schuhe und Kleidung Altersklassen.
+#@TODO Please fix German umlauts!
+ADMIN_ENTER_GENERIC_PRODUCT_SIZE=Groesse des Produktes:
+#@TODO Please fix German umlauts!
+ADMIN_ENTER_GENERIC_PRODUCT_SIZE_TITLE=Geben Sie hier die Groesse des Produktes an. Zum Beispiel haben Schuhe oder Kleider Groessen.
+AGE_GROUP_NEWBORN=Altersgruppe "Neugeboren"
+AGE_GROUP_BABY=Altersgruppe "Baby"
+AGE_GROUP_CHILD=Altersgruppe "Kind"
+AGE_GROUP_YOUTH=Altersgruppe "Jugend"
+AGE_GROUP_ADULT=Altersgruppe "Erwachsen"
+AGE_GROUP_SENIOR=Altersgruppe "Senior"
+ADMIN_PRODUCT_DETAILS_HEADER=Details zum Produkt "{0}" (Id {1}):
+ADMIN_SINGLE_PRODUCT_DETAILS_HEADER=Details zum einzelnen Produkt
+PRODUCT_ID_NUMBER_TITLE=Id-Nummer des Produktes
+#@TODO Please fix German umlauts!
+PRODUCT_I18N_KEY_TITLE=Internationalisierungsschluessel fuer das Produkt.
+#@TODO Please fix German umlauts!
+PRODUCT_AVAILABILITY_TITLE=Ob das Produkt zur Verfuegung steht.
+AGE_GROUP_HEADER=Altersgruppe:
+PRODUCT_AGE_GROUP_TITLE=Altersgruppe des Produktes.
+PRODUCT_HAS_NO_AGE_GROUP=Das Produkt hat keine Altersgruppe.
+#@TODO Please fix German umlauts!
+CURRENCY_CODE_HEADER=Waehrungscode
+#@TODO Please fix German umlauts!
+PRODUCT_CURRENCY_CODE_TITLE=Waehrungscode des Produktpreises
+PRODUCT_GROSS_PRICE_TITLE=Bruttopreis des Produktes
+PRODUCT_NET_PRICE_TITLE=Nettopreis des Produktes
+PRODUCT_TAX_RATE_TITLE=Steuersatz des Produktes
+PRODUCT_NUMBER_HEADER=Produktnummer:
+PRODUCT_NUMBER_TITLE=Nummer des Produktes
+#@TODO Please fix German umlauts!
+PRODUCT_SIZE_HEADER=Produktgroesse:
+PRODUCT_UNIT_AMOUNT_HEADER=Produktmenge:
+PRODUCT_UNIT_AMOUNT_TITLE=Mengenangabe des Produktes
+#@TODO Please fix German umlauts!
+PRODUCT_UNIT_I18N_KEY_HEADER=Internationalisierungsschluessel fuer Einheit:
+#@TODO Please fix German umlauts!
+PRODUCT_UNIT_I18N_KEY_TITLE=Internationalisierungsschluessel fuer Einheit
+PRODUCT_HAS_NO_MANUFACTURER_ASSIGNED=Produkt hat keinen Hersteller zugewiesen.
+ADMIN_ASSIGNED_PRODUCT_MANUFACTURER_HEADER=Zugewiesener Hersteller:
+ADMIN_ASSIGNED_PRODUCT_MANUFACTURER_TITLE=Diesem Produkt zugewiesner Hersteller.
+#@TODO Please fix German umlauts!
+ADMIN_PRODUCT_ENTRY_CREATED_TITLE=Wann dieses Produkt der Datenbank hinzugefuegt wurde.
+#@TODO Please fix German umlauts!
+ADMIN_CATEGORY_ENTRY_CREATED_TITLE=Wann diese Kategorie der Datenbank hinzugefuegt wurde.
+ADMIN_SINGLE_CATEGORY_DETAILS_HEADER=Details zur einzelnen Kategorie
+ADMIN_CATEGORY_DETAILS_HEADER=Details zur Kategorie "{0}" (Id {1}):
+CATEGORY_ID_NUMBER_TITLE=Id-Nummer der Kategorie
+#@TODO Please fix German umlauts!
+CATEGORY_I18N_KEY_TITLE=Internationalisationsschluessel fuer Kategorie
+CATEGORY_IN_STATISTICS_HEADER=In Statistiken:
+CATEGORY_SHOW_IN_STATISTICS_TITLE=Ob diese Kategorie in Statistiken vorkommt.
+CATEGORY_PARENT_HEADER=Elternkategorie:
+CATEGORY_PARENT_TITLE=Elternkategorie dieser Kategorie.
+CATEGORY_HAS_NO_PARENT=Diese Kategorie hat keine Elternkategorie.
+PAGE_TITLE_ADMIN_SHOW_GENERIC_PRODUCT=Produkt anzeigen
+CONTENT_TITLE_ADMIN_SHOW_GENERIC_PRODUCT=Produkt anzeigen:
+PAGE_TITLE_ADMIN_GENERIC_PRODUCT_EDIT=Produkt editieren
+CONTENT_TITLE_ADMIN_GENERIC_PRODUCT_EDIT=Produkt editieren:
+#@TODO Please fix German umlauts!
+PAGE_TITLE_ADMIN_GENERIC_PRODUCT_DELETE=Produkt loeschen
+#@TODO Please fix German umlauts!
+CONTENT_TITLE_ADMIN_GENERIC_PRODUCT_DELETE=Produkt loeschen:
+ERROR_PARAMETER_PRODUCT_ID_NOT_SET=Fehler: Produkt-Id nicht gesetzt (Parameter: productId).
+#@TODO Please fix German umlauts!
+PARAMETER_PRODUCT_ID_INVALID=Parameter "productId" ist ungueltig.
+PRODUCT_I18N_KEY_HEADER=Internationalisierungsschluessel des Produktes:
+ADMIN_ASSIGNED_MANUFACTURER_HEADER=Zugewiesener Hersteller:
+GROSS_PRICE_HEADER=Bruttopreis:
+NET_PRICE_HEADER=Nettopreis:
+TAX_RATE_HEADER=Steuersatz:
+BRAND_NAME_HEADER=Warenzeichen:
+IS_DISCOUNT_HEADER=Ist ein Nachlass?
+#@TODO Please fix German umlauts!
+IS_REFUND_HEADER=Ist eine Rueckerstattung?
+ADMIN_EDIT_GENERIC_PRODUCT_TITLE=Produkt-Id {0} editieren
+#@TODO Please fix German umlauts!
+ADMIN_EDIT_GENERIC_PRODUCT_MINIMUM_DATA=Sie koennen hier alle Werte aendern aber geben oder waehlen Sie mindestens die markierten (*) ein/aus.
+#@TODO Please fix German umlauts!
+BUTTON_ADMIN_EDIT_GENERIC_PRODUCT=Allgemeines Produkt aendern
+ADMIN_PRODUCT_NUMBER_HEADER=Produktnummer:
+NO_PRODUCT_NUMBER_ASSIGNED=Keine Produktnummer zugewiesen.
+ADMIN_ENTER_GENERIC_PRODUCT_BARCODE_NUMBER=Geben Sie die Balkencodenummer des Produktes ein:
+BARCODE_NUMBER_HEADER=Barcode-Nummer:
+PRODUCT_NO_BARCODE_NUMBER_ASSIGNED=Das Produkt hat keine Barcode-Nummer zugewiesen.
+PRODUCT_BARCODE_NUMBER_TITLE=Barcode Nummer des Produktes.
--- /dev/null
+# Copyright (C) 2016 - 2018 Free Software Foundation
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+PRODUCT_GROSS_PRICE_REQUIRED=Please enter product's gross price.
+ENTER_PRODUCT_NET_PRICE_TITLE=Enter product net price.
+ENTER_PRODUCT_TAX_RATE_TITLE=Enter product tax rate.
+ENTER_PRODUCT_GROSS_PRICE_TITLE=Enter product gross price.
+ADMIN_ENTER_GENERIC_PRODUCT_PRICE=Enter product's price:
+ENTER_NET_PRICE=Net price:
+ENTER_TAX_RATE=Tax rate:
+ENTER_GROSS_PRICE=Gross price:
+ADMIN_ASSIGNED_ITEM_PRODUCT=Assigned product:
+LABEL_PRODUCTS=Products
+ADMIN_PRODUCT_REQUIRED=Please choose a product.
+ADMIN_MENU_PRODUCTS_CATEGORIES_TITLE=Products & Categories
+ADMIN_LINK_LIST_GENERIC_PRODUCTS=Products
+ADMIN_LINK_LIST_GENERIC_PRODUCTS_TITLE=Lists and manages generic products.
+ADMIN_LINK_LIST_CATEGORIES=Product categories
+ADMIN_LINK_LIST_CATEGORIES_TITLE=Lists and manages product categories.
+PAGE_TITLE_ADMIN_LIST_GENERIC_PRODUCT=List products
+CONTENT_TITLE_ADMIN_LIST_GENERIC_PRODUCT=List products:
+TABLE_SUMMARY_ADMIN_LIST_GENERIC_PRODUCTS=This table lists all products.
+ADMIN_EMPTY_LIST_GENERIC_PRODUCTS=There are no products in database. Or your search criteria doesn't match anything.
+ADMIN_LINK_SHOW_GENERIC_PRODUCT_TITLE=Shows product data.
+ADMIN_LINK_EDIT_GENERIC_PRODUCT_TITLE=Edits product data.
+ADMIN_LINK_DELETE_GENERIC_PRODUCT_TITLE=Deletes product data.
+ADMIN_ASSIGNED_PRODUCT_CATEGORY_HEADER=Assigned product category:
+LABEL_PRODUCT_CATEGORIES=Product categories
+FILTER_BY_MULTIPLE_PRODUCT_CATEGORIES_TITLE=Filter list by selecting one or more product categories.
+ADMIN_LINK_SHOW_GENERIC_PRODUCT_CATEGORY_TITLE=Shows product category data.
+ADMIN_LINK_EDIT_GENERIC_PRODUCT_CATEGORY_TITLE=Edits product category data.
+ADMIN_LINK_DELETE_GENERIC_PRODUCT_CATEGORY_TITLE=Deletes product category data.
+PRODUCT_AVAILABILITY_HEADER=Product available:
+ADMIN_ADD_GENERIC_PRODUCT_TITLE=Add new product
+ADMIN_ADD_GENERIC_PRODUCT_MINIMUM_DATA=Please choose a product category and enter product title, unit amount and type, gross price and currency code (e.g. USD).
+ADMIN_GENERIC_PRODUCT_DATA_LEGEND=Product data:
+ADMIN_ASSIGN_PRODUCT_CATEGORY=Assign category to product:
+ADMIN_ENTER_GENERIC_PRODUCT_I18N_KEY=Enter product's i8n key:
+ADMIN_ENABLE_PRODUCT_AVAILABILITY=Is the product available:
+ADMIN_ASSIGN_PRODUCT_CATEGORY_TITLE=Choose the product category for the to be added product.
+ADMIN_ENTER_GENERIC_PRODUCT_I18N_KEY_TITLE=Enter product unit's i18n key. This must be unique.
+ADMIN_ENABLE_PRODUCT_AVAILABILITY_TITLE=Choose if the product is available/active.
+ADMIN_ENTER_GENERIC_PRODUCT_CURRENCY_CODE=Enter currency code:
+ADMIN_ENTER_GENERIC_PRODUCT_CURRENCY_CODE=Enter currency code:
+ADMIN_ENTER_GENERIC_PRODUCT_UNIT_AMOUNT=Enter product's unit amount:
+ADMIN_ENTER_GENERIC_PRODUCT_UNIT_AMOUNT_TITLE=Enter the product's unit amount. For example 500 for 500 grams. Under i18n key, then just enter "g".
+AGE_GROUP_YOUTH=Altersgruppe "Jungend"
+ADMIN_PRODUCT_CATEGORY_REQUIRED=Please choose a product category.
+ADMIN_PRODUCT_I18N_KEY_REQUIRED=Please enter a product i18n key.
+PAGE_TITLE_ADMIN_LIST_PRODUCT_CATEGORY=List product categories
+CONTENT_TITLE_ADMIN_LIST_PRODUCT_CATEGORY=List product categories:
+TABLE_SUMMARY_ADMIN_LIST_PRODUCT_CATEGORIES=This table lists all product categories.
+ADMIN_EMPTY_LIST_PRODUCT_CATEGORIES=There are no product categories in database. Or your search criteria doesn't match anything.
+ADMIN_ASSIGNED_PARENT_CATEGORY_HEADER=Assigned parent category:
+ADMIN_LINK_SHOW_PRODUCT_CATEGORY_TITLE=Shows product category data.
+ADMIN_LINK_ASSIGN_PARENT_CATEGORY_TITLE=Assign parent cateogory.
+ADMIN_ADD_PRODUCT_CATEGORY_TITLE=Add new product category
+ADMIN_ADD_PRODUCT_CATEGORY_MINIMUM_DATA=Please enter a title for adding new category. You can optionally choose a parent category of the new one.
+BUTTON_ADMIN_ADD_PRODUCT_CATEGORY=Add product category
+ADMIN_PRODUCT_CATEGORY_DATA_LEGEND=Data of product category:
+ADMIN_ASSIGN_PARENT_CATEGORY=Assign parent category:
+ADMIN_ASSIGN_PARENT_CATEGORY_TITLE=Assign an other product category as parent category for the new one.
+ADMIN_ENTER_CATEGORY_I18N_KEY=Enter category i18n key:
+ADMIN_ENTER_CATEGORY_I18N_KEY_TITLE=Enter i18n key for this new product category (example: CATEGORY_CONSUMABLES).
+ADMIN_CATEGORY_I18N_KEY_REQUIRED=Please enter i18n key of product category.
+ADMIN_ENABLE_CATEGORY_IN_STATISTICS=Enable whether category is in statistics:
+ADMIN_ENABLE_CATEGORY_IN_STATISTICS_TITLE=Choose if this category is enlisted in any kind of statistics.
+ADMIN_ENABLE_CATEGORY_IN_STATISTICS_REQUIRED=Please choose if this category should be shown in any statistics.
+ADMIN_ENTERED_CATEGORY_I18N_KEY_ALREADY_ADDED=Your entered category i18n key is already added. Please enter an other one.
+ADMIN_ENTERED_PRODUCT_I18N_KEY_ALREADY_ADDED=Your entered product i18n key is already added. Please enter an other one.
+ADMIN_ENTER_GENERIC_PRODUCT_UNIT_I18N_KEY=Enter product unit's i18n key:
+ADMIN_ENTER_GENERIC_PRODUCT_UNIT_I18N_KEY_TITLE=Enter the product unit's i18n key, like "l" for liter or "kg" for kilo grams.
+ADMIN_ASSIGN_PRODUCT_MANUFACTURER=Assign product's manufacturing/producing company:
+ADMIN_ASSIGN_PRODUCT_MANUFACTURER_TITLE=Assign a manufacturing/producing company to this product. Supermarkets are often only selling products other companies have produced.
+ADMIN_ENTER_GENERIC_PRODUCT_CURRENCY_CODE_TITLE=Enter the currency code for product. Examples: EUR, USD, PHP
+ENTER_RAND_NAME=Enter item's brand name:
+ENTER_RAND_NAME_TITLE=Enter the item's brand name found on receipt.
+ADMIN_PRODUCT_CURRENCY_CODE_REQUIRED=Please enter current code for product. Example: EUR, USD, PHP
+ADMIN_PRODUCT_UNIT_AMOUNT_REQUIRED=Please enter a unit amount. Example 500 for 500 grams.
+ADMIN_PRODUCT_UNIT_I18N_KEY_REQUIRED=Please enter unit's i18n key. Example: UNIT_TYPE_GRAMS for grams
+ADMIN_PRODUCT_MANUFACTURER_NAME_HEADER=Product manufacturer:
+ADMIN_NO_PRODUCT_MANUFACTURER_ASSIGNED_TITLE=No manufacturer is assigned with this product.
+ADMIN_ENTER_GENERIC_PRODUCT_NUMBER=Enter product number:
+ADMIN_ENTER_GENERIC_PRODUCT_NUMBER_TITLE=Enter number of product.
+ADMIN_SELECT_PRODUCT_AGE_GROUP=Choose product's age group:
+ADMIN_SELECT_PRODUCT_AGE_GROUP_TITLE=Please choose an age class for this product, if possible. For example shoes and clothing have age classes.
+ADMIN_ENTER_GENERIC_PRODUCT_SIZE=Enter product's size:
+ADMIN_ENTER_GENERIC_PRODUCT_SIZE_TITLE=Enter product's size, if available. For example shoes or clothing have sizes.
+AGE_GROUP_NEWBORN=Age group "Newborn"
+AGE_GROUP_BABY=Age group "Baby"
+AGE_GROUP_CHILD=Age group "Child"
+AGE_GROUP_YOUTH=Age group "Youth"
+AGE_GROUP_ADULT=Age group "Adult"
+AGE_GROUP_SENIOR=Age group "Senior"
+BUTTON_ADMIN_ADD_GENERIC_PRODUCT=Add product
+ADMIN_PRODUCT_DETAILS_HEADER=Details of product "{0}" (Id {1}):
+ADMIN_SINGLE_PRODUCT_DETAILS_HEADER=Details of a single product
+PRODUCT_ID_NUMBER_TITLE=Id number of product
+PRODUCT_I18N_KEY_TITLE=Internationalization key of product.
+PRODUCT_AVAILABILITY_TITLE=Whether product is available.
+AGE_GROUP_HEADER=Age group:
+PRODUCT_AGE_GROUP_TITLE=Age group of product.
+PRODUCT_HAS_NO_AGE_GROUP=The product has no age group.
+CURRENCY_CODE_HEADER=Currency code
+PRODUCT_CURRENCY_CODE_TITLE=Currency code of product's price
+PRODUCT_GROSS_PRICE_TITLE=Gross price of product
+PRODUCT_NET_PRICE_TITLE=Net price of product
+PRODUCT_TAX_RATE_TITLE=Tax rate of product
+PRODUCT_NUMBER_HEADER=Product number:
+PRODUCT_NUMBER_TITLE=Number of product
+PRODUCT_SIZE_HEADER=Product size:
+PRODUCT_UNIT_AMOUNT_HEADER=Product amount:
+PRODUCT_UNIT_AMOUNT_TITLE=Amount of product
+PRODUCT_UNIT_I18N_KEY_HEADER=Internationalization key for unit:
+PRODUCT_UNIT_I18N_KEY_TITLE=Internationalization key for unit
+PRODUCT_HAS_NO_MANUFACTURER_ASSIGNED=Product has no manufacturer assigned.
+ADMIN_ASSIGNED_PRODUCT_MANUFACTURER_HEADER=Assigned manufacturer:
+ADMIN_ASSIGNED_PRODUCT_MANUFACTURER_TITLE=This product assigned manufacturer.
+ADMIN_PRODUCT_ENTRY_CREATED_TITLE=When this product has been created in database.
+ADMIN_CATEGORY_ENTRY_CREATED_TITLE=When this category has been created in database.
+ADMIN_SINGLE_CATEGORY_DETAILS_HEADER=Details of a single category
+ADMIN_CATEGORY_DETAILS_HEADER=Details of category "{0}" (Id {1}):
+CATEGORY_ID_NUMBER_TITLE=Id number of category
+CATEGORY_I18N_KEY_TITLE=Internationalization key for category
+CATEGORY_IN_STATISTICS_HEADER=In Statistics:
+CATEGORY_SHOW_IN_STATISTICS_TITLE=Whether this category is shown in statistics.
+CATEGORY_PARENT_HEADER=Parent category:
+CATEGORY_PARENT_TITLE=Parent category of this category.
+CATEGORY_HAS_NO_PARENT=This category has no parent category.
+PAGE_TITLE_ADMIN_SHOW_GENERIC_PRODUCT=Show product
+CONTENT_TITLE_ADMIN_SHOW_GENERIC_PRODUCT=Show product:
+PAGE_TITLE_ADMIN_GENERIC_PRODUCT_EDIT=Edit product
+CONTENT_TITLE_ADMIN_GENERIC_PRODUCT_EDIT=Edit product:
+PAGE_TITLE_ADMIN_GENERIC_PRODUCT_DELETE=Delete product
+CONTENT_TITLE_ADMIN_GENERIC_PRODUCT_DELETE=Delete product:
+ERROR_PARAMETER_PRODUCT_ID_NOT_SET=Error: Product Id is not set (parameter: productId).
+PARAMETER_PRODUCT_ID_INVALID=Parameter "productId" is invalid.
+PRODUCT_I18N_KEY_HEADER=Product's internationalization key:
+ADMIN_ASSIGNED_MANUFACTURER_HEADER=Assigned manufacturer:
+GROSS_PRICE_HEADER=Gross price:
+NET_PRICE_HEADER=Net price:
+TAX_RATE_HEADER=Tax rate:
+BRAND_NAME_HEADER=Brand name:
+IS_DISCOUNT_HEADER=Is a discount?
+IS_REFUND_HEADER=Is a refund?
+ADMIN_EDIT_GENERIC_PRODUCT_TITLE=Edit product id {0}
+ADMIN_EDIT_GENERIC_PRODUCT_MINIMUM_DATA=You can edit all values here but enter or select at least all marked (*) values.
+BUTTON_ADMIN_EDIT_GENERIC_PRODUCT=Change generic product
+ADMIN_PRODUCT_NUMBER_HEADER=Product number:
+NO_PRODUCT_NUMBER_ASSIGNED=No product number assigned.
+ADMIN_ENTER_GENERIC_PRODUCT_BARCODE_NUMBER=Enter product's barcode number:
+BARCODE_NUMBER_HEADER=Barcode number:
+PRODUCT_NO_BARCODE_NUMBER_ASSIGNED=Product has no bar-code number assigned.
+PRODUCT_BARCODE_NUMBER_TITLE=Bar-code number of product.
>
<p:menuButton value="#{msg.OPTIONS}" rendered="#{empty rendered or rendered}">
- <p:menuitem outcome="admin_show_generic_product" value="#{msg.ADMIN_LINK_SHOW_SHORT}" title="#{project.ADMIN_LINK_SHOW_GENERIC_PRODUCT_TITLE}" rendered="#{empty renderShowLink or renderShowLink}">
+ <p:menuitem
+ outcome="admin_show_generic_product"
+ value="#{msg.ADMIN_LINK_SHOW_SHORT}"
+ title="#{product.ADMIN_LINK_SHOW_GENERIC_PRODUCT_TITLE}"
+ rendered="#{empty renderShowLink or renderShowLink}"
+ >
<f:param name="productId" value="#{product.productId}" />
</p:menuitem>
- <p:menuitem outcome="admin_edit_generic_product" value="#{msg.ADMIN_LINK_EDIT_SHORT}" title="#{project.ADMIN_LINK_EDIT_GENERIC_PRODUCT_TITLE}">
+ <p:menuitem
+ outcome="admin_edit_generic_product"
+ value="#{msg.ADMIN_LINK_EDIT_SHORT}"
+ title="#{product.ADMIN_LINK_EDIT_GENERIC_PRODUCT_TITLE}"
+ >
<f:param name="productId" value="#{product.productId}" />
</p:menuitem>
<p:menuitem outcome="admin_delete_generic_product">
- <h:outputText styleClass="link-danger" value="#{msg.ADMIN_LINK_DELETE_SHORT}" title="#{project.ADMIN_LINK_DELETE_GENERIC_PRODUCT_TITLE}" />
+ <h:outputText
+ styleClass="link-danger"
+ value="#{msg.ADMIN_LINK_DELETE_SHORT}"
+ title="#{product.ADMIN_LINK_DELETE_GENERIC_PRODUCT_TITLE}"
+ />
<f:param name="productId" value="#{product.productId}" />
</p:menuitem>
</p:menuButton>
>
<p:menuButton value="#{msg.OPTIONS}" rendered="#{empty rendered or rendered}">
- <p:menuitem outcome="admin_show_product_category" value="#{msg.ADMIN_LINK_SHOW_SHORT}" title="#{project.ADMIN_LINK_SHOW_PRODUCT_CATEGORY_TITLE}" rendered="#{empty renderShowLink or renderShowLink}">
+ <p:menuitem
+ outcome="admin_show_product_category"
+ value="#{msg.ADMIN_LINK_SHOW_SHORT}"
+ title="#{product.ADMIN_LINK_SHOW_PRODUCT_CATEGORY_TITLE}"
+ rendered="#{empty renderShowLink or renderShowLink}"
+ >
<f:param name="categoryId" value="#{category.categoryId}" />
</p:menuitem>
- <p:menuitem outcome="admin_edit_product_category" value="#{msg.ADMIN_LINK_EDIT_SHORT}" title="#{project.ADMIN_LINK_EDIT_PRODUCT_CATEGORY_TITLE}">
+ <p:menuitem
+ outcome="admin_edit_product_category"
+ value="#{msg.ADMIN_LINK_EDIT_SHORT}"
+ title="#{product.ADMIN_LINK_EDIT_PRODUCT_CATEGORY_TITLE}"
+ >
<f:param name="categoryId" value="#{category.categoryId}" />
</p:menuitem>
<p:menuitem outcome="admin_delete_product_category">
- <h:outputText styleClass="link-danger" value="#{msg.ADMIN_LINK_DELETE_SHORT}" title="#{project.ADMIN_LINK_DELETE_PRODUCT_CATEGORY_TITLE}" />
+ <h:outputText
+ styleClass="link-danger"
+ value="#{msg.ADMIN_LINK_DELETE_SHORT}"
+ title="#{product.ADMIN_LINK_DELETE_PRODUCT_CATEGORY_TITLE}"
+ />
<f:param name="categoryId" value="#{category.categoryId}" />
</p:menuitem>
</p:menuButton>
<?xml version="1.0" encoding="UTF-8" ?>
<!--
-@TODO: title="#{project.ADMIN_GENERIC_PRODUCT_DATA_LEGEND_TITLE}"
+@TODO: title="#{product.ADMIN_GENERIC_PRODUCT_DATA_LEGEND_TITLE}"
-->
<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
xmlns:p="http://primefaces.org/ui"
>
- <p:fieldset legend="#{project.ADMIN_GENERIC_PRODUCT_DATA_LEGEND}">
+ <p:fieldset legend="#{product.ADMIN_GENERIC_PRODUCT_DATA_LEGEND}">
<p:panelGrid
layout="grid"
columns="2"
columnClasses="ui-grid-col-4,ui-grid-col-8"
styleClass="ui-noborder"
>
- <p:outputLabel for="productCategory" value="#{project.ADMIN_ASSIGN_PRODUCT_CATEGORY}" />
+ <p:outputLabel for="productCategory" value="#{product.ADMIN_ASSIGN_PRODUCT_CATEGORY}" />
<p:selectOneMenu
id="productCategory"
value="#{targetController.productCategory}"
filter="true"
filterMatchMode="contains"
required="true"
- requiredMessage="#{project.ADMIN_PRODUCT_CATEGORY_REQUIRED}"
- title="#{project.ADMIN_ASSIGN_PRODUCT_CATEGORY_TITLE}"
+ requiredMessage="#{product.ADMIN_PRODUCT_CATEGORY_REQUIRED}"
+ title="#{product.ADMIN_ASSIGN_PRODUCT_CATEGORY_TITLE}"
>
<f:converter converterId="ProductCategoryConverter" />
/>
</p:selectOneMenu>
- <p:outputLabel for="productI18nKey" value="#{project.ADMIN_ENTER_GENERIC_PRODUCT_I18N_KEY}" />
+ <p:outputLabel for="productI18nKey" value="#{product.ADMIN_ENTER_GENERIC_PRODUCT_I18N_KEY}" />
<p:inputText
id="productI18nKey"
value="#{targetController.productI18nKey}"
maxlength="255"
required="true"
- requiredMessage="#{project.ADMIN_PRODUCT_I18N_KEY_REQUIRED}"
- title="#{project.ADMIN_ENTER_GENERIC_PRODUCT_I18N_KEY_TITLE}"
- validatorMessage="#{project.ADMIN_ENTERED_PRODUCT_I18N_KEY_ALREADY_ADDED}"
+ requiredMessage="#{product.ADMIN_PRODUCT_I18N_KEY_REQUIRED}"
+ title="#{product.ADMIN_ENTER_GENERIC_PRODUCT_I18N_KEY_TITLE}"
+ validatorMessage="#{product.ADMIN_ENTERED_PRODUCT_I18N_KEY_ALREADY_ADDED}"
>
<f:validator validatorId="GenericProductValidator" />
<f:attribute name="allowDuplicates" value="#{allowDuplicates}" />
</p:inputText>
- <p:outputLabel for="productNumber" value="#{project.ADMIN_ENTER_GENERIC_PRODUCT_NUMBER}" />
+ <p:outputLabel for="productNumber" value="#{product.ADMIN_ENTER_GENERIC_PRODUCT_NUMBER}" />
<p:inputText
id="productNumber"
value="#{targetController.productNumber}"
size="20"
maxlength="20"
- title="#{project.ADMIN_ENTER_GENERIC_PRODUCT_NUMBER_TITLE}"
+ title="#{product.ADMIN_ENTER_GENERIC_PRODUCT_NUMBER_TITLE}"
/>
- <p:outputLabel for="productBarCodeNumber" value="#{project.ADMIN_ENTER_GENERIC_PRODUCT_BARCODE_NUMBER}" />
+ <p:outputLabel for="productBarCodeNumber" value="#{product.ADMIN_ENTER_GENERIC_PRODUCT_BARCODE_NUMBER}" />
<p:inputText
id="productBarCodeNumber"
value="#{targetController.productBarCodeNumber}"
size="30"
maxlength="255"
- title="#{project.ADMIN_ENTER_GENERIC_PRODUCT_BARCODE_NUMBER_TITLE}"
+ title="#{product.ADMIN_ENTER_GENERIC_PRODUCT_BARCODE_NUMBER_TITLE}"
/>
- <p:outputLabel for="productAgeGroup" value="#{project.ADMIN_SELECT_PRODUCT_AGE_GROUP}" />
+ <p:outputLabel for="productAgeGroup" value="#{product.ADMIN_SELECT_PRODUCT_AGE_GROUP}" />
<p:selectOneMenu
id="productAgeGroup"
value="#{targetController.productAgeGroup}"
filter="true"
filterMatchMode="contains"
- title="#{project.ADMIN_SELECT_PRODUCT_AGE_GROUP_TITLE}"
+ title="#{product.ADMIN_SELECT_PRODUCT_AGE_GROUP_TITLE}"
>
<f:converter converterId="AgeGroupConverter" />
/>
</p:selectOneMenu>
- <p:outputLabel for="productSize" value="#{project.ADMIN_ENTER_GENERIC_PRODUCT_SIZE}" />
+ <p:outputLabel for="productSize" value="#{product.ADMIN_ENTER_GENERIC_PRODUCT_SIZE}" />
<p:inputText
id="productSize"
value="#{targetController.productSize}"
size="5"
maxlength="10"
- title="#{project.ADMIN_ENTER_GENERIC_PRODUCT_SIZE_TITLE}"
+ title="#{product.ADMIN_ENTER_GENERIC_PRODUCT_SIZE_TITLE}"
/>
- <p:outputLabel for="productManufacturer" value="#{project.ADMIN_ASSIGN_PRODUCT_MANUFACTURER}" />
+ <p:outputLabel for="productManufacturer" value="#{product.ADMIN_ASSIGN_PRODUCT_MANUFACTURER}" />
<p:selectOneMenu
id="productManufacturer"
value="#{targetController.productManufacturer}"
filter="true"
filterMatchMode="contains"
- title="#{project.ADMIN_ASSIGN_PRODUCT_MANUFACTURER_TITLE}"
+ title="#{product.ADMIN_ASSIGN_PRODUCT_MANUFACTURER_TITLE}"
>
<f:converter converterId="BasicCompanyDataConverter" />
/>
</p:selectOneMenu>
- <p:outputLabel for="productAvailability" value="#{project.ADMIN_ENABLE_PRODUCT_AVAILABILITY}" />
+ <p:outputLabel for="productAvailability" value="#{product.ADMIN_ENABLE_PRODUCT_AVAILABILITY}" />
<p:selectBooleanCheckbox
id="productAvailability"
value="#{targetController.productAvailability}"
required="true"
- requiredMessage="#{project.ADMIN_GENERIC_PRODUCT_AVAILABILITY_REQUIRED}"
- title="#{project.ADMIN_ENABLE_PRODUCT_AVAILABILITY_TITLE}"
+ requiredMessage="#{product.ADMIN_GENERIC_PRODUCT_AVAILABILITY_REQUIRED}"
+ title="#{product.ADMIN_ENABLE_PRODUCT_AVAILABILITY_TITLE}"
/>
- <p:outputLabel value="#{project.ADMIN_ENTER_GENERIC_PRODUCT_PRICE}" />
+ <p:outputLabel value="#{product.ADMIN_ENTER_GENERIC_PRODUCT_PRICE}" />
<product:inputProductPricePanelGrid targetController="#{targetController}" />
- <p:outputLabel for="productCurrencyCode" value="#{project.ADMIN_ENTER_GENERIC_PRODUCT_CURRENCY_CODE}" />
+ <p:outputLabel for="productCurrencyCode" value="#{product.ADMIN_ENTER_GENERIC_PRODUCT_CURRENCY_CODE}" />
<p:inputText
id="productCurrencyCode"
value="#{targetController.productCurrencyCode}"
size="3"
maxlength="3"
- title="#{project.ADMIN_ENTER_GENERIC_PRODUCT_CURRENCY_CODE_TITLE}"
+ title="#{product.ADMIN_ENTER_GENERIC_PRODUCT_CURRENCY_CODE_TITLE}"
required="true"
- requiredMessage="#{project.ADMIN_PRODUCT_CURRENCY_CODE_REQUIRED}"
+ requiredMessage="#{product.ADMIN_PRODUCT_CURRENCY_CODE_REQUIRED}"
/>
- <p:outputLabel for="productUnitAmount" value="#{project.ADMIN_ENTER_GENERIC_PRODUCT_UNIT_AMOUNT}" />
+ <p:outputLabel for="productUnitAmount" value="#{product.ADMIN_ENTER_GENERIC_PRODUCT_UNIT_AMOUNT}" />
<p:inputNumber
id="productUnitAmount"
value="#{targetController.productUnitAmount}"
maxValue="20000.000"
decimalSeparator=","
thousandSeparator="."
- title="#{project.ADMIN_ENTER_GENERIC_PRODUCT_UNIT_AMOUNT_TITLE}"
+ title="#{product.ADMIN_ENTER_GENERIC_PRODUCT_UNIT_AMOUNT_TITLE}"
required="true"
- requiredMessage="#{project.ADMIN_PRODUCT_UNIT_AMOUNT_REQUIRED}"
+ requiredMessage="#{product.ADMIN_PRODUCT_UNIT_AMOUNT_REQUIRED}"
/>
- <p:outputLabel for="productUnitI18nKey" value="#{project.ADMIN_ENTER_GENERIC_PRODUCT_UNIT_I18N_KEY}" />
+ <p:outputLabel for="productUnitI18nKey" value="#{product.ADMIN_ENTER_GENERIC_PRODUCT_UNIT_I18N_KEY}" />
<p:inputText
id="productUnitI18nKey"
value="#{targetController.productUnitI18nKey}"
size="20"
maxlength="255"
- title="#{project.ADMIN_ENTER_GENERIC_PRODUCT_UNIT_I18N_KEY_TITLE}"
+ title="#{product.ADMIN_ENTER_GENERIC_PRODUCT_UNIT_I18N_KEY_TITLE}"
required="true"
- requiredMessage="#{project.ADMIN_PRODUCT_UNIT_I18N_KEY_REQUIRED}"
+ requiredMessage="#{product.ADMIN_PRODUCT_UNIT_I18N_KEY_REQUIRED}"
/>
</p:panelGrid>
</p:fieldset>
styleClass="ui-noborder"
rendered="#{empty rendered or rendered == true}"
>
- <p:outputLabel for="productNetPrice" value="#{project.ENTER_NET_PRICE}" />
+ <p:outputLabel for="productNetPrice" value="#{product.ENTER_NET_PRICE}" />
- <p:outputLabel for="productTaxRate" value="#{project.ENTER_TAX_RATE}" />
+ <p:outputLabel for="productTaxRate" value="#{product.ENTER_TAX_RATE}" />
- <p:outputLabel for="productGrossPrice" value="#{project.ENTER_GROSS_PRICE}" />
+ <p:outputLabel for="productGrossPrice" value="#{product.ENTER_GROSS_PRICE}" />
<p:inputNumber
id="productNetPrice"
- title="#{project.ENTER_PRODUCT_NET_PRICE_TITLE}"
+ title="#{product.ENTER_PRODUCT_NET_PRICE_TITLE}"
value="#{targetController.productNetPrice}"
symbol=" EUR"
symbolPosition="s"
<p:inputNumber
id="productTaxRate"
- title="#{project.ENTER_PRODUCT_TAX_RATE_TITLE}"
+ title="#{product.ENTER_PRODUCT_TAX_RATE_TITLE}"
value="#{targetController.productTaxRate}"
symbol="%"
symbolPosition="s"
<p:inputNumber
id="productGrossPrice"
- title="#{project.ENTER_PRODUCT_GROSS_PRICE_TITLE}"
+ title="#{product.ENTER_PRODUCT_GROSS_PRICE_TITLE}"
value="#{targetController.productGrossPrice}"
symbol=" EUR"
symbolPosition="s"
decimalSeparator=","
thousandSeparator="."
required="true"
- requiredMessage="#{project.PRODUCT_GROSS_PRICE_REQUIRED}"
+ requiredMessage="#{product.PRODUCT_GROSS_PRICE_REQUIRED}"
>
</p:inputNumber>
</p:panelGrid>
</f:facet>
<f:loadBundle var="msg" basename="org.mxchange.localization.generic" />
+ <f:loadBundle var="product" basename="org.mxchange.localization.product" />
<f:loadBundle var="project" basename="org.mxchange.localization.project" />
<f:loadBundle var="local" basename="org.mxchange.localization.local" />
value="#{adminGenericProductActionController.product}"
converter="GenericProductConverter"
required="true"
- requiredMessage="#{project.ERROR_PARAMETER_PRODUCT_ID_NOT_SET}"
- converterMessage="#{project.PARAMETER_PRODUCT_ID_INVALID}"
+ requiredMessage="#{product.ERROR_PARAMETER_PRODUCT_ID_NOT_SET}"
+ converterMessage="#{product.PARAMETER_PRODUCT_ID_INVALID}"
/>
<f:viewAction
</ui:define>
<ui:define name="document_admin_title">
- <h:outputText value="#{project.PAGE_TITLE_ADMIN_GENERIC_PRODUCT_DELETE}" />
+ <h:outputText value="#{product.PAGE_TITLE_ADMIN_GENERIC_PRODUCT_DELETE}" />
</ui:define>
<ui:define name="content_header">
- <h:outputText value="#{project.CONTENT_TITLE_ADMIN_GENERIC_PRODUCT_DELETE}" />
+ <h:outputText value="#{product.CONTENT_TITLE_ADMIN_GENERIC_PRODUCT_DELETE}" />
</ui:define>
<ui:define name="content">
value="#{adminGenericProductActionController.product}"
converter="GenericProductConverter"
required="true"
- requiredMessage="#{project.ERROR_PARAMETER_PRODUCT_ID_NOT_SET}"
- converterMessage="#{project.PARAMETER_PRODUCT_ID_INVALID}"
+ requiredMessage="#{product.ERROR_PARAMETER_PRODUCT_ID_NOT_SET}"
+ converterMessage="#{product.PARAMETER_PRODUCT_ID_INVALID}"
/>
<f:viewAction
</ui:define>
<ui:define name="document_admin_title">
- <h:outputText value="#{project.PAGE_TITLE_ADMIN_GENERIC_PRODUCT_EDIT}" />
+ <h:outputText value="#{product.PAGE_TITLE_ADMIN_GENERIC_PRODUCT_EDIT}" />
</ui:define>
<ui:define name="content_header">
- <h:outputText value="#{project.CONTENT_TITLE_ADMIN_GENERIC_PRODUCT_EDIT}" />
+ <h:outputText value="#{product.CONTENT_TITLE_ADMIN_GENERIC_PRODUCT_EDIT}" />
</ui:define>
<ui:define name="content">
layout="grid"
>
<f:facet name="header">
- <h:outputFormat value="#{project.ADMIN_EDIT_GENERIC_PRODUCT_TITLE}" title="#{local[adminGenericProductActionController.product.productI18nKey]}">
+ <h:outputFormat
+ value="#{product.ADMIN_EDIT_GENERIC_PRODUCT_TITLE}"
+ title="#{local[adminGenericProductActionController.product.productI18nKey]}"
+ >
<f:param value="#{adminGenericProductActionController.product.productId}" />
</h:outputFormat>
</f:facet>
<h:panelGroup styleClass="para" layout="block">
- <h:outputText value="#{project.ADMIN_EDIT_GENERIC_PRODUCT_MINIMUM_DATA}" />
+ <h:outputText value="#{product.ADMIN_EDIT_GENERIC_PRODUCT_MINIMUM_DATA}" />
</h:panelGroup>
<product:genericProductForm
<p:commandButton
type="submit"
- value="#{project.BUTTON_ADMIN_EDIT_GENERIC_PRODUCT}"
+ value="#{product.BUTTON_ADMIN_EDIT_GENERIC_PRODUCT}"
action="#{adminGenericProductActionController.updateProduct()}"
/>
</p:panelGrid>
>
<ui:define name="document_admin_title">
- <h:outputText value="#{project.PAGE_TITLE_ADMIN_LIST_GENERIC_PRODUCT}" />
+ <h:outputText value="#{product.PAGE_TITLE_ADMIN_LIST_GENERIC_PRODUCT}" />
</ui:define>
<ui:define name="content_header">
- <h:outputText value="#{project.CONTENT_TITLE_ADMIN_LIST_GENERIC_PRODUCT}" />
+ <h:outputText value="#{product.CONTENT_TITLE_ADMIN_LIST_GENERIC_PRODUCT}" />
</ui:define>
<ui:define name="content">
<h:form id="form-list-products">
<p:dataTable
id="productList"
- var="product"
+ var="genericProduct"
value="#{productListController.allProducts}"
paginator="true"
paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
filteredValue="#{productListController.filteredProducts}"
rows="10"
- rowKey="#{product.productId}"
+ rowKey="#{genericProduct.productId}"
reflow="true"
resizableColumns="true"
rowsPerPageTemplate="5,10,20,50,100"
sortMode="multiple"
- summary="#{project.TABLE_SUMMARY_ADMIN_LIST_GENERIC_PRODUCTS}"
- emptyMessage="#{project.ADMIN_EMPTY_LIST_GENERIC_PRODUCTS}"
+ summary="#{product.TABLE_SUMMARY_ADMIN_LIST_GENERIC_PRODUCTS}"
+ emptyMessage="#{product.ADMIN_EMPTY_LIST_GENERIC_PRODUCTS}"
widgetVar="productList"
selectionMode="single"
selection="#{productListController.selectedProduct}"
oncomplete="PF('productDialog').show()"
/>
- <p:column headerText="#{msg.ID_HEADER}" sortBy="#{product.productId}" filterable="false">
- <p:link outcome="admin_show_generic_product" title="#{project.ADMIN_LINK_SHOW_GENERIC_PRODUCT_TITLE}" value="#{product.productId}">
- <f:param name="productId" value="#{product.productId}" />
+ <p:column
+ headerText="#{msg.ID_HEADER}"
+ sortBy="#{genericProduct.productId}"
+ filterable="false"
+ >
+ <p:link
+ outcome="admin_show_generic_product"
+ title="#{product.ADMIN_LINK_SHOW_GENERIC_PRODUCT_TITLE}"
+ value="#{genericProduct.productId}"
+ >
+ <f:param name="productId" value="#{genericProduct.productId}" />
</p:link>
</p:column>
- <p:column headerText="#{msg.ADMIN_I18N_KEY_HEADER}" sortBy="#{local[product.productI18nKey]}" filterBy="#{local[product.productI18nKey]}" filterMatchMode="contains">
- <h:outputText value="#{local[product.productI18nKey]}" title="#{product.productI18nKey}" />
+ <p:column
+ headerText="#{msg.ADMIN_I18N_KEY_HEADER}"
+ sortBy="#{local[genericProduct.productI18nKey]}"
+ filterBy="#{local[genericProduct.productI18nKey]}"
+ filterMatchMode="contains"
+ >
+ <h:outputText value="#{local[genericProduct.productI18nKey]}" title="#{genericProduct.productI18nKey}" />
</p:column>
- <p:column headerText="#{project.ADMIN_PRODUCT_NUMBER_HEADER}" sortBy="#{product.productNumber}" filterBy="#{product.productNumber}" filterMatchMode="contains">
- <h:outputText value="#{product.productNumber}" rendered="#{not empty product.productNumber}" />
- <h:outputText value="-" rendered="#{empty product.productNumber}" />
+ <p:column
+ headerText="#{product.ADMIN_PRODUCT_NUMBER_HEADER}"
+ sortBy="#{genericProduct.productNumber}"
+ filterBy="#{genericProduct.productNumber}"
+ filterMatchMode="contains"
+ >
+ <h:outputText value="#{genericProduct.productNumber}" rendered="#{not empty genericProduct.productNumber}" />
+ <h:outputText value="-" rendered="#{empty genericProduct.productNumber}" />
</p:column>
- <p:column headerText="#{project.ADMIN_ASSIGNED_PRODUCT_CATEGORY_HEADER}" sortBy="#{product.productCategory}" filterBy="#{product.productCategory}" filterMatchMode="in">
+ <p:column
+ headerText="#{product.ADMIN_ASSIGNED_PRODUCT_CATEGORY_HEADER}"
+ sortBy="#{genericProduct.productCategory}"
+ filterBy="#{genericProduct.productCategory}"
+ filterMatchMode="in"
+ >
<f:facet name="filter">
<p:selectCheckboxMenu
filter="true"
filterMatchMode="contains"
- label="#{project.LABEL_PRODUCT_CATEGORIES}"
+ label="#{product.LABEL_PRODUCT_CATEGORIES}"
onchange="PF('productList').filter()"
updateLabel="true"
- title="#{project.FILTER_BY_MULTIPLE_PRODUCT_CATEGORIES_TITLE}"
+ title="#{product.FILTER_BY_MULTIPLE_PRODUCT_CATEGORIES_TITLE}"
>
<f:converter converterId="ProductCategoryConverter" />
</p:selectCheckboxMenu>
</f:facet>
- <p:link outcome="admin_show_product_category" title="#{project.ADMIN_LINK_SHOW_GENERIC_PRODUCT_CATEGORY_TITLE}" value="#{local[product.productCategory.categoryI18nKey]}">
- <f:param name="categoryId" value="#{product.productCategory.categoryId}" />
+ <p:link
+ outcome="admin_show_product_category"
+ title="#{product.ADMIN_LINK_SHOW_GENERIC_PRODUCT_CATEGORY_TITLE}"
+ value="#{local[genericProduct.productCategory.categoryI18nKey]}"
+ >
+ <f:param name="categoryId" value="#{genericProduct.productCategory.categoryId}" />
</p:link>
</p:column>
- <p:column headerText="#{project.GROSS_PRICE_HEADER}" sortBy="#{product.productGrossPrice}" filterBy="#{product.productGrossPrice}" filterFunction="#{productListController.filterByPrice}">
- <h:outputText value="#{product.productGrossPrice}">
+ <p:column
+ headerText="#{product.GROSS_PRICE_HEADER}"
+ sortBy="#{genericProduct.productGrossPrice}"
+ filterBy="#{genericProduct.productGrossPrice}"
+ filterFunction="#{productListController.filterByPrice}"
+ >
+ <h:outputText value="#{genericProduct.productGrossPrice}">
<!-- @TODO Hard-coded EUR again -->
<f:convertNumber type="currency" currencyCode="EUR" />
</h:outputText>
</p:column>
- <p:column headerText="#{project.PRODUCT_AVAILABILITY_HEADER}" sortBy="#{product.productAvailability}" filterBy="#{product.productAvailability}" filterMatchMode="exact">
+ <p:column
+ headerText="#{product.PRODUCT_AVAILABILITY_HEADER}"
+ sortBy="#{genericProduct.productAvailability}"
+ filterBy="#{genericProduct.productAvailability}"
+ filterMatchMode="exact"
+ >
<f:facet name="filter">
<p:selectOneMenu onchange="PF('productList').filter()">
<f:converter converterId="javax.faces.Boolean" />
</p:selectOneMenu>
</f:facet>
- <h:outputText value="#{product.productAvailability ? msg.CHOICE_YES : msg.CHOICE_NO}" />
+ <h:outputText value="#{genericProduct.productAvailability ? msg.CHOICE_YES : msg.CHOICE_NO}" />
</p:column>
- <p:column headerText="#{project.ADMIN_PRODUCT_MANUFACTURER_NAME_HEADER}" sortBy="#{product.productManufacturer}" filterBy="#{product.productManufacturer}" filterMatchMode="in">
+ <p:column headerText="#{product.ADMIN_PRODUCT_MANUFACTURER_NAME_HEADER}" sortBy="#{genericProduct.productManufacturer}" filterBy="#{genericProduct.productManufacturer}" filterMatchMode="in">
<f:facet name="filter">
<p:selectCheckboxMenu
filter="true"
<p:link
outcome="admin_show_basic_data"
- value="#{beanHelper.renderBasicData(product.productManufacturer, true)}"
+ value="#{beanHelper.renderBasicData(genericProduct.productManufacturer, true)}"
title="#{msg.ADMIN_LINK_SHOW_BASIC_DATA_TITLE}"
- rendered="#{not empty product.productManufacturer}"
+ rendered="#{not empty genericProduct.productManufacturer}"
>
- <f:param name="basicDataId" value="#{product.productManufacturer.basicDataId}" />
+ <f:param name="basicDataId" value="#{genericProduct.productManufacturer.basicDataId}" />
</p:link>
- <h:outputText value="#{msg.ADMIN_NOT_ASSIGNED}" title="#{project.ADMIN_NO_PRODUCT_MANUFACTURER_ASSIGNED_TITLE}" rendered="#{empty product.productManufacturer}" />
+ <h:outputText value="#{msg.ADMIN_NOT_ASSIGNED}" title="#{product.ADMIN_NO_PRODUCT_MANUFACTURER_ASSIGNED_TITLE}" rendered="#{empty genericProduct.productManufacturer}" />
</p:column>
- <p:column headerText="#{msg.ENTRY_CREATED_HEADER}" sortBy="#{product.productCreated}" filterable="false">
- <h:outputText value="#{product.productCreated}">
+ <p:column headerText="#{msg.ENTRY_CREATED_HEADER}" sortBy="#{genericProduct.productCreated}" filterable="false">
+ <h:outputText value="#{genericProduct.productCreated}">
<f:convertDateTime type="both" timeStyle="short" dateStyle="short" />
</h:outputText>
</p:column>
dynamic="true"
modal="true"
resizable="false"
- header="#{project.ADMIN_SINGLE_PRODUCT_DETAILS_HEADER}"
+ header="#{product.ADMIN_SINGLE_PRODUCT_DETAILS_HEADER}"
hideEffect="fade"
showEffect="fade"
widgetVar="productDialog"
<p:outputPanel id="product-details">
<p:panelGrid columns="2" rendered="#{not empty productListController.selectedProduct}">
<f:facet name="header">
- <h:outputFormat value="#{project.ADMIN_PRODUCT_DETAILS_HEADER}">
+ <h:outputFormat value="#{product.ADMIN_PRODUCT_DETAILS_HEADER}">
<f:param value="#{local[productListController.selectedProduct.productI18nKey]}" />
<f:param value="#{productListController.selectedProduct.productId}" />
</h:outputFormat>
</f:facet>
- <p:outputLabel value="#{msg.ID_HEADER}" title="#{project.PRODUCT_ID_NUMBER_TITLE}" />
+ <p:outputLabel value="#{msg.ID_HEADER}" title="#{product.PRODUCT_ID_NUMBER_TITLE}" />
<h:outputText value="#{productListController.selectedProduct.productId}" />
- <p:outputLabel value="#{msg.ADMIN_I18N_KEY_HEADER}" title="#{project.PRODUCT_I18N_KEY_TITLE}" />
+ <p:outputLabel value="#{msg.ADMIN_I18N_KEY_HEADER}" title="#{product.PRODUCT_I18N_KEY_TITLE}" />
<h:outputText value="#{productListController.selectedProduct.productI18nKey}" title="#{local[productListController.selectedProduct.productI18nKey]}" />
- <p:outputLabel value="#{project.PRODUCT_NUMBER_HEADER}" title="#{project.PRODUCT_NUMBER_TITLE}" />
+ <p:outputLabel value="#{product.PRODUCT_NUMBER_HEADER}" title="#{product.PRODUCT_NUMBER_TITLE}" />
<h:outputText value="#{productListController.selectedProduct.productNumber}" rendered="#{not empty productListController.selectedProduct.productNumber}" />
- <h:outputText value="#{project.NO_PRODUCT_NUMBER_ASSIGNED}" rendered="#{empty productListController.selectedProduct.productNumber}" />
+ <h:outputText value="#{product.NO_PRODUCT_NUMBER_ASSIGNED}" rendered="#{empty productListController.selectedProduct.productNumber}" />
- <p:outputLabel value="#{project.BARCODE_NUMBER_HEADER}" title="#{project.PRODUCT_BARCODE_NUMBER_TITLE}" />
- <h:outputText value="#{project.PRODUCT_NO_BARCODE_NUMBER_ASSIGNED}" rendered="#{empty productListController.selectedProduct.productBarCodeNumber}" />
+ <p:outputLabel value="#{product.BARCODE_NUMBER_HEADER}" title="#{product.PRODUCT_BARCODE_NUMBER_TITLE}" />
+ <h:outputText value="#{product.PRODUCT_NO_BARCODE_NUMBER_ASSIGNED}" rendered="#{empty productListController.selectedProduct.productBarCodeNumber}" />
<p:barcode format="svg" width="100%" type="#{initParam['product_barcode_type']}" value="#{productListController.selectedProduct.productBarCodeNumber}" rendered="#{not empty productListController.selectedProduct.productBarCodeNumber}" />
- <p:outputLabel value="#{project.PRODUCT_AVAILABILITY_HEADER}" title="#{project.PRODUCT_AVAILABILITY_TITLE}" />
+ <p:outputLabel value="#{product.PRODUCT_AVAILABILITY_HEADER}" title="#{product.PRODUCT_AVAILABILITY_TITLE}" />
<h:outputText value="#{productListController.selectedProduct.productAvailability ? msg.CHOICE_YES : msg.CHOICE_NO}" />
- <p:outputLabel value="#{project.AGE_GROUP_HEADER}" title="#{project.PRODUCT_AGE_GROUP_TITLE}" />
+ <p:outputLabel value="#{product.AGE_GROUP_HEADER}" title="#{product.PRODUCT_AGE_GROUP_TITLE}" />
<h:outputText value="#{project[productListController.selectedProduct.productAgeGroup.i18nKey]}" title="#{productListController.selectedProduct.productAgeGroup.i18nKey}" rendered="#{not empty productListController.selectedProduct.productAgeGroup.i18nKey}" />
- <h:outputText value="#{project.PRODUCT_HAS_NO_AGE_GROUP}" rendered="#{empty productListController.selectedProduct.productAgeGroup.i18nKey}" />
+ <h:outputText value="#{product.PRODUCT_HAS_NO_AGE_GROUP}" rendered="#{empty productListController.selectedProduct.productAgeGroup.i18nKey}" />
- <p:outputLabel value="#{project.CURRENCY_CODE_HEADER}" title="#{project.PRODUCT_CURRENCY_CODE_TITLE}" />
+ <p:outputLabel value="#{product.CURRENCY_CODE_HEADER}" title="#{product.PRODUCT_CURRENCY_CODE_TITLE}" />
<h:outputText value="#{productListController.selectedProduct.productCurrencyCode}" />
- <p:outputLabel value="#{project.GROSS_PRICE_HEADER}" title="#{project.PRODUCT_GROSS_PRICE_TITLE}" />
+ <p:outputLabel value="#{product.GROSS_PRICE_HEADER}" title="#{product.PRODUCT_GROSS_PRICE_TITLE}" />
<h:outputText value="#{productListController.selectedProduct.productGrossPrice}">
<!-- @TODO Hard-coded EUR again -->
<f:convertNumber type="currency" currencyCode="EUR" />
</h:outputText>
- <p:outputLabel value="#{project.NET_PRICE_HEADER}" title="#{project.PRODUCT_NET_PRICE_TITLE}" />
+ <p:outputLabel value="#{product.NET_PRICE_HEADER}" title="#{product.PRODUCT_NET_PRICE_TITLE}" />
<h:outputText value="#{productListController.selectedProduct.productNetPrice}">
<!-- @TODO Hard-coded EUR again -->
<f:convertNumber type="currency" currencyCode="EUR" />
</h:outputText>
- <p:outputLabel value="#{project.TAX_RATE_HEADER}" title="#{project.PRODUCT_TAX_RATE_TITLE}" />
+ <p:outputLabel value="#{product.TAX_RATE_HEADER}" title="#{product.PRODUCT_TAX_RATE_TITLE}" />
<h:outputText value="#{productListController.selectedProduct.productTaxRate}">
<!-- @TODO No real percentage number, 7.0 means 7.0%, not 700% -->
<f:convertNumber type="number" />
</h:outputText>
- <p:outputLabel value="#{project.PRODUCT_SIZE_HEADER}" title="#{project.PRODUCT_SIZE_TITLE}" />
+ <p:outputLabel value="#{product.PRODUCT_SIZE_HEADER}" title="#{product.PRODUCT_SIZE_TITLE}" />
<h:outputText value="#{productListController.selectedProduct.productSize}" />
- <p:outputLabel value="#{project.PRODUCT_UNIT_AMOUNT_HEADER}" title="#{project.PRODUCT_UNIT_AMOUNT_TITLE}" />
+ <p:outputLabel value="#{product.PRODUCT_UNIT_AMOUNT_HEADER}" title="#{product.PRODUCT_UNIT_AMOUNT_TITLE}" />
<h:outputText value="#{productListController.selectedProduct.productUnitAmount}">
<f:convertNumber type="number" />
</h:outputText>
- <p:outputLabel value="#{project.PRODUCT_UNIT_I18N_KEY_HEADER}" title="#{project.PRODUCT_UNIT_I18N_KEY_TITLE}" />
+ <p:outputLabel value="#{product.PRODUCT_UNIT_I18N_KEY_HEADER}" title="#{product.PRODUCT_UNIT_I18N_KEY_TITLE}" />
<h:outputText value="#{productListController.selectedProduct.productUnitI18nKey}" title="#{local[productListController.selectedProduct.productUnitI18nKey]}" />
- <p:outputLabel value="#{project.ADMIN_ASSIGNED_PRODUCT_CATEGORY_HEADER}" title="#{project.ADMIN_ASSIGNED_PRODUCT_CATEGORY_TITLE}" />
- <p:link outcome="admin_show_product_category" title="#{project.ADMIN_LINK_SHOW_GENERIC_PRODUCT_CATEGORY_TITLE}" value="#{local[productListController.selectedProduct.productCategory.categoryI18nKey]}">
+ <p:outputLabel value="#{product.ADMIN_ASSIGNED_PRODUCT_CATEGORY_HEADER}" title="#{product.ADMIN_ASSIGNED_PRODUCT_CATEGORY_TITLE}" />
+ <p:link outcome="admin_show_product_category" title="#{product.ADMIN_LINK_SHOW_GENERIC_PRODUCT_CATEGORY_TITLE}" value="#{local[productListController.selectedProduct.productCategory.categoryI18nKey]}">
<f:param name="categoryId" value="#{productListController.selectedProduct.productCategory.categoryId}" />
</p:link>
- <p:outputLabel value="#{project.ADMIN_ASSIGNED_PRODUCT_MANUFACTURER_HEADER}" title="#{project.ADMIN_ASSIGNED_PRODUCT_MANUFACTURER_TITLE}" />
+ <p:outputLabel value="#{product.ADMIN_ASSIGNED_PRODUCT_MANUFACTURER_HEADER}" title="#{product.ADMIN_ASSIGNED_PRODUCT_MANUFACTURER_TITLE}" />
<p:link
outcome="admin_show_basic_data"
title="#{msg.ADMIN_LINK_SHOW_BASIC_DATA_TITLE}"
</h:outputFormat>
<f:param name="basicDataId" value="#{productListController.selectedProduct.productManufacturer.basicDataId}" />
</p:link>
- <h:outputText value="#{project.PRODUCT_HAS_NO_MANUFACTURER_ASSIGNED}" rendered="#{empty productListController.selectedProduct.productManufacturer}" />
+ <h:outputText value="#{product.PRODUCT_HAS_NO_MANUFACTURER_ASSIGNED}" rendered="#{empty productListController.selectedProduct.productManufacturer}" />
- <p:outputLabel value="#{msg.ENTRY_CREATED_HEADER}" title="#{project.ADMIN_PRODUCT_ENTRY_CREATED_TITLE}" />
+ <p:outputLabel value="#{msg.ENTRY_CREATED_HEADER}" title="#{product.ADMIN_PRODUCT_ENTRY_CREATED_TITLE}" />
<h:outputText value="#{productListController.selectedProduct.productCreated}">
<f:convertDateTime type="both" timeStyle="short" dateStyle="short" />
</h:outputText>
layout="grid"
>
<f:facet name="header">
- <h:outputText value="#{project.ADMIN_ADD_GENERIC_PRODUCT_TITLE}" />
+ <h:outputText value="#{product.ADMIN_ADD_GENERIC_PRODUCT_TITLE}" />
</f:facet>
<h:panelGroup styleClass="para" layout="block">
- <h:outputText value="#{project.ADMIN_ADD_GENERIC_PRODUCT_MINIMUM_DATA}" />
+ <h:outputText value="#{product.ADMIN_ADD_GENERIC_PRODUCT_MINIMUM_DATA}" />
</h:panelGroup>
<product:genericProductForm targetController="#{adminGenericProductController}" />
<p:commandButton
type="submit"
- value="#{project.BUTTON_ADMIN_ADD_GENERIC_PRODUCT}"
+ value="#{product.BUTTON_ADMIN_ADD_GENERIC_PRODUCT}"
action="#{adminGenericProductController.addProduct()}"
update=":master:form-list-products:productList"
/>
value="#{adminGenericProductActionController.product}"
converter="GenericProductConverter"
required="true"
- requiredMessage="#{project.ERROR_PARAMETER_PRODUCT_ID_NOT_SET}"
- converterMessage="#{project.PARAMETER_PRODUCT_ID_INVALID}"
+ requiredMessage="#{product.ERROR_PARAMETER_PRODUCT_ID_NOT_SET}"
+ converterMessage="#{product.PARAMETER_PRODUCT_ID_INVALID}"
/>
<f:viewAction
</ui:define>
<ui:define name="document_admin_title">
- <h:outputText value="#{project.PAGE_TITLE_ADMIN_SHOW_GENERIC_PRODUCT}" />
+ <h:outputText value="#{product.PAGE_TITLE_ADMIN_SHOW_GENERIC_PRODUCT}" />
</ui:define>
<ui:define name="content_header">
- <h:outputText value="#{project.CONTENT_TITLE_ADMIN_SHOW_GENERIC_PRODUCT}" />
+ <h:outputText value="#{product.CONTENT_TITLE_ADMIN_SHOW_GENERIC_PRODUCT}" />
</ui:define>
<ui:define name="content">
>
<ui:define name="document_admin_title">
- <h:outputText value="#{project.PAGE_TITLE_ADMIN_LIST_PRODUCT_CATEGORY}" />
+ <h:outputText value="#{product.PAGE_TITLE_ADMIN_LIST_PRODUCT_CATEGORY}" />
</ui:define>
<ui:define name="content_header">
- <h:outputText value="#{project.CONTENT_TITLE_ADMIN_LIST_PRODUCT_CATEGORY}" />
+ <h:outputText value="#{product.CONTENT_TITLE_ADMIN_LIST_PRODUCT_CATEGORY}" />
</ui:define>
<ui:define name="content">
resizableColumns="true"
rowsPerPageTemplate="5,10,20,50,100"
sortMode="multiple"
- summary="#{project.TABLE_SUMMARY_ADMIN_LIST_PRODUCT_CATEGORIES}"
- emptyMessage="#{project.ADMIN_EMPTY_LIST_PRODUCT_CATEGORIES}"
+ summary="#{product.TABLE_SUMMARY_ADMIN_LIST_PRODUCT_CATEGORIES}"
+ emptyMessage="#{product.ADMIN_EMPTY_LIST_PRODUCT_CATEGORIES}"
widgetVar="categoryList"
selectionMode="single"
selection="#{categoryListController.selectedCategory}"
oncomplete="PF('categoryDialog').show()"
/>
- <p:column headerText="#{msg.ID_HEADER}" sortBy="#{category.categoryId}" filterable="false">
- <p:link outcome="admin_show_product_category" title="#{project.ADMIN_LINK_SHOW_PRODUCT_CATEGORY_TITLE}" value="#{category.categoryId}">
+ <p:column
+ headerText="#{msg.ID_HEADER}"
+ sortBy="#{category.categoryId}"
+ filterable="false"
+ >
+ <p:link
+ outcome="admin_show_product_category"
+ title="#{product.ADMIN_LINK_SHOW_PRODUCT_CATEGORY_TITLE}"
+ value="#{category.categoryId}"
+ >
<f:param name="categoryId" value="#{category.categoryId}" />
</p:link>
</p:column>
<h:outputText value="#{local[category.categoryI18nKey]}" title="#{category.categoryI18nKey}" />
</p:column>
- <p:column headerText="#{project.ADMIN_ASSIGNED_PARENT_CATEGORY_HEADER}" sortBy="#{category.parentCategory}" filterBy="#{category.parentCategory}" filterMatchMode="in">
+ <p:column headerText="#{product.ADMIN_ASSIGNED_PARENT_CATEGORY_HEADER}" sortBy="#{category.parentCategory}" filterBy="#{category.parentCategory}" filterMatchMode="in">
<f:facet name="filter">
<p:selectCheckboxMenu
filter="true"
filterMatchMode="contains"
- label="#{project.LABEL_PRODUCT_CATEGORIES}"
+ label="#{product.LABEL_PRODUCT_CATEGORIES}"
onchange="PF('categoryList').filter()"
updateLabel="true"
- title="#{project.FILTER_BY_MULTIPLE_PRODUCT_CATEGORIES_TITLE}"
+ title="#{product.FILTER_BY_MULTIPLE_PRODUCT_CATEGORIES_TITLE}"
>
<f:converter converterId="ProductCategoryConverter" />
</p:selectCheckboxMenu>
</f:facet>
- <p:link outcome="admin_show_product_category" title="#{project.ADMIN_LINK_SHOW_PRODUCT_CATEGORY_TITLE}" value="#{local[category.parentCategory.categoryI18nKey]}" rendered="#{not empty category.parentCategory}">
+ <p:link outcome="admin_show_product_category" title="#{product.ADMIN_LINK_SHOW_PRODUCT_CATEGORY_TITLE}" value="#{local[category.parentCategory.categoryI18nKey]}" rendered="#{not empty category.parentCategory}">
<f:param name="categoryId" value="#{category.parentCategory.categoryId}" />
</p:link>
- <p:link outcome="admin_assign_parent_category" title="#{project.ADMIN_LINK_ASSIGN_PARENT_CATEGORY_TITLE}" value="#{msg.ADMIN_NOT_ASSIGNED}" rendered="#{empty category.parentCategory}">
+ <p:link outcome="admin_assign_parent_category" title="#{product.ADMIN_LINK_ASSIGN_PARENT_CATEGORY_TITLE}" value="#{msg.ADMIN_NOT_ASSIGNED}" rendered="#{empty category.parentCategory}">
<f:param name="categoryId" value="#{category.categoryId}" />
</p:link>
</p:column>
dynamic="true"
modal="true"
resizable="false"
- header="#{project.ADMIN_SINGLE_CATEGORY_DETAILS_HEADER}"
+ header="#{product.ADMIN_SINGLE_CATEGORY_DETAILS_HEADER}"
hideEffect="fade"
showEffect="fade"
widgetVar="categoryDialog"
<p:outputPanel id="category-details">
<p:panelGrid columns="2" rendered="#{not empty categoryListController.selectedCategory}">
<f:facet name="header">
- <h:outputFormat value="#{project.ADMIN_CATEGORY_DETAILS_HEADER}">
+ <h:outputFormat value="#{product.ADMIN_CATEGORY_DETAILS_HEADER}">
<f:param value="#{local[categoryListController.selectedCategory.categoryI18nKey]}" />
<f:param value="#{categoryListController.selectedCategory.categoryId}" />
</h:outputFormat>
</f:facet>
- <p:outputLabel value="#{msg.ID_HEADER}" title="#{project.CATEGORY_ID_NUMBER_TITLE}" />
+ <p:outputLabel value="#{msg.ID_HEADER}" title="#{product.CATEGORY_ID_NUMBER_TITLE}" />
<h:outputText value="#{categoryListController.selectedCategory.categoryId}" />
- <p:outputLabel value="#{msg.ADMIN_I18N_KEY_HEADER}" title="#{project.CATEGORY_I18N_KEY_TITLE}" />
+ <p:outputLabel value="#{msg.ADMIN_I18N_KEY_HEADER}" title="#{product.CATEGORY_I18N_KEY_TITLE}" />
<h:outputText value="#{categoryListController.selectedCategory.categoryI18nKey}" title="#{local[categoryListController.selectedCategory.categoryI18nKey]}" />
- <p:outputLabel value="#{project.CATEGORY_IN_STATISTICS_HEADER}" title="#{project.CATEGORY_SHOW_IN_STATISTICS_TITLE}" />
+ <p:outputLabel value="#{product.CATEGORY_IN_STATISTICS_HEADER}" title="#{product.CATEGORY_SHOW_IN_STATISTICS_TITLE}" />
<h:outputText value="#{categoryListController.selectedCategory.categoryShownInStatistics ? msg.CHOICE_YES : msg.CHOICE_NO}" />
- <p:outputLabel value="#{project.CATEGORY_PARENT_HEADER}" title="#{project.CATEGORY_PARENT_TITLE}" />
- <p:link outcome="admin_show_product_category" title="#{project.ADMIN_LINK_SHOW_PRODUCT_CATEGORY_TITLE}" value="#{local[categoryListController.selectedCategory.parentCategory.categoryI18nKey]}" rendered="#{not empty categoryListController.selectedCategory.parentCategory}">
+ <p:outputLabel value="#{product.CATEGORY_PARENT_HEADER}" title="#{product.CATEGORY_PARENT_TITLE}" />
+ <p:link outcome="admin_show_product_category" title="#{product.ADMIN_LINK_SHOW_PRODUCT_CATEGORY_TITLE}" value="#{local[categoryListController.selectedCategory.parentCategory.categoryI18nKey]}" rendered="#{not empty categoryListController.selectedCategory.parentCategory}">
<f:param name="categoryId" value="#{categoryListController.selectedCategory.parentCategory.categoryId}" />
</p:link>
- <h:outputText value="#{project.CATEGORY_HAS_NO_PARENT}" rendered="#{empty categoryListController.selectedCategory.parentCategory}" />
+ <h:outputText value="#{product.CATEGORY_HAS_NO_PARENT}" rendered="#{empty categoryListController.selectedCategory.parentCategory}" />
- <p:outputLabel value="#{msg.ENTRY_CREATED_HEADER}" title="#{project.ADMIN_CATEGORY_ENTRY_CREATED_TITLE}" />
+ <p:outputLabel value="#{msg.ENTRY_CREATED_HEADER}" title="#{product.ADMIN_CATEGORY_ENTRY_CREATED_TITLE}" />
<h:outputText value="#{categoryListController.selectedCategory.categoryCreated}">
<f:convertDateTime type="both" timeStyle="short" dateStyle="short" />
</h:outputText>
layout="grid"
>
<f:facet name="header">
- <h:outputText value="#{project.ADMIN_ADD_PRODUCT_CATEGORY_TITLE}" />
+ <h:outputText value="#{product.ADMIN_ADD_PRODUCT_CATEGORY_TITLE}" />
</f:facet>
<h:panelGroup styleClass="para" layout="block">
- <h:outputText value="#{project.ADMIN_ADD_PRODUCT_CATEGORY_MINIMUM_DATA}" />
+ <h:outputText value="#{product.ADMIN_ADD_PRODUCT_CATEGORY_MINIMUM_DATA}" />
</h:panelGroup>
<ui:include src="/WEB-INF/templates/admin/product_category/admin_form_category_data.tpl" />
<p:commandButton
type="submit"
- value="#{project.BUTTON_ADMIN_ADD_PRODUCT_CATEGORY}"
+ value="#{product.BUTTON_ADMIN_ADD_PRODUCT_CATEGORY}"
action="#{adminCategoryController.addCategory()}"
update=":master:form-list-categories:categoryList"
/>