Re-add EXPENSE as a valid booking target of a LIABILITY account (e.g. an instalment purchase can be handled this way)

This commit is contained in:
2019-02-18 21:13:01 +01:00
parent d2d5d7f38a
commit f486570920

View File

@@ -34,7 +34,7 @@ public class RuleService implements InitializingBean {
this.bookingRules.put(BANK, Arrays.asList(BANK, CASH, EXPENSE, LIABILITY)); this.bookingRules.put(BANK, Arrays.asList(BANK, CASH, EXPENSE, LIABILITY));
this.bookingRules.put(CASH, Arrays.asList(BANK, EXPENSE, LIABILITY)); this.bookingRules.put(CASH, Arrays.asList(BANK, EXPENSE, LIABILITY));
this.bookingRules.put(EXPENSE, Collections.emptyList()); this.bookingRules.put(EXPENSE, Collections.emptyList());
this.bookingRules.put(LIABILITY, Arrays.asList(BANK, CASH)); this.bookingRules.put(LIABILITY, Arrays.asList(BANK, CASH, EXPENSE));
this.bookingRules.put(START, Arrays.asList(BANK, CASH, LIABILITY)); this.bookingRules.put(START, Arrays.asList(BANK, CASH, LIABILITY));
} }