diff options
Diffstat (limited to 'src/filters.cc')
-rw-r--r-- | src/filters.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/filters.cc b/src/filters.cc index 3667c213..25649ad0 100644 --- a/src/filters.cc +++ b/src/filters.cc @@ -752,6 +752,15 @@ void budget_posts::report_budget_items(const date_t& date) post_t& temp = temps.copy_post(post, xact); temp.amount.in_place_negate(); + if (flags & BUDGET_WRAP_VALUES) { + value_t seq; + seq.push_back(0L); + seq.push_back(temp.amount); + + temp.xdata().compound_value = seq; + temp.xdata().add_flags(POST_EXT_COMPOUND); + } + ++pair.first; begin = *pair.first.start; |