summaryrefslogtreecommitdiff
path: root/src/draft.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-03-10 03:56:08 -0500
committerJohn Wiegley <johnw@newartisans.com>2010-03-10 03:56:08 -0500
commit9a0ae50ce7f94996af26635f7e0b31e84350d8d1 (patch)
tree70c7f2513451ff4f5c6ddb58e81b1b66eb7e286d /src/draft.cc
parent8f06e75e0509ea04065c8303a954a10465b28235 (diff)
downloadfork-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.cc12
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();