From 9644cb269350a651bf7e6acfa4663d4e141def03 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 12 Mar 2019 14:16:24 +0100 Subject: [PATCH] Don't cherry-pick: - renamed more i18n strings to follow naming-convention - rewrote p:link and p:column to have each attribute in separate line which helps reading JSF views/templates MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../localization/project_de_DE.properties | 6 +- .../localization/project_en_US.properties | 7 +- .../receipt/admin_receipt_list.xhtml | 111 +++++++++++++++--- .../admin_receipt_item_list.xhtml | 80 ++++++++++--- .../login_financials_overview.xhtml | 25 +++- 5 files changed, 182 insertions(+), 47 deletions(-) diff --git a/src/java/org/mxchange/localization/project_de_DE.properties b/src/java/org/mxchange/localization/project_de_DE.properties index e1e3a28a..2cc0e805 100644 --- a/src/java/org/mxchange/localization/project_de_DE.properties +++ b/src/java/org/mxchange/localization/project_de_DE.properties @@ -64,7 +64,7 @@ ADMIN_RECEIPT_OTHER_LEGEND=Sonstige Daten des Kassenbons eingeben: ADMIN_RECEIPT_OTHER_LEGEND_TITLE=Geben Sie hier weitere Daten an, die Sie auf dem Kassenbon finden koennen. ADMIN_LINK_SHOW_RECEIPT_OWNER_USER_TITLE=Zeigt zugewiesenen Benutzer des Kassenbons an. #@TODO Please fix German umlauts! -ADMIN_ASSIGNED_RECEIPT_SELLER=Zugewiesener Verkaeufer: +ADMIN_SELLER_HEADER=Verkaeufer: #@TODO Please fix German umlauts! ADMIN_LINK_LIST_RECEIPT_ITEMS=Eintraege auflisten #@TODO Please fix German umlauts! @@ -80,7 +80,7 @@ CONTENT_TITLE_ADMIN_FINANCIALS_RECEIPT_ITEM_LIST=Artikel auflisten: TABLE_SUMMARY_ADMIN_LIST_RECEIPT_ITEMS=Diese Tabelle listet alle eingetragenen Artikel auf. #@TODO Please fix German umlauts! ADMIN_EMPTY_LIST_RECEIPT_ITEM=Es befinden sich keine Artikel in der Datenbank. Oder Ihre Suche ergab keine Uebereinstimmungen. -ADMIN_ASSIGNED_ITEM_RECEIPT=Zugewiesener Kassenbon: +ADMIN_RECEIPT_HEADER=Kassenbon: #@TODO Please fix German umlauts! ADMIN_ADD_RECEIPT_ITEM_TITLE=Neuen Artikel hinzufuegen ADMIN_RECEIPT_ITEM_LEGEND=Daten des Artikels: @@ -96,7 +96,6 @@ ENTER_RECEIPT_ITEM_QUANTITY_TITLE=Geben Sie hier die Stueckanzahl an, wie sie au ENTER_RECEIPT_SEQUENCE_NUMBER=Sequenznummer eingeben: #@TODO Please fix German umlauts! SELECT_RECEIPT_ITEM_MANUFACTURER=Hersteller zum Kassenboneintrah auswaehlen: -ADMIN_RECEIPT_ITEM_MANUFACTURER_NAME_HEADER=Hersteller des Boneintrages: ENTER_RAND_NAME=Warenzeichen/Marke eingeben: ENTER_RAND_NAME_TITLE=Geben Sie das Warenzeichen ein, dass Sie auf dem Kassenbon finden. RECEIPT_ISSUED=Ausgestellt: @@ -153,7 +152,6 @@ RECEIPT_ITEM_PRODUCT_QUANTITY_TITLE=Menge des Kassenboneintrages. RECEIPT_ITEM_BRAND_NAME_TITLE=Warenzeichen des Kassenboneintrages. RECEIPT_ITEM_GROSS_PRICE_TITLE=Gesamtbruttopreis eines einzelnen Kassenboneintrages. RECEIPT_ITEM_NET_PRICE_TITLE=GesamtNettopreis eines einzelnen Kassenboneintrages. -ADMIN_ASSIGNED_MANUFACTURER_HEADER=Zugewiesener Hersteller: ADMIN_ASSIGNED_RECEIPT_ITEM_MANUFACTURER_TITLE=Zum Kassenboneintrag zugewiesene Grunddaten des Herstellers (optional). RECEIPT_ITEM_HAS_NO_MANUFACTURER_ASSIGNED=Dieser Kassenboneintrag hat keinen Hersteller zugewiesen. GROSS_PRICE_HEADER=Bruttopreis: diff --git a/src/java/org/mxchange/localization/project_en_US.properties b/src/java/org/mxchange/localization/project_en_US.properties index 3d7a3aed..4d66884e 100644 --- a/src/java/org/mxchange/localization/project_en_US.properties +++ b/src/java/org/mxchange/localization/project_en_US.properties @@ -49,7 +49,7 @@ ENTER_RECEIPT_BARCODE_NUMBER=Enter bar code number: ADMIN_RECEIPT_OTHER_LEGEND=Enter other data of receipt: ADMIN_RECEIPT_OTHER_LEGEND_TITLE=Enter other additional data you can find on the receipt. ADMIN_LINK_SHOW_RECEIPT_OWNER_USER_TITLE=Shows assigned user of receipt. -ADMIN_ASSIGNED_RECEIPT_SELLER=Assigned seller: +ADMIN_SELLER_HEADER=Seller: ADMIN_LINK_LIST_RECEIPT_ITEMS=Receipt items ADMIN_LINK_LIST_RECEIPT_ITEMS_TITLE=Lists all receipt items. ADMIN_LINK_SHOW_RECEIPT_TITLE=Shows receipt data. @@ -60,8 +60,7 @@ PAGE_TITLE_ADMIN_FINANCIALS_RECEIPT_ITEM_LIST=List receipt items CONTENT_TITLE_ADMIN_FINANCIALS_RECEIPT_ITEM_LIST=List receipt items: TABLE_SUMMARY_ADMIN_LIST_RECEIPT_ITEMS=This table lists all registered receipt items. ADMIN_EMPTY_LIST_RECEIPT_ITEM=There are no receipt items in database. Or your search criteria doesn't match anything. -ADMIN_ASSIGNED_ITEM_RECEIPT=Assigned item's receipt: -ADMIN_ASSIGNED_ITEM_PRODUCT=Assigned product: +ADMIN_RECEIPT_HEADER=Receipt: ADMIN_ADD_RECEIPT_ITEM_TITLE=Add new receipt item ADMIN_RECEIPT_ITEM_LEGEND=Data of receipt item: ADMIN_RECEIPT_ITEM_BASIC_LEGEND_TITLE=Please enter here data of the new receipt item. @@ -73,7 +72,6 @@ ADMIN_RECEIPT_ITEM_QUANTITY_REQUIRED=Please enter product quantity. ENTER_RECEIPT_ITEM_QUANTITY_TITLE=Enter here the amount of the choosen product that is shown on the receipt. ENTER_RECEIPT_SEQUENCE_NUMBER=Enter sequence number: SELECT_RECEIPT_ITEM_MANUFACTURER=Choose manufacturer for receipt item: -ADMIN_RECEIPT_ITEM_MANUFACTURER_NAME_HEADER=Manufacturer of product item: RECEIPT_ISSUED=Issued at: RECEIPT_NUMBER_HEADER=Receipt number: ENTER_RECEIPT_ITEM_NUMBER=Item number: @@ -116,7 +114,6 @@ RECEIPT_ITEM_PRODUCT_QUANTITY_TITLE=Quantity of the receipt item. RECEIPT_ITEM_BRAND_NAME_TITLE=Brand name of receipt item. RECEIPT_ITEM_GROSS_PRICE_TITLE=Total gross price of a single receipt item. RECEIPT_ITEM_NET_PRICE_TITLE=Total net price of a single receipt item. -ADMIN_ASSIGNED_MANUFACTURER_HEADER=Assigned manufacturer: ADMIN_ASSIGNED_RECEIPT_ITEM_MANUFACTURER_TITLE=Manufacturer (basic data) assigned to receipt item (optional). RECEIPT_ITEM_HAS_NO_MANUFACTURER_ASSIGNED=This receipt item has no manufacturer assigned. GROSS_PRICE_HEADER=Gross price: diff --git a/web/admin/financial/receipt/admin_receipt_list.xhtml b/web/admin/financial/receipt/admin_receipt_list.xhtml index 7d631c23..a2e69f23 100644 --- a/web/admin/financial/receipt/admin_receipt_list.xhtml +++ b/web/admin/financial/receipt/admin_receipt_list.xhtml @@ -76,18 +76,35 @@ oncomplete="PF('receiptDialog').show()" /> - - + + - + - + - + - + - + - + - + - + - + - + - + - + @@ -242,18 +305,32 @@ - + - + - + diff --git a/web/admin/financial/receipt_item/admin_receipt_item_list.xhtml b/web/admin/financial/receipt_item/admin_receipt_item_list.xhtml index 3b2c1444..58b8e257 100644 --- a/web/admin/financial/receipt_item/admin_receipt_item_list.xhtml +++ b/web/admin/financial/receipt_item/admin_receipt_item_list.xhtml @@ -77,13 +77,26 @@ oncomplete="PF('receiptItemDialog').show()" /> - - + + - + - + - + - + - + - + - + @@ -211,11 +249,15 @@ - + - + - + diff --git a/web/user/financials/login_financials_overview.xhtml b/web/user/financials/login_financials_overview.xhtml index 5b92d7a2..6102ef6a 100644 --- a/web/user/financials/login_financials_overview.xhtml +++ b/web/user/financials/login_financials_overview.xhtml @@ -38,7 +38,12 @@ - + @@ -48,15 +53,27 @@
  • - +
  • - +
  • - +
-- 2.39.5