Merge pull request #1272 from chandrikamohith/MIFOSX-1864

MIFOSX-1864 Able to delete/add mapping fees and penalties during Edit
This commit is contained in:
Vishwas Babu A J
2015-03-04 23:14:52 +05:30
@@ -185,7 +185,7 @@ public class ProductToGLAccountMappingHelper {
* Accounts in the system * Accounts in the system
**/ **/
final Set<Long> existingCharges = new HashSet<>(); final Set<Long> existingCharges = new HashSet<>();
if (chargeToIncomeAccountMappingArray != null && chargeToIncomeAccountMappingArray.size() > 0) { if (chargeToIncomeAccountMappingArray != null) {
if (changes != null) { if (changes != null) {
changes.put(arrayFragmentName, command.jsonFragment(arrayFragmentName)); changes.put(arrayFragmentName, command.jsonFragment(arrayFragmentName));
} }