diff options
author | John Wiegley <johnw@newartisans.com> | 2010-03-10 03:56:08 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-03-10 03:56:08 -0500 |
commit | 9a0ae50ce7f94996af26635f7e0b31e84350d8d1 (patch) | |
tree | 70c7f2513451ff4f5c6ddb58e81b1b66eb7e286d /src/draft.cc | |
parent | 8f06e75e0509ea04065c8303a954a10465b28235 (diff) | |
download | fork-ledger-9a0ae50ce7f94996af26635f7e0b31e84350d8d1.tar.gz fork-ledger-9a0ae50ce7f94996af26635f7e0b31e84350d8d1.tar.bz2 fork-ledger-9a0ae50ce7f94996af26635f7e0b31e84350d8d1.zip |
When deriving, don't carry over the code or not
Diffstat (limited to 'src/draft.cc')
-rw-r--r-- | src/draft.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/draft.cc b/src/draft.cc index 3dffa123..18075731 100644 --- a/src/draft.cc +++ b/src/draft.cc @@ -277,15 +277,15 @@ xact_t * draft_t::insert(journal_t& journal) if (matching) { added->payee = matching->payee; - added->code = matching->code; - added->note = matching->note; + //added->code = matching->code; + //added->note = matching->note; #if defined(DEBUG_ON) DEBUG("derive.xact", "Setting payee from match: " << added->payee); - if (added->code) - DEBUG("derive.xact", "Setting code from match: " << *added->code); - if (added->note) - DEBUG("derive.xact", "Setting note from match: " << *added->note); + //if (added->code) + // DEBUG("derive.xact", "Setting code from match: " << *added->code); + //if (added->note) + // DEBUG("derive.xact", "Setting note from match: " << *added->note); #endif } else { added->payee = tmpl->payee_mask.str(); |