wip
This commit is contained in:
@@ -68,3 +68,18 @@ double KissCount::GetAccountAmount(wxString id, int month, int year)
|
||||
{
|
||||
return _db->GetAccountAmount(id, month, year);
|
||||
}
|
||||
|
||||
void KissCount::UpdateOperation(struct operation op)
|
||||
{
|
||||
_db->UpdateOperation(op);
|
||||
}
|
||||
|
||||
void KissCount::AddOperation(struct operation op)
|
||||
{
|
||||
_db->AddOperation(_user, op);
|
||||
}
|
||||
|
||||
void KissCount::DeleteOperation(struct operation op)
|
||||
{
|
||||
_db->DeleteOperation(op);
|
||||
}
|
||||
|
@@ -21,6 +21,9 @@ class KissCount
|
||||
void LoadYear(int year, bool force=false);
|
||||
User* GetUser();
|
||||
double GetAccountAmount(wxString id, int month, int year);
|
||||
void UpdateOperation(struct operation op);
|
||||
void AddOperation(struct operation op);
|
||||
void DeleteOperation(struct operation op);
|
||||
|
||||
private:
|
||||
wxUI* _wxUI;
|
||||
|
Reference in New Issue
Block a user