From 6687ac5cfb0b95b5bd6a8cf407344111708b445f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 13 May 2023 13:13:59 +0200 Subject: [PATCH] Don'y cherry-pick: - added dynamic="true" when a very long list is expected --- .../admin/financial/receipt/admin_form_financial_receipt.tpl | 5 +++++ .../receipt_item/admin_form_financial_receipt_item.tpl | 3 +++ .../user/financial/receipt/login_form_financial_receipt.tpl | 2 ++ web/admin/financial/receipt/admin_receipt_list.xhtml | 4 ++++ .../financial/receipt_item/admin_receipt_item_list.xhtml | 3 +++ 5 files changed, 17 insertions(+) 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 f5bb0952..96ad9f97 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 @@ -22,6 +22,7 @@ value="#{adminReceiptActionController.receiptBranchOffice}" filter="true" filterMatchMode="contains" + dynamic="true" required="true" requiredMessage="#{msg.ADMIN_BRANCH_OFFICE_REQUIRED}" > @@ -59,6 +60,7 @@ value="#{adminReceiptActionController.receiptPaymentType}" filter="true" filterMatchMode="contains" + dynamic="true" required="true" requiredMessage="#{msg.FIELD_PAYMENT_TYPE_REQUIRED}" > @@ -81,6 +83,7 @@ value="#{adminReceiptActionController.receiptSellerEmployee}" filter="true" filterMatchMode="contains" + dynamic="true" > @@ -105,6 +108,7 @@ value="#{adminReceiptActionController.receiptUser}" filter="true" filterMatchMode="contains" + dynamic="true" > @@ -128,6 +132,7 @@ value="#{adminReceiptActionController.receiptResumptionOf}" filter="true" filterMatchMode="contains" + dynamic="true" > 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 7fd38f81..7b30af91 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 @@ -40,6 +40,7 @@ value="#{adminReceiptItemActionController.itemProduct}" filter="true" filterMatchMode="contains" + dynamic="true" required="true" requiredMessage="#{project.ADMIN_PRODUCT_REQUIRED}" > @@ -67,6 +68,7 @@ value="#{adminReceiptItemActionController.itemManufacturer}" filter="true" filterMatchMode="contains" + dynamic="true" > @@ -139,6 +141,7 @@ value="#{adminReceiptItemActionController.itemReceipt}" filter="true" filterMatchMode="contains" + dynamic="true" 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 71a17eb4..a78ea58e 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 @@ -24,6 +24,7 @@ value="#{receiptController.receiptBranchOffice}" filter="true" filterMatchMode="contains" + dynamic="true" required="true" requiredMessage="#{msg.LOGIN_BRANCH_OFFICE_REQUIRED}" > @@ -83,6 +84,7 @@ value="#{receiptController.receiptSellerEmployee}" filter="true" filterMatchMode="contains" + dynamic="true" > diff --git a/web/admin/financial/receipt/admin_receipt_list.xhtml b/web/admin/financial/receipt/admin_receipt_list.xhtml index 89afa08a..005de325 100644 --- a/web/admin/financial/receipt/admin_receipt_list.xhtml +++ b/web/admin/financial/receipt/admin_receipt_list.xhtml @@ -122,6 +122,7 @@