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

danwatford 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 b3c9202b43 Fixed: Error when exporting Comparative Income Statement 
report (OFBIZ-12915) (#707)
b3c9202b43 is described below

commit b3c9202b43f40eda2bc62920a5a4a9ee336d0546
Author: Daniel Watford <dan...@watfordconsulting.com>
AuthorDate: Mon Feb 26 15:12:37 2024 +0000

    Fixed: Error when exporting Comparative Income Statement report 
(OFBIZ-12915) (#707)
    
    Screen definitions for the PDF and CSV variants of the Accounting
    application's Comparative Income Statement report where incorrectly
    using the include-form rather than the include-grid directive when
    referencing grid, ComparativeBalanceTotals.
---
 applications/accounting/widget/ReportFinancialSummaryScreens.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/applications/accounting/widget/ReportFinancialSummaryScreens.xml 
b/applications/accounting/widget/ReportFinancialSummaryScreens.xml
index 57af41a0d3..5bf6664e34 100644
--- a/applications/accounting/widget/ReportFinancialSummaryScreens.xml
+++ b/applications/accounting/widget/ReportFinancialSummaryScreens.xml
@@ -974,7 +974,7 @@ under the License.
                             <label style="h3" 
text="${uiLabelMap.AccountingIncome}"/>
                             <include-grid 
name="ComparativeIncomeStatementIncomePdf" 
location="component://accounting/widget/ReportFinancialSummaryForms.xml"/>
                             <label style="h3" 
text="${uiLabelMap.CommonTotal}"/>
-                            <include-form name="ComparativeBalanceTotals" 
location="component://accounting/widget/ReportFinancialSummaryForms.xml"/>
+                            <include-grid name="ComparativeBalanceTotals" 
location="component://accounting/widget/ReportFinancialSummaryForms.xml"/>
                         </container>
                     </decorator-section>
                 </decorator-screen>
@@ -1050,7 +1050,7 @@ under the License.
                 <label style="h3" text="${uiLabelMap.AccountingIncome}"/>
                 <include-grid name="ComparativeIncomeStatementIncome" 
location="component://accounting/widget/ReportFinancialSummaryForms.xml"/>
                 <label style="h3" text="${uiLabelMap.CommonTotal}"/>
-                <include-form name="ComparativeBalanceTotals" 
location="component://accounting/widget/ReportFinancialSummaryForms.xml"/>
+                <include-grid name="ComparativeBalanceTotals" 
location="component://accounting/widget/ReportFinancialSummaryForms.xml"/>
             </widgets>
         </section>
     </screen>

Reply via email to