Add auto-completion for description field in GridAccount
This commit is contained in:
@@ -454,6 +454,18 @@ bool KissCount::SearchPreviousOperation(Operation* res, Operation& op, int month
|
||||
return false;
|
||||
}
|
||||
|
||||
void KissCount::GetHistory(int month, int year, QStringList& list)
|
||||
{
|
||||
month -= 3;
|
||||
if (month < 0)
|
||||
{
|
||||
year -= 1;
|
||||
month += 12;
|
||||
}
|
||||
|
||||
_db->GetHistory(month, year, list);
|
||||
}
|
||||
|
||||
void KissCount::GetStats(int monthFrom, int yearFrom, int monthTo, int yearTo,
|
||||
std::map<int, std::map<int, std::map<int, double> > >* accountAmounts,
|
||||
std::map<int, double>* categories)
|
||||
|
||||
@@ -135,6 +135,8 @@ public:
|
||||
|
||||
void UpdateImportPattern();
|
||||
|
||||
void GetHistory(int month, int year, QStringList& list);
|
||||
|
||||
private:
|
||||
wxUI* _wxUI;
|
||||
Database* _db;
|
||||
|
||||
Reference in New Issue
Block a user