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

arnold 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 bfa6a6605 
FINERACT-1958-loan-downpayment-transaction-permission-enum-values
bfa6a6605 is described below

commit bfa6a6605b924cf3427364f613a4b52ce6650e48
Author: Ruchi Dhamankar <[email protected]>
AuthorDate: Tue Aug 22 17:18:24 2023 +0530

    FINERACT-1958-loan-downpayment-transaction-permission-enum-values
---
 .../tenant/module/loan/module-changelog-master.xml |  1 +
 ...dd_downpayment_transaction_enum_permissions.xml | 43 ++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git 
a/fineract-loan/src/main/resources/db/changelog/tenant/module/loan/module-changelog-master.xml
 
b/fineract-loan/src/main/resources/db/changelog/tenant/module/loan/module-changelog-master.xml
index 0f352e5d6..1a05adbf9 100644
--- 
a/fineract-loan/src/main/resources/db/changelog/tenant/module/loan/module-changelog-master.xml
+++ 
b/fineract-loan/src/main/resources/db/changelog/tenant/module/loan/module-changelog-master.xml
@@ -28,4 +28,5 @@
   <include relativeToChangelogFile="true" 
file="parts/1003_add_loan_product_auto_repayment_down_payment_configuration.xml"/>
   <include relativeToChangelogFile="true" 
file="parts/1004_add_external_event_configuration_for_down_payment_transaction_event.xml"/>
   <include relativeToChangelogFile="true" 
file="parts/1005_add_loan_product_repayment_start_date_configuration.xml"/>
+  <include relativeToChangelogFile="true" 
file="parts/1006_add_downpayment_transaction_enum_permissions.xml"/>
 </databaseChangeLog>
diff --git 
a/fineract-loan/src/main/resources/db/changelog/tenant/module/loan/parts/1006_add_downpayment_transaction_enum_permissions.xml
 
b/fineract-loan/src/main/resources/db/changelog/tenant/module/loan/parts/1006_add_downpayment_transaction_enum_permissions.xml
new file mode 100644
index 000000000..b5fc3c247
--- /dev/null
+++ 
b/fineract-loan/src/main/resources/db/changelog/tenant/module/loan/parts/1006_add_downpayment_transaction_enum_permissions.xml
@@ -0,0 +1,43 @@
+<?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">
+        <insert tableName="r_enum_value">
+            <column name="enum_name" value="transaction_type_enum"/>
+            <column name="enum_id" valueNumeric="28"/>
+            <column name="enum_message_property" value="Down Payment"/>
+            <column name="enum_value" value="Down Payment"/>
+            <column name="enum_type" valueBoolean="false"/>
+        </insert>
+    </changeSet>
+    <changeSet author="fineract" id="2">
+        <insert tableName="m_permission">
+            <column name="grouping" value="transaction_loan"/>
+            <column name="code" value="DOWNPAYMENT_LOAN"/>
+            <column name="entity_name" value="LOAN"/>
+            <column name="action_name" value="DOWNPAYMENT"/>
+            <column name="can_maker_checker" valueBoolean="false"/>
+        </insert>
+    </changeSet>
+</databaseChangeLog>

Reply via email to