Commit graph

3860 commits

Author SHA1 Message Date
Lance Edgar a206f14c63 Update changelog 2023-10-29 15:58:23 -05:00
Lance Edgar 9720138246 Avoid ambiguous config key for registered batch handlers 2023-10-29 15:56:16 -05:00
Lance Edgar a782e04af1 Add problem report for pending products 2023-10-26 21:20:02 -05:00
Lance Edgar 9eccf1e232 Add "ignored" status code for pending products
some products just will never make the cut
2023-10-26 20:41:45 -05:00
Lance Edgar 5ab1bc44e3 Update changelog 2023-10-26 18:43:49 -05:00
Lance Edgar c957d59034 Add product/image URLs for product autocomplete results
also add (optional) "key" search for products autocomplete
2023-10-26 09:59:59 -05:00
Lance Edgar 4c318fa623 Update changelog 2023-10-24 09:52:56 -05:00
Lance Edgar b87f0016db Add prioritized_files attr for config object 2023-10-24 09:52:13 -05:00
Lance Edgar a457932fea Update changelog 2023-10-24 09:26:21 -05:00
Lance Edgar d7210633b9 Add the RattailConfigMixin class
to keep common methods in one place, while we refactor all this...
2023-10-23 20:34:39 -05:00
Lance Edgar 84b57253fd Update changelog 2023-10-23 13:04:02 -05:00
Lance Edgar 0a27fcc8ef Remove duplicated methods 2023-10-21 14:58:11 -05:00
Lance Edgar 7003770fd7 Always add "change due" line when finalizing POS batch
also set extra attrs on batch when assigning customer
2023-10-20 14:29:07 -05:00
Lance Edgar 5e2ddefae4 Add AppHandler.make_counter() method
for when you just need a "dynamic" sequence
2023-10-20 14:26:21 -05:00
Lance Edgar 6d2170a22f Add basic "training mode" support for POS batch 2023-10-19 20:48:37 -05:00
Lance Edgar b87e90d03d Add first attempt for food stamps tender at POS
definitely this is not working right yet..will have to circle back to it

this also filters out "not for sale" products in lookup/search methods
2023-10-19 19:12:50 -05:00
Lance Edgar cb984e61f8 Add support for parsing invoice number in UNFI files 2023-10-19 14:56:39 -05:00
Lance Edgar eef7208b18 Add current (e.g. sale) price for POS batch row
also `txn_price_adusted` flag
2023-10-18 21:22:27 -05:00
Lance Edgar 102bc463c3 Update changelog 2023-10-12 10:36:21 -05:00
Lance Edgar c71db51baa Avoid duplicating people when importing customer account holder 2023-10-12 10:33:12 -05:00
Lance Edgar b447c734c2 When merging 2 people, "move" customer accounts if needed 2023-10-12 10:32:20 -05:00
Lance Edgar aabcb99796 Avoid SQLAlchemy deprecation warning 2023-10-11 23:21:58 -05:00
Lance Edgar 5f56234526 Add basic support for suspend/resume of POS txn batch
so far, assumes there is only one DB in the mix.  but needs to also
handle the (presumably more common) case of storing suspended
transactions on a central server DB
2023-10-11 23:05:37 -05:00
Lance Edgar 391b457819 Show simple error string for POS uncaught exception email 2023-10-11 19:55:29 -05:00
Lance Edgar e0e5602414 Add basic support for open rings in POS batch
added `Department.tax` and `.food_stampable` to that end
2023-10-11 18:33:43 -05:00
Lance Edgar b85c24e930 Update changelog 2023-10-11 15:54:18 -05:00
Lance Edgar 4786890786 Avoid deprecation warning 2023-10-11 15:45:22 -05:00
Lance Edgar edb8718595 Assume default paths for config.appdir() and export files dir
no need to require config for those paths, they have yet to vary
2023-10-11 10:36:25 -05:00
Lance Edgar 601bcdde20 Add basic support for str(ProductPrice) 2023-10-10 11:07:55 -05:00
Lance Edgar 3b0d479ebf Add DELETE support for generic web API client 2023-10-08 20:36:51 -05:00
Lance Edgar 056307b937 Avoid deprecated methods to get session 2023-10-08 16:12:33 -05:00
Lance Edgar f6fe14bd34 Update changelog 2023-10-07 18:56:05 -05:00
Lance Edgar b22f89f973 Improve tax support for POS batches
also add ref to tender, in batch rows
2023-10-07 16:22:12 -05:00
Lance Edgar f8ea49d7f3 Save tender ref when applying to POS batch; add flag to kick drawer 2023-10-06 20:32:40 -05:00
Lance Edgar 31e23690c3 Add comment reminder about badscan for POS 2023-10-06 19:19:01 -05:00
Lance Edgar ad0bb55bfd Honor type if specified, when fetching email/phone for contact 2023-10-06 15:02:33 -05:00
Lance Edgar 31a7dac12d Update changelog 2023-10-06 09:59:51 -05:00
Lance Edgar b40cec5a8d Add line item to txn when voiding batch 2023-10-06 08:49:54 -05:00
Lance Edgar 76a7ec8537 Add override_price() method for POS batch handler
probably a bit simplistic, may need to better track before/after
prices within the main row?
2023-10-05 19:59:21 -05:00
Lance Edgar b66f5f7039 Remove unwanted bit from config template 2023-10-05 11:34:02 -05:00
Lance Edgar 911c38288a Update changelog 2023-10-04 13:55:24 -05:00
Lance Edgar 9540e438f9 Improve app.render_duration() logic; deprecate util.pretty_hours() 2023-10-04 11:55:44 -05:00
Lance Edgar da2377fed6 Update changelog 2023-10-04 10:58:23 -05:00
Lance Edgar db744cade5 Add get_user() convenience method for auth, app handlers 2023-10-01 19:39:06 -05:00
Lance Edgar 04f5470640 Add tender flags to control cash back behavior 2023-10-01 18:54:28 -05:00
Lance Edgar c4d5d22cba Add enum for POS_ROW_TYPE
to be continued i'm sure
2023-10-01 17:31:09 -05:00
Lance Edgar 186a53ad6c Update changelog 2023-10-01 12:08:37 -05:00
Lance Edgar d58e9dd551 Add schema/logic to void row of POS batch 2023-09-30 21:07:38 -05:00
Lance Edgar 38cd38b97f Fix preview for uncaught exception emails 2023-09-29 11:53:27 -05:00
Lance Edgar e181c457ac Reset tender, void when cloning POS batch
the point of cloning is to re-test finalizing, so make sure it is not
already finalized
2023-09-29 11:44:50 -05:00