This is an automated email from the ASF dual-hosted git repository.
taskain pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git
The following commit(s) were added to refs/heads/develop by this push:
new a119296a0 [FINERACT-1926] transaction summary report fixes
a119296a0 is described below
commit a119296a0ef91e827476f63696e07540878a987d
Author: taskain7 <[email protected]>
AuthorDate: Wed Jun 28 08:21:55 2023 +0200
[FINERACT-1926] transaction summary report fixes
---
.../db/changelog/tenant/changelog-tenant.xml | 1 +
...ion_summary_with_asset_owner_report_sql_fix.xml | 32 ++++++++++++++++++++++
2 files changed, 33 insertions(+)
diff --git
a/fineract-provider/src/main/resources/db/changelog/tenant/changelog-tenant.xml
b/fineract-provider/src/main/resources/db/changelog/tenant/changelog-tenant.xml
index 51a0ba216..fb32737eb 100644
---
a/fineract-provider/src/main/resources/db/changelog/tenant/changelog-tenant.xml
+++
b/fineract-provider/src/main/resources/db/changelog/tenant/changelog-tenant.xml
@@ -132,4 +132,5 @@
<include file="parts/0110_trial_balance_summary_with_asset_owner.xml"
relativeToChangelogFile="true" />
<include file="parts/0111_transaction_summary_with_asset_owner.xml"
relativeToChangelogFile="true" />
<include
file="parts/0112_transaction_summary_with_asset_owner_change_report_sql.xml"
relativeToChangelogFile="true" />
+ <include
file="parts/0113_transaction_summary_with_asset_owner_report_sql_fix.xml"
relativeToChangelogFile="true" />
</databaseChangeLog>
diff --git
a/fineract-provider/src/main/resources/db/changelog/tenant/parts/0113_transaction_summary_with_asset_owner_report_sql_fix.xml
b/fineract-provider/src/main/resources/db/changelog/tenant/parts/0113_transaction_summary_with_asset_owner_report_sql_fix.xml
new file mode 100644
index 000000000..aa8d1e6e3
--- /dev/null
+++
b/fineract-provider/src/main/resources/db/changelog/tenant/parts/0113_transaction_summary_with_asset_owner_report_sql_fix.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.3.xsd">
+ <changeSet author="fineract" id="1">
+ <update tableName="stretchy_report">
+ <column name="report_sql"
+ value="SELECT '${endDate}' AS TransactionDate, a.product
AS Product, case when a.transaction_type = 9999 then 'Asset Transfer' when
a.transaction_type = 99999 then 'Asset Buyback' else(SELECT
enum_message_property FROM r_enum_value WHERE enum_name =
'transaction_type_enum' and enum_id = a.transaction_type) end as
TransactionType_Name, (select value from m_payment_type where id =
a.payment_type_id) as PaymentType_Name, a.chargetype as chargetype,
a.reversal_indicator A [...]
+ <where>report_name='Transaction Summary Report with Asset
Owner'</where>
+ </update>
+ </changeSet>
+</databaseChangeLog>