Fixed issues in removin all mapping fees,penalties to income acounts

This commit is contained in:
ThisuraThejith
2017-03-29 07:39:31 +05:30
parent 254d259705
commit 1df40f7b44
@@ -305,7 +305,7 @@ public class ProductToGLAccountMappingHelper {
* Fund Sources in the system
**/
final Set<Long> existingPaymentTypes = new HashSet<>();
if (paymentChannelMappingArray != null && paymentChannelMappingArray.size() > 0) {
if (paymentChannelMappingArray != null) {
if (changes != null) {
changes.put(LOAN_PRODUCT_ACCOUNTING_PARAMS.PAYMENT_CHANNEL_FUND_SOURCE_MAPPING.getValue(),
command.jsonFragment(LOAN_PRODUCT_ACCOUNTING_PARAMS.PAYMENT_CHANNEL_FUND_SOURCE_MAPPING.getValue()));