Commit graph

304 commits

Author SHA1 Message Date
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
Lance Edgar 7b9b6e57e2 Update changelog 2023-09-17 13:53:18 -05:00
Lance Edgar c513a91678 Remove production hack to prevent equity import batch execution 2023-09-17 13:49:36 -05:00
Lance Edgar 7dc09d0a2e Let config override the CORE API client factory 2023-09-17 13:47:06 -05:00
Lance Edgar f662b04ba3 Update changelog 2023-09-17 11:36:26 -05:00
Lance Edgar 15340dad6a Add tender_code for CORE equity import batch rows 2023-09-16 15:48:35 -05:00
Lance Edgar 8162821fbd Update changelog 2023-09-15 13:00:29 -05:00
Lance Edgar e15328043f Add "overpaid" status for equity import batch rows 2023-09-15 12:57:20 -05:00
Lance Edgar 297e0fb126 Update changelog 2023-09-15 10:37:41 -05:00
Lance Edgar 1d1cb5fb3c Make CORE -> Rattail equity import a bit smarter re: datetime
if we add new equity to CORE, we can't know its timestamp for 100%
sure, and may need a "fuzzy" match when importing it back later
2023-09-15 10:35:44 -05:00
Lance Edgar 271895fa83 Add rattail provider for CORE-POS Integration
and use it to generate CORE Office URLs
2023-09-14 12:57:14 -05:00
Lance Edgar 4bff0832e8 Use "complete" composite key for importing CORE equity payments 2023-09-13 22:13:37 -05:00
Lance Edgar b77b5cdf8c Update changelog 2023-09-13 21:52:11 -05:00
Lance Edgar 60bc6dd236 Add CORE-specific datetime for equity payments
in case payments are added to CORE on a later date, want to keep
original timestamp separate
2023-09-13 21:29:16 -05:00
Lance Edgar c0cfc7714d Add first draft logic for executing CORE equity import batch 2023-09-13 14:37:01 -05:00
Lance Edgar 2594245813 Update changelog 2023-09-13 13:16:33 -05:00
Lance Edgar ac34a494e3 Add model, handler for CORE equity import batch 2023-09-13 13:15:47 -05:00
Lance Edgar 64048db92f Import member first/last name from CORE API 2023-09-13 13:15:25 -05:00
Lance Edgar f6c08af32c Update changelog 2023-09-11 08:43:39 -05:00
Lance Edgar 465322b87b Add common base for commands which import straight to CORE op/trans DB 2023-09-09 12:19:54 -05:00
Lance Edgar f6ca488c66 Update changelog 2023-09-07 21:01:18 -05:00