You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2022/01/15 09:50:10 UTC

[ofbiz-framework] branch trunk updated: Improved: Invoice Screens = consistency in ux (OFBIZ-12498) (#450)

This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 0f77436  Improved: Invoice Screens = consistency in ux (OFBIZ-12498) (#450)
0f77436 is described below

commit 0f77436a5361b1786f08d47aa687e74e568cdd13
Author: Pierre Smits <pi...@orrtiz.com>
AuthorDate: Sat Jan 15 10:50:04 2022 +0100

    Improved: Invoice Screens = consistency in ux (OFBIZ-12498) (#450)
    
    The majority of the invoice screens have grids encapsulated by a screenlet widget with a title. However some do not have this.
    
    Modified: InvoiceScreens.xml
    - screen InvoiceRoles - have grids in screenlet with title
    - screen InvoiceTerms - have grids in screenlet with title
---
 applications/accounting/widget/InvoiceScreens.xml | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/applications/accounting/widget/InvoiceScreens.xml b/applications/accounting/widget/InvoiceScreens.xml
index 98bba1a..0ca8412 100644
--- a/applications/accounting/widget/InvoiceScreens.xml
+++ b/applications/accounting/widget/InvoiceScreens.xml
@@ -710,12 +710,12 @@ under the License.
                                 <screenlet id="PartyInvoiceRolePanel" title="${uiLabelMap.AccountingPartyRoleAdd}" collapsible="true">
                                     <include-form name="EditInvoiceRole" location="component://accounting/widget/InvoiceForms.xml"/>
                                 </screenlet>
-                                <screenlet>
+                                <screenlet title="${uiLabelMap.CommonRoles}">
                                     <include-grid name="ListInvoiceRoles" location="component://accounting/widget/InvoiceForms.xml"/>
                                 </screenlet>
                             </widgets>
                             <fail-widgets>
-                                <screenlet>
+                                <screenlet title="${uiLabelMap.CommonRoles}">
                                     <include-grid name="InvoiceRoles" location="component://accounting/widget/InvoiceForms.xml"/>
                                 </screenlet>
                             </fail-widgets>
@@ -765,10 +765,14 @@ under the License.
                                         </screenlet>
                                     </widgets>
                                 </section>
-                                <include-grid name="ListInvoiceTerms" location="component://accounting/widget/InvoiceForms.xml"/>
+                                <screenlet title="${uiLabelMap.PartyTerms}">
+                                    <include-grid name="ListInvoiceTerms" location="component://accounting/widget/InvoiceForms.xml"/>
+                                </screenlet>
                             </widgets>
                             <fail-widgets>
-                                <include-grid name="InvoiceTerms" location="component://accounting/widget/InvoiceForms.xml"/>
+                                <screenlet title="${uiLabelMap.PartyTerms}">
+                                    <include-grid name="InvoiceTerms" location="component://accounting/widget/InvoiceForms.xml"/>
+                                </screenlet>
                             </fail-widgets>
                         </section>
                     </decorator-section>