From: <vo...@us...> - 2014-01-06 15:39:46
|
Revision: 5831 http://sourceforge.net/p/moneymanagerex/code/5831 Author: vomikan Date: 2014-01-06 15:39:43 +0000 (Mon, 06 Jan 2014) Log Message: ----------- fix Modified Paths: -------------- trunk/src/filtertransdialog.cpp Modified: trunk/src/filtertransdialog.cpp =================================================================== --- trunk/src/filtertransdialog.cpp 2014-01-06 14:56:28 UTC (rev 5830) +++ trunk/src/filtertransdialog.cpp 2014-01-06 15:39:43 UTC (rev 5831) @@ -968,13 +968,13 @@ else if (getDateRangeCheckBox() && !Model_Billsdeposits::TRANSDATE(tran) .IsBetween(getFromDateCtrl().GetDateOnly() - , getToDateControl().GetDateOnly() + , getToDateControl().GetDateOnly() ) - ) ok = false; + ) ok = false; else if (!checkPayee(tran.PAYEEID)) ok = false; else if (!checkCategory(tran)) ok = false; else if (getStatusCheckBox() && !compareStatus(tran.STATUS)) ok = false; - //else if (getTypeCheckBox() && !allowType(tran.TRANSCODE, accountID == tran.ACCOUNTID)) ok = false; //TODO: + else if (getTypeCheckBox() && !allowType(tran.TRANSCODE, true)) ok = false; else if (getAmountRangeCheckBoxMin() && getAmountMin() > tran.TRANSAMOUNT) ok = false; else if (getAmountRangeCheckBoxMax() && getAmountMax() < tran.TRANSAMOUNT) ok = false; else if (getNumberCheckBox() && getNumber() != tran.TRANSACTIONNUMBER) ok = false; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |