FINERACT-1410: Fix feature broken by PR1960

This commit is contained in:
Manoj
2021-11-08 18:47:15 +08:00
committed by Petri Tuomola
parent d8d383e054
commit eed1535c12
2 changed files with 5 additions and 5 deletions
@@ -1,4 +1,4 @@
--
--
-- 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
@@ -20,6 +20,6 @@
ALTER TABLE `c_configuration`
ADD COLUMN `string_value` VARCHAR(100) NULL DEFAULT NULL AFTER `date_value`;
insert into c_configuration(name, string_value, enabled, description) values('account-mapping-for-payment-type', 'Asset', 0, 'Asset: default for asset, Use comma seperated values for Liability, Asset and Expense accounts');
insert into c_configuration(name, string_value, enabled, description) values('account-mapping-for-payment-type', 'Asset', 1, 'Asset: default for asset, Use comma seperated values for Liability, Asset and Expense accounts');
insert into c_configuration(name, string_value, enabled, description) values('account-mapping-for-charge', 'Income', 0, 'Income: default for Income, Use comma seperated values for Income, Liability and Expense accounts');
insert into c_configuration(name, string_value, enabled, description) values('account-mapping-for-charge', 'Income', 1, 'Income: default for Income, Use comma seperated values for Income, Liability and Expense accounts');
@@ -366,7 +366,7 @@ public class GlobalConfigurationHelper {
isAccountMappedForPayment.put("id", 35);
isAccountMappedForPayment.put("name", "account-mapping-for-payment-type");
isAccountMappedForPayment.put("value", 0);
isAccountMappedForPayment.put("enabled", false);
isAccountMappedForPayment.put("enabled", true);
isAccountMappedForPayment.put("trapDoor", false);
isAccountMappedForPayment.put("string_value", "Asset");
defaults.add(isAccountMappedForPayment);
@@ -375,7 +375,7 @@ public class GlobalConfigurationHelper {
isAccountMappedForCharge.put("id", 36);
isAccountMappedForCharge.put("name", "account-mapping-for-charge");
isAccountMappedForCharge.put("value", 0);
isAccountMappedForCharge.put("enabled", false);
isAccountMappedForCharge.put("enabled", true);
isAccountMappedForCharge.put("trapDoor", false);
isAccountMappedForCharge.put("string_value", "Income");
defaults.add(isAccountMappedForCharge);