From 9eb36c0336210c5fd3560efbaf37c92372e8ada2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 24 Jun 2018 23:48:40 +0200 Subject: [PATCH] Product-only: - if no product number is assigned, don't leave the box empty and show a proper message MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- src/java/org/mxchange/localization/project_de_DE.properties | 1 + src/java/org/mxchange/localization/project_en_US.properties | 1 + web/admin/generic_product/admin_generic_product_list.xhtml | 6 ++++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/java/org/mxchange/localization/project_de_DE.properties b/src/java/org/mxchange/localization/project_de_DE.properties index b9c5a808..adc0b337 100644 --- a/src/java/org/mxchange/localization/project_de_DE.properties +++ b/src/java/org/mxchange/localization/project_de_DE.properties @@ -369,3 +369,4 @@ 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. +NO_PRODUCT_NUMBER_ASSIGNED=Keine Produktnummer zugewiesen. diff --git a/src/java/org/mxchange/localization/project_en_US.properties b/src/java/org/mxchange/localization/project_en_US.properties index 16f4c150..aa106f1b 100644 --- a/src/java/org/mxchange/localization/project_en_US.properties +++ b/src/java/org/mxchange/localization/project_en_US.properties @@ -275,3 +275,4 @@ 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. +NO_PRODUCT_NUMBER_ASSIGNED=No product number assigned. diff --git a/web/admin/generic_product/admin_generic_product_list.xhtml b/web/admin/generic_product/admin_generic_product_list.xhtml index 72de737b..10d94c30 100644 --- a/web/admin/generic_product/admin_generic_product_list.xhtml +++ b/web/admin/generic_product/admin_generic_product_list.xhtml @@ -90,7 +90,8 @@ - + + @@ -193,7 +194,8 @@ - + + -- 2.39.5