diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-16 02:16:34 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-16 02:16:34 -0400 |
commit | 4dbd124e2225e143620bec62aa429ba82e233861 (patch) | |
tree | 53bb0dee3afee791846b791689e06fe1ea1be839 /src | |
parent | 17a0ab84075c8f323dc70e82717ae6c10ae5eb56 (diff) | |
download | fork-ledger-4dbd124e2225e143620bec62aa429ba82e233861.tar.gz fork-ledger-4dbd124e2225e143620bec62aa429ba82e233861.tar.bz2 fork-ledger-4dbd124e2225e143620bec62aa429ba82e233861.zip |
Revert "Propagate xact effective date in two places"
This reverts commit 17a0ab84075c8f323dc70e82717ae6c10ae5eb56.
Diffstat (limited to 'src')
-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; |