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:
@@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user