30 Commits

Author SHA1 Message Date
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
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
f0f9240b24 Support for both production and debug builds 2023-02-01 19:44:54 -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
8071bae4d9 All queries are now in a transaction 2023-01-28 12:28:43 -06:00
e635d80869 Database throws error when delete fail. Wrapped sqlitedb* in RAII to
close
2023-01-22 18:09:30 -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
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
5d900dbda9 created Math which can create regressions and PolynomialFunction to
represent the regressions
2022-09-16 18:57:28 -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
03d84ef9ee AccountOptHandler for parsing commandline options 2022-08-13 18:41:04 -05:00
c9865dba8c Transactions and Earning now store tm dates. 2022-08-12 16:54:11 -05:00
04765e1992 AccountData can read from json files to populate accounts. 2022-08-12 15:26:25 -05:00
b43917ce73 Initial Commit 2022-08-04 18:27:39 -05:00