Revert "Propagate xact effective date in two places"
This reverts commit 17a0ab8407.
This commit is contained in:
parent
17a0ab8407
commit
4dbd124e22
1 changed files with 2 additions and 4 deletions
|
|
@ -574,8 +574,7 @@ void set_comm_as_payee::operator()(xact_t& xact)
|
||||||
{
|
{
|
||||||
entry_temps.push_back(*xact.entry);
|
entry_temps.push_back(*xact.entry);
|
||||||
entry_t& entry = entry_temps.back();
|
entry_t& entry = entry_temps.back();
|
||||||
entry._date = xact._date;
|
entry._date = xact.date();
|
||||||
entry._date_eff = xact._date_eff;
|
|
||||||
entry.code = xact.entry->code;
|
entry.code = xact.entry->code;
|
||||||
|
|
||||||
if (xact.amount.commodity())
|
if (xact.amount.commodity())
|
||||||
|
|
@ -598,8 +597,7 @@ void set_code_as_payee::operator()(xact_t& xact)
|
||||||
{
|
{
|
||||||
entry_temps.push_back(*xact.entry);
|
entry_temps.push_back(*xact.entry);
|
||||||
entry_t& entry = entry_temps.back();
|
entry_t& entry = entry_temps.back();
|
||||||
entry._date = xact._date;
|
entry._date = xact.date();
|
||||||
entry._date_eff = xact._date_eff;
|
|
||||||
|
|
||||||
if (xact.entry->code)
|
if (xact.entry->code)
|
||||||
entry.payee = *xact.entry->code;
|
entry.payee = *xact.entry->code;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue