Commit graph

3719 commits

Author SHA1 Message Date
Lance Edgar a0075f6f78 Log warning / avoid error if email profile can't be normalized
e.g. if some import error happens
2023-10-29 22:22:16 -05:00
Lance Edgar 8b07289452 Update changelog 2023-10-29 15:59:17 -05:00
Lance Edgar c1f2f84c7f Remove unused "simple menus" module approach
now we always use a handler instead
2023-10-29 15:46:18 -05:00
Lance Edgar da13254caa Tweak param docs for Form.set_validator() 2023-10-29 15:10:56 -05:00
Lance Edgar fe4a178d43 Add way to "ignore" a pending product
and some related tweaks for sake of grid
2023-10-26 20:43:12 -05:00
Lance Edgar 1fc17658ff Update changelog 2023-10-26 18:44:38 -05:00
Lance Edgar a5c1cba81b Use product lookup component for "resolve pending product" tool 2023-10-26 10:06:00 -05:00
Lance Edgar 4809cf039e Update changelog 2023-10-25 20:22:48 -05:00
Lance Edgar a812181466 Expand the "product lookup" component to include autocomplete 2023-10-25 20:10:21 -05:00
Lance Edgar 441a6e5e0c Add separate perm for making new custorder for unknown product 2023-10-25 14:06:40 -05:00
Lance Edgar b5c68831b5 Do not show profile buttons for inactive customer shoppers 2023-10-25 12:20:04 -05:00
Lance Edgar cf1ef23996 Add column_only kwarg for Grid.set_label() method
pass True to affect only the column label and not the filter
2023-10-25 11:40:52 -05:00
Lance Edgar 70cc754f3e Use <b-select> for theme picker
instead of webhelpers2.html.tags.select() which seems to break for me
in dev now with python 3.10
2023-10-25 10:45:33 -05:00
Lance Edgar 72dda3771e Add price confirm prompt when adding unknown item to custorder
optional, per config
2023-10-24 19:51:27 -05:00
Lance Edgar 4247804707 Allow pending product fields to be required, for new custorder 2023-10-24 19:17:36 -05:00
Lance Edgar e308108bf7 Show user warning if "add item to custorder" fails
specifically, if user enters alpha chars for cost/price fields
2023-10-24 17:48:08 -05:00
Lance Edgar f708cb0b25 Fix bug when editing vendor 2023-10-24 17:44:02 -05:00
Lance Edgar 1f3877b7cb Update changelog 2023-10-24 09:54:31 -05:00
Lance Edgar 72e4daafc1 Fix config file priority for display, and batch subprocess commands 2023-10-24 09:53:40 -05:00
Lance Edgar 549976dcfb Update changelog 2023-10-24 09:27:12 -05:00
Lance Edgar 756b4b9d18 No need to configure logging
since the rattail config object will do that when first made
2023-10-23 20:35:43 -05:00
Lance Edgar f70772fabc Allow override of version diff for master views
and misc. other tweaks
2023-10-23 15:48:48 -05:00
Lance Edgar ec8a8d5ddc Update changelog 2023-10-23 13:06:38 -05:00
Lance Edgar 6d79766b24 Stop using sa-filters for basic grid sorting
this just breaks if we need to use "aliased" models e.g. when sorting
and/or filtering by Product "regular price" column and similar.  so
now sorting more like we always used to, except for multi-column.

nb. this still assumes callers use `Grid.make_sorter()` when declaring
the sorters.  if caller must specify more custom/explicit sort logic
then it likely will not work and we'll have to add a workaround to
allow avoiding the common logic..but that's another day
2023-10-21 16:10:36 -05:00
Lance Edgar 421266e70c Show more customer attrs for POS batch 2023-10-20 14:29:45 -05:00
Lance Edgar d87de1dc4f Expose permission for POS batch, toggle training mode 2023-10-19 20:48:52 -05:00
Lance Edgar dc99828b66 Show food stamp tender info for POS batch 2023-10-19 19:12:28 -05:00
Lance Edgar 5e8ea67773 Include invoice number for receiving batch row API 2023-10-19 14:57:06 -05:00
Lance Edgar 0d30247353 Add validtion to prevent duplicate files for multi-invoice receiving
by comparing sha256 hash values for each file
2023-10-19 14:03:25 -05:00
Lance Edgar aaf6f05820 Remove sorter for "Credits?" column in purchasing batch row grid
too convoluted, and broken per recent sort overhaul
2023-10-19 13:02:17 -05:00
Lance Edgar 954a2b78be Expose new price fields for POS batch row 2023-10-18 21:25:32 -05:00
Lance Edgar 230a54cb99 Fix default grid filter when "local" date times are involved 2023-10-18 21:25:13 -05:00
Lance Edgar 13565d1c45 Avoid "None" when rendering product UOM field 2023-10-18 21:24:37 -05:00
Lance Edgar 919d8d109f Use Grid.make_sorter() instead of legacy code
b/c multi-column sorting relies on this
2023-10-18 18:18:55 -05:00
Lance Edgar 659f5a8fe1 Replace dropdowns with autocomplete, for "find principals by perm" 2023-10-18 17:35:14 -05:00
Lance Edgar f86cc83996 Fix order xlsx download if missing order date 2023-10-17 15:26:22 -05:00
Lance Edgar 7525aaaa87 Expose more permissions for POS 2023-10-12 16:31:44 -05:00
Lance Edgar 115e95b9a8 Update changelog 2023-10-12 10:37:12 -05:00
Lance Edgar 5940778189 Fix version child classes for Customers view
must be sure to include any supplements
2023-10-12 10:33:56 -05:00
Lance Edgar 1a15d70568 Add some awareness of suspend/resume for POS batch 2023-10-11 23:11:23 -05:00
Lance Edgar d66dd5f199 Add permission for testing error handling at POS 2023-10-11 19:55:51 -05:00
Lance Edgar 507a9ffc71 Expose department tax, FS flag 2023-10-11 18:35:35 -05:00
Lance Edgar cd82f8927b Fix grid sorting when column key/name differ 2023-10-11 16:13:20 -05:00
Lance Edgar cddec51582 Update changelog 2023-10-11 15:56:16 -05:00
Lance Edgar 78deb5d09a Use autocomplete instead of dropdown for grid "add filter" 2023-10-10 22:10:01 -05:00
Lance Edgar 4328b9e385 Show full version history within the "view" page
avoid full page loads when navigating version history
2023-10-10 11:02:02 -05:00
Lance Edgar 44112a3a4b Allow null for FalafelDateTime form fields 2023-10-09 15:50:41 -05:00
Lance Edgar 9efe767654 Add smarts to show display text for some version diff fields
e.g. show `str(customer)` along with `customer_uuid` since almost
nobody will "care" about the uuid so much, they just want the name
2023-10-09 00:19:29 -05:00
Lance Edgar edb5393cdc Add front-end support for multi-column grid sorting
user must ctrl-click column header to engage multi-sort
2023-10-08 16:38:24 -05:00
Lance Edgar 6d7754cf2a Add back-end support for multi-column grid sorting
or very nearly, anyway.  front-end still just supports 1 column yet
2023-10-08 14:29:01 -05:00