Show stats for current month even if next month has not been generated
Bug : Update all panels after generating/deleting month
This commit is contained in:
@@ -93,6 +93,11 @@ double KissCount::GetAccountAmount(const wxString& id, int month, int year)
|
||||
return _db->GetAccountAmount(id, month, year);
|
||||
}
|
||||
|
||||
double KissCount::CalcAccountAmount(const wxString& id, int month, int year, bool* had_values)
|
||||
{
|
||||
return _db->CalcAccountAmount(id, month, year, had_values);
|
||||
}
|
||||
|
||||
void KissCount::UpdateOperation(Operation& op)
|
||||
{
|
||||
// Unlink
|
||||
|
@@ -60,6 +60,8 @@ public:
|
||||
|
||||
double GetAccountAmount(const wxString& id, int month, int year);
|
||||
void SetAccountAmount(int month, int year, const wxString& accountId, double value);
|
||||
double CalcAccountAmount(const wxString& id, int month, int year, bool* had_values);
|
||||
|
||||
wxString AddAccount(Account& ac);
|
||||
void UpdateAccount(Account& ac);
|
||||
void DeleteAccount(Account& ac);
|
||||
|
Reference in New Issue
Block a user