56 Commits

Author SHA1 Message Date
49146e031e accountOperation now gets earnings and payments, then sorts 2023-04-23 12:52:09 -05:00
25f8e07b0b Money << takes abs of cents when printing 2023-02-06 18:20:53 -06:00
8f44a9d46f Code cleanup 2023-02-05 22:20:34 -06:00
aa7c830036 Update createTables string due to new table layout 2023-02-05 21:45:25 -06:00
6dc9131d96 Money is now handled in a money object to prevent floating point errors 2023-02-05 21:30:54 -06:00
0639383836 properly seperated deffs of money 2023-02-05 18:43:03 -06:00
badf4f17d0 Removed cmake-build* from gitignore, please use gitexclude for build
files instead
2023-02-05 18:24:30 -06:00
d3b3634469 Created money class to represent money 2023-02-05 18:22:40 -06:00
7e19be33e9 Database now uses objects to represent Accounts Earnings and Payments 2023-02-05 17:41:47 -06:00
0a19042c73 Removed cmake-build-release 2023-02-01 19:47:02 -06:00
30a608cda7 Update .gitignore for intellij release builds 2023-02-01 19:45:30 -06:00
f0f9240b24 Support for both production and debug builds 2023-02-01 19:44:54 -06:00
6ba57049df Install and uninstall targets 2023-01-31 19:05:52 -06:00
0d6a22fb8b Payments and earns now store their receipts.
The database tables are now
created on startup
2023-01-31 18:51:22 -06:00
c81bddf79a cacheAccountValue(string,sqlite3) not selecting where accountId= 2023-01-28 12:29:09 -06:00
8071bae4d9 All queries are now in a transaction 2023-01-28 12:28:43 -06:00
30290fc317 Earn and pay now recache value for account 2023-01-28 12:05:35 -06:00
b02994d041 Account pay functional 2023-01-27 20:47:33 -06:00
6413749d76 Add build status to README 2023-01-27 20:13:35 -06:00
c610a0572c Account earn functional 2023-01-27 19:47:50 -06:00
2c3436ee94 Code cleanup 2023-01-27 19:06:19 -06:00
5a88299f9e Account creation with and without description 2023-01-27 19:02:18 -06:00
d3f3ebac3f Implemented account --description 2023-01-26 18:54:38 -06:00
e635d80869 Database throws error when delete fail. Wrapped sqlitedb* in RAII to
close
2023-01-22 18:09:30 -06:00
434eaf0ce0 Added documentation for non private functions. 2023-01-22 17:21:31 -06:00
3941e43e7f Account getValue and cacheing 2023-01-22 17:05:29 -06:00
983f1827e6 account -d and --force-delete now functional 2023-01-21 18:28:28 -06:00
c3dbabe42d accountOperation check if account exists in database 2023-01-21 17:50:07 -06:00
98db5681d8 Operations can now store account 2023-01-17 14:33:09 -06:00
c036cc43dd Code cleanup 2023-01-17 13:47:36 -06:00
ea057e7401 Update readme with correct spacing 2023-01-17 13:42:09 -06:00
b6967e665e Rest of the operations boilerplate 2023-01-17 13:39:00 -06:00
287f9f4751 Operations and AccountOperations boilerplate 2023-01-17 11:58:31 -06:00
94e63e8f76 mainOptHandler handles all paths 2023-01-15 19:37:49 -06:00
365b24e651 MainOptHandler help 2023-01-15 17:50:01 -06:00
089e9115f1 values are now doubles 2022-09-18 14:18:47 -05:00
40089ad861 payment now stores a pointer to a negative value 2022-09-17 17:47:54 -05:00
ecac206fce Earning and Payment both inherit from Transaction 2022-09-16 19:53:05 -05:00
7bd0a69c62 Refractor transaction to payment 2022-09-16 19:51:21 -05:00
5d900dbda9 created Math which can create regressions and PolynomialFunction to
represent the regressions
2022-09-16 18:57:28 -05:00
5edc7638ed dateMoney getters and << operator 2022-09-13 15:11:12 -05:00
a60823f250 a -l implemented 2022-09-08 11:26:54 -05:00
e8d12d2e56 Optimized the creation of accounts and removed writing null to newly
created
2022-09-08 11:00:56 -05:00
1d9c2010f9 main's accounts list is now unordered_map and -a -v returns acc value 2022-09-07 22:41:18 -05:00
c2ada74e6b Code cleanup 2022-09-06 17:04:06 -05:00
53ba7c9cc9 Data can now delete their associated file through deleteObject 2022-09-06 17:02:15 -05:00
cd45dd848f Derives of Data now flush there contents on death 2022-09-06 11:01:14 -05:00
23b0abd4cb data can now flush to file 2022-09-05 20:38:07 -05:00
fcec8da6bf Only parse AccountOpts if MainOpts tells us to 2022-08-14 12:48:02 -05:00
a3efa59ebb MainOptHandler for the first parse of argv 2022-08-13 18:42:16 -05:00