diff options
-rw-r--r-- | src/filters.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/filters.cc b/src/filters.cc index d345ee0c..57ab2e7c 100644 --- a/src/filters.cc +++ b/src/filters.cc @@ -574,8 +574,7 @@ void set_comm_as_payee::operator()(xact_t& xact) { entry_temps.push_back(*xact.entry); entry_t& entry = entry_temps.back(); - entry._date = xact._date; - entry._date_eff = xact._date_eff; + entry._date = xact.date(); entry.code = xact.entry->code; if (xact.amount.commodity()) @@ -598,8 +597,7 @@ void set_code_as_payee::operator()(xact_t& xact) { entry_temps.push_back(*xact.entry); entry_t& entry = entry_temps.back(); - entry._date = xact._date; - entry._date_eff = xact._date_eff; + entry._date = xact.date(); if (xact.entry->code) entry.payee = *xact.entry->code; |