Simplify UpdateNextMonths function
Add "create_if_not_exsits" to Database::GetAccountAmount
This commit is contained in:
@@ -77,7 +77,7 @@ public:
|
||||
int MetaAmount(int id);
|
||||
int MetaPositiveAmount(int id);
|
||||
|
||||
int GetAccountAmount(int id, int month, int year, bool* had_values=0);
|
||||
int GetAccountAmount(int id, int month, int year, bool* had_values=0, bool create_if_not_exsits=true);
|
||||
void SetAccountAmount(int accountId, int month, int year, int value);
|
||||
int CalcAccountAmount(int id, int month, int year, bool* had_values);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user