Commit graph

269 commits

Author SHA1 Message Date
Lance Edgar d2c8274afd fix: avoid deprecated function for get_engines() config 2024-07-01 22:11:00 -05:00
Lance Edgar b903cf97fa fix: remove legacy command definitions 2024-07-01 12:35:47 -05:00
Lance Edgar 06c38c0ce2 feat: switch from setup.cfg to pyrpoject.toml + hatchling 2024-06-10 16:09:22 -05:00
Lance Edgar 7dd249a38a Update changelog 2024-05-29 10:12:26 -05:00
Lance Edgar ea147e8c0d Add typer equivalents for rattail commands 2024-05-16 19:16:08 -05:00
Lance Edgar 93c7b254a3 Migrate the crepes commands to use typer 2024-05-15 23:12:49 -05:00
Lance Edgar 2b0ca89fb8 Migrate the core-office commands to use typer 2024-05-15 23:01:26 -05:00
Lance Edgar 98e8e8128d Migrate the trainwreck commands to use typer 2024-05-15 20:49:14 -05:00
Lance Edgar 76b183676d Misc. fixes for CORE API -> Theo importers
based on a certain sample data set, not sure why these didn't come up
before?  oh well
2024-05-09 20:52:08 -05:00
Lance Edgar 421a58efc2 Add get_model_office_arch() method for corepos handler 2024-05-08 20:14:33 -05:00
Lance Edgar 8eb097867e Add basic support for importing from CSV to office_arch.bigArchive
still requires CSV file header column names to match the SA model,
and *not* the underlying mysql names
2024-05-08 14:54:16 -05:00
Lance Edgar db8f872eef Update changelog 2024-01-17 11:27:50 -06:00
Lance Edgar f07c767826 Truncate "blue line" text if necessary when updating CORE 2024-01-17 11:26:42 -06:00
Lance Edgar e332872f46 Update changelog 2023-11-30 15:17:47 -06:00
Lance Edgar 17e08c9f3c Update changelog 2023-11-18 12:12:20 -06:00
Lance Edgar e6c1b2d9ba Add function for writing value to fannie config file 2023-11-18 12:11:39 -06:00
Lance Edgar ebef0f6be1 Update changelog 2023-11-15 11:43:37 -06:00
Lance Edgar 439bd50deb Add account_holder_full_name for CORE -> Rattail customer import 2023-11-15 11:38:33 -06:00
Lance Edgar 5fa28a1843 Update changelog 2023-11-05 18:16:03 -06:00
Lance Edgar e37146d796 Add corepos handler method to make arch session 2023-11-05 18:15:30 -06:00
Lance Edgar dd68081f9e Update changelog 2023-11-05 14:15:52 -06:00
Lance Edgar 1004c63e37 Equity batch rows should really get deleted
and not just marked for such.  this is because in some cases equity
payments must be "merged" and therefore some must be deleted, which
requires there be no references to them e.g. in batches
2023-11-05 14:13:22 -06:00
Lance Edgar 295c20d61f Update changelog 2023-11-01 08:16:26 -05:00
Lance Edgar 81e5837e10 Make POS batch write more accurate dtransactions
still not complete by any means, but basics should work correctly now
2023-10-20 14:37:52 -05:00
Lance Edgar b6e21f52ee Import Store, ProductCost from CORE DB
and tweak API importer accordingly
2023-10-20 14:37:25 -05:00
Lance Edgar 67861522eb Import the Product.not_for_sale flag from CORE-POS 2023-10-19 19:13:22 -05:00
Lance Edgar 5ac3a3d82c Import product sale pricing from CORE
this almost certainly needs improvements for POS sake
2023-10-18 21:28:17 -05:00
Lance Edgar b60cfa777f Update changelog 2023-10-15 17:55:33 -05:00
Lance Edgar 98da72ea14 Avoid false match when importing equity payments from CORE 2023-10-15 17:54:46 -05:00
Lance Edgar a598796618 Update changelog 2023-10-14 17:48:15 -05:00
Lance Edgar 2f3926f899 Include person_uuid when importing members from CORE DB
otherwise can cause duplicate person records, e.g. if customers also
are imported from CORE
2023-10-14 17:46:49 -05:00
Lance Edgar 4ce7d3293e Update changelog 2023-10-12 10:40:05 -05:00
Lance Edgar d08c475223 Add customer, member importers from CORE DB
API is just not cutting it, need more flexibility
2023-10-12 10:34:46 -05:00
Lance Edgar 124a510c17 Import tax rate, food stamp flag for departments from CORE 2023-10-11 18:36:51 -05:00
Lance Edgar 8929d678fa Avoid error if CORE has invalid products.tax FK 2023-10-08 17:35:46 -05:00
Lance Edgar dbeed929fc Update changelog 2023-10-07 18:59:56 -05:00
Lance Edgar cf90ca5704 Add importer for tax rates from CORE 2023-10-07 16:28:12 -05:00
Lance Edgar 6ef2e67f76 Rename config section to [corepos.db.office_arch]
to match module rename
2023-10-05 11:53:12 -05:00
Lance Edgar aa1b53d96c Improve the anonymization logic some more
hopefully this scrubs all personal data from a `core_op` DB
2023-10-04 18:52:07 -05:00
Lance Edgar 478126f1e3 Improve the core-office anonymize command somewhat
API is not good enough for this, need to write direct SQL instead

this "mostly" anonymizes `custdata` and `meminfo` but still needs to
also anonymize probably `CustomerAccounts` and `Customers`, as well as
`employees` and possibly others..?
2023-10-03 23:17:09 -05:00
Lance Edgar 117442f8db Add employee importer for CORE -> Rattail, and CORE cashier auth handler 2023-10-01 19:48:52 -05:00
Lance Edgar fd5d3142ed Truncate item descriptions when pushing to dtransactions if needed 2023-10-01 19:42:13 -05:00
Lance Edgar f61ae7a7e0 Add tender importer from CORE; apply tender in CORE POS batch
still some work to be done yet but getting there
2023-09-27 17:14:28 -05:00
Lance Edgar 3add006b7e Add custom POS batch handler, to push transactions to CORE
not complete but a reasonable start
2023-09-26 17:59:26 -05:00
Lance Edgar b98b80d3c0 Update changelog 2023-09-19 18:48:39 -05:00
Lance Edgar 7a18dc20ce Do not raise error if CORE equity payment not found in rattail 2023-09-19 07:08:35 -05:00
Lance Edgar 95cd77c7fb Update changelog 2023-09-19 06:50:02 -05:00
Lance Edgar 6e1d2544c8 Fix bug when fetching corepos handler 2023-09-19 06:49:30 -05:00
Lance Edgar 9a53b58972 Update changelog 2023-09-18 09:53:23 -05:00
Lance Edgar ebdb658a2c Make CORE API client via app handler, not deprecated function 2023-09-18 08:12:20 -05:00