Add Delete operation in GridAccount
Fix a bug : Forgot to update stats when there is a modification
This commit is contained in:
@@ -467,6 +467,10 @@ void KissCount::GetMonthStats(int month, int year, int nbDays,
|
||||
_db->GetMonthStats(_user, month, year, nbDays, operations, categories);
|
||||
}
|
||||
|
||||
void KissCount::UpdateStats()
|
||||
{
|
||||
_wxUI->UpdateStats();
|
||||
}
|
||||
|
||||
std::map<int, double>* KissCount::GetNotChecked(int month, int year)
|
||||
{
|
||||
|
||||
@@ -113,7 +113,8 @@ public:
|
||||
void GetMonthStats(int month, int year, int nbDays,
|
||||
std::map<int, std::vector<double> >* operations,
|
||||
std::map<int, double>* categories);
|
||||
|
||||
void UpdateStats();
|
||||
|
||||
std::map<int, double>* GetNotChecked(int month, int year);
|
||||
std::map<int, double>* GetVirtualAmount(int month, int year);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user