From a023ff55bba91d8f9a1bca5a73d65a4e51697f91 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 20 Dec 2018 12:13:28 +0100 Subject: [PATCH] Don't cherry-pick: - converted single-line JSF tag to multi-line, having attributes in distinct lines - ID_NUMBER_HEADER is to long, just let us use ID_HEADER, allowing more space for other columns - removed spurious id attributes, thumb of a rule: only use them when really needed and don't "over-id" everthing! - removed no longer used i18n keys 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 | 2 - .../localization/project_en_US.properties | 2 - .../receipt/admin_form_financial_receipt.tpl | 41 +++++++++++++++++-- .../admin_form_financial_receipt_item.tpl | 30 ++++++++++++-- .../receipt/login_form_financial_receipt.tpl | 30 ++++++++++++-- .../receipt/admin_receipt_list.xhtml | 41 +++++++++++++++---- .../admin_receipt_item_list.xhtml | 36 ++++++++++------ .../login_financials_add_income.xhtml | 10 +++-- .../login_financials_add_receipt.xhtml | 3 +- 9 files changed, 156 insertions(+), 39 deletions(-) diff --git a/src/java/org/mxchange/localization/project_de_DE.properties b/src/java/org/mxchange/localization/project_de_DE.properties index d51c299e..8d198a14 100644 --- a/src/java/org/mxchange/localization/project_de_DE.properties +++ b/src/java/org/mxchange/localization/project_de_DE.properties @@ -337,8 +337,6 @@ RECEIPT_ITEM_PRODUCT_QUANTITY_HEADER=Menge des Eintrages: RECEIPT_ITEM_PRODUCT_QUANTITY_TITLE=Menge des Kassenboneintrages. RECEIPT_ITEM_BRAND_NAME_TITLE=Warenzeichen des Kassenboneintrages. PRODUCT_I18N_KEY_HEADER=Internationalisierungsschluessel des Produktes: -ADMIN_ASSIGNED_RECEIPT_ITEM_CATEGORY_HEADER=Zum Eintrag zugewiesene Kategorie: -ADMIN_ASSIGNED_RECEIPT_ITEM_CATEGORY_TITLE=Dem Kassenboneintrag zugewiesene Kategorie. RECEIPT_ITEM_GROSS_PRICE_TITLE=Gesamtbruttopreis eines einzelnen Kassenboneintrages. RECEIPT_ITEM_NET_PRICE_TITLE=GesamtNettopreis eines einzelnen Kassenboneintrages. ADMIN_ASSIGNED_MANUFACTURER_HEADER=Zugewiesener Hersteller: diff --git a/src/java/org/mxchange/localization/project_en_US.properties b/src/java/org/mxchange/localization/project_en_US.properties index 13468d01..276d8d1b 100644 --- a/src/java/org/mxchange/localization/project_en_US.properties +++ b/src/java/org/mxchange/localization/project_en_US.properties @@ -248,8 +248,6 @@ RECEIPT_ITEM_PRODUCT_QUANTITY_HEADER=Quantity of receipt item: RECEIPT_ITEM_PRODUCT_QUANTITY_TITLE=Quantity of the receipt item. RECEIPT_ITEM_BRAND_NAME_TITLE=Brand name of receipt item. PRODUCT_I18N_KEY_HEADER=Product's internationalization key: -ADMIN_ASSIGNED_RECEIPT_ITEM_CATEGORY_HEADER=Assigned category to receipt item: -ADMIN_ASSIGNED_RECEIPT_ITEM_CATEGORY_TITLE=Category assigned to 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: diff --git a/web/WEB-INF/templates/admin/financial/receipt/admin_form_financial_receipt.tpl b/web/WEB-INF/templates/admin/financial/receipt/admin_form_financial_receipt.tpl index 26e87727..41a41516 100644 --- a/web/WEB-INF/templates/admin/financial/receipt/admin_form_financial_receipt.tpl +++ b/web/WEB-INF/templates/admin/financial/receipt/admin_form_financial_receipt.tpl @@ -25,9 +25,17 @@ required="true" requiredMessage="#{msg.ADMIN_BRANCH_OFFICE_REQUIRED}" > + + - + + @@ -54,9 +62,17 @@ required="true" requiredMessage="#{msg.FIELD_PAYMENT_TYPE_REQUIRED}" > + + - + + @@ -66,9 +82,18 @@ filter="true" filterMatchMode="contains" > + + - + + @@ -78,9 +103,17 @@ filter="true" filterMatchMode="contains" > + + - + + diff --git a/web/WEB-INF/templates/admin/financial/receipt_item/admin_form_financial_receipt_item.tpl b/web/WEB-INF/templates/admin/financial/receipt_item/admin_form_financial_receipt_item.tpl index 97566ba8..95eb23ba 100644 --- a/web/WEB-INF/templates/admin/financial/receipt_item/admin_form_financial_receipt_item.tpl +++ b/web/WEB-INF/templates/admin/financial/receipt_item/admin_form_financial_receipt_item.tpl @@ -45,9 +45,17 @@ required="true" requiredMessage="#{project.ADMIN_PRODUCT_REQUIRED}" > + + - + + @@ -57,9 +65,17 @@ filter="true" filterMatchMode="contains" > + + - + + @@ -112,9 +128,17 @@ required="true" requiredMessage="#{project.ADMIN_RECEIPT_REQUIRED}" > + + - + + diff --git a/web/WEB-INF/templates/user/financial/receipt/login_form_financial_receipt.tpl b/web/WEB-INF/templates/user/financial/receipt/login_form_financial_receipt.tpl index b8258e9a..dedf30ec 100644 --- a/web/WEB-INF/templates/user/financial/receipt/login_form_financial_receipt.tpl +++ b/web/WEB-INF/templates/user/financial/receipt/login_form_financial_receipt.tpl @@ -27,9 +27,17 @@ required="true" requiredMessage="#{msg.LOGIN_BRANCH_OFFICE_REQUIRED}" > + + - + + @@ -55,9 +63,17 @@ required="true" requiredMessage="#{msg.FIELD_PAYMENT_TYPE_REQUIRED}" > + + - + + @@ -68,9 +84,17 @@ filter="true" filterMatchMode="contains" > + + - + + diff --git a/web/admin/financial/receipt/admin_receipt_list.xhtml b/web/admin/financial/receipt/admin_receipt_list.xhtml index 83d551ec..7d631c23 100644 --- a/web/admin/financial/receipt/admin_receipt_list.xhtml +++ b/web/admin/financial/receipt/admin_receipt_list.xhtml @@ -76,7 +76,7 @@ oncomplete="PF('receiptDialog').show()" /> - + @@ -98,7 +98,13 @@ title="#{msg.FILTER_BY_MULTIPLE_BRANCH_OFFICES_TITLE}" > - + + @@ -118,8 +124,15 @@ title="#{project.FILTER_BY_MULTIPLE_RECEIPT_SELLERS_TITLE}" > + - + + @@ -143,8 +156,15 @@ title="#{msg.FILTER_BY_MULTIPLE_USERS_TITLE}" > + - + + @@ -173,7 +193,13 @@ onchange="PF('receiptList').filter()" > - + + @@ -204,7 +230,7 @@ - + @@ -254,7 +280,7 @@ - + - + @@ -94,7 +94,13 @@ title="#{project.FILTER_BY_MULTIPLE_RECEIPTS_TITLE}" > - + + @@ -114,7 +120,13 @@ title="#{project.FILTER_BY_MULTIPLE_ITEM_PRODUCTS_TITLE}" > - + + @@ -134,7 +146,13 @@ title="#{msg.FILTER_BY_MULTIPLE_COMPANIES_TITLE}" > - + + @@ -175,7 +193,7 @@ - + @@ -192,11 +210,6 @@ - - - - - - + - +
@@ -49,7 +49,12 @@ required="true" requiredMessage="#{project.FIELD_FINANCIAL_INCOME_REQUIRED}" > - +
@@ -73,7 +78,6 @@ /> - +