When deriving, don't carry over the code or not
This commit is contained in:
parent
8f06e75e05
commit
9a0ae50ce7
1 changed files with 6 additions and 6 deletions
12
src/draft.cc
12
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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue