Commit graph

3344 commits

Author SHA1 Message Date
Lance Edgar d6aeb1d10f Add convenience wrapper to make customer field widget, etc.
customer widget is either autocomplete or dropdown, per config

also added a way to pass arbitrary kwargs to the chameleon template
rendering for a field

also moved the logic for rendering a <b-field> out of the template and
into the Form class

also start to prefer `input_handler` over `input_callback` when
specifying client-side JS hook
2022-08-09 14:37:29 -05:00
Lance Edgar 5334cf1871 Update changelog 2022-08-08 18:13:34 -05:00
Lance Edgar a999b996fb Add separate product grid filters for Category Code, Category Name
this also fixes a join bug in some edge cases
2022-08-08 14:39:26 -05:00
Lance Edgar 903afc111e Update changelog 2022-08-08 09:42:54 -05:00
Lance Edgar 3413d7c6f6 Expose setting for sendmail failure alerts 2022-08-07 18:45:45 -05:00
Lance Edgar fe4c3d4942 Make sure "configure" pages use AppHandler to save/delete settings
so that beaker config cache is invalidated, if in use
2022-08-07 18:23:15 -05:00
Lance Edgar 6352a6dc9a Add button to raise bogus error, for testing email alerts 2022-08-07 12:58:49 -05:00
Lance Edgar 172dbba8aa Update changelog 2022-08-07 10:10:17 -05:00
Lance Edgar 1152fba067 Always show "all" email settings if user has config perm
also tweak view config, per newer convention
2022-08-06 22:57:10 -05:00
Lance Edgar d74025318e Update changelog 2022-08-06 20:48:34 -05:00
Lance Edgar dd2631d27c Only show "all" emails if config says to use the entry points
otherwise traditional behavior needs to be preserved as the default,
for now...
2022-08-06 19:18:49 -05:00
Lance Edgar d52a186e12 Add support for toggling visibility of email profile settings 2022-08-06 18:38:17 -05:00
Lance Edgar 7d3f2e6bdf Update changelog 2022-08-05 13:28:47 -05:00
Lance Edgar 8776cd19dd Clean up URL routes for row CRUD 2022-08-05 12:09:32 -05:00
Lance Edgar 9c31e92c01 Update changelog 2022-08-04 09:08:56 -05:00
Lance Edgar cd9004b32b Invalidate config cache when raw setting is deleted 2022-08-04 08:14:04 -05:00
Lance Edgar ba8faacbd0 Update changelog 2022-08-03 16:58:06 -05:00
Lance Edgar 927470db72 Force cache invalidation when Raw Setting is edited
only applies if caching is actually in use
2022-08-03 15:15:49 -05:00
Lance Edgar 4ff0450632 Stop using the old rattail.db.api.settings module 2022-08-03 14:50:45 -05:00
Lance Edgar 862198cf82 Improve "touch" logic for employees
also use app handler for default touch logic
2022-08-03 11:13:43 -05:00
Lance Edgar 3726a2685a Update changelog 2022-07-27 10:21:08 -05:00
Lance Edgar 17810d9cae Misc. improvements for desktop receiving views
- don't expose "cases" if config says not to
- don't expose "expired" if config says not to
- use `numeric-input` for quantity fields
- add `product_key_field` to global-ish template context
2022-07-26 16:30:04 -05:00
Lance Edgar 92a52133de Add some more views to potentially include via poser 2022-07-26 14:25:20 -05:00
Lance Edgar 9589606fb5 Update changelog 2022-07-25 11:42:46 -05:00
Lance Edgar ad7b347e16 Add "auto-receive all items" support for receiving batch API 2022-07-24 22:29:55 -05:00
Lance Edgar f33d7b7f90 Add iter(Form) logic, to loop through fields 2022-07-24 21:11:36 -05:00
Lance Edgar 36d4f0a5f7 Add basic edit support for Purchases 2022-07-24 21:10:52 -05:00
Lance Edgar 0dc344b821 Assume default vendor for new receiving batch
i.e. if there is only one vendor
2022-07-24 15:05:51 -05:00
Lance Edgar 25f39f4173 Add basic/minimal merge support for customers 2022-07-24 13:21:47 -05:00
Lance Edgar e656f769b1 Allow optional row grid title for master view 2022-07-23 22:18:17 -05:00
Lance Edgar 28238c6fb5 Add setting to expose/hide "active in POS" customer flag 2022-07-23 22:09:47 -05:00
Lance Edgar e77ca93d80 Update changelog 2022-07-22 12:41:54 -05:00
Lance Edgar da3aaafbcd Misc deform template improvements
for sake of a custom form
2022-07-20 21:36:52 -05:00
Lance Edgar 10628eeb91 Add template_kwargs_clone() stub for master view 2022-07-20 11:01:22 -05:00
Lance Edgar 20aa6a3fbb Expose the complete flag for pricing batch
also update view config defaults per new convention
2022-07-19 16:36:21 -05:00
Lance Edgar e9edf205d9 Make caching products optional, when creating vendor catalog batch 2022-07-19 15:50:57 -05:00
Lance Edgar 6397a93f97 Allow download of results for common product-related tables 2022-07-19 14:52:31 -05:00
Lance Edgar 9c5f3a3b64 Split out rendering of this-page component in falafel theme
it's possible a template may need to override that
2022-07-19 11:45:52 -05:00
Lance Edgar 5e0253927c Update changelog 2022-07-18 12:41:27 -05:00
Lance Edgar d16290cb70 Add new-style config defaults for BrandView 2022-07-18 12:31:54 -05:00
Lance Edgar c6df827311 Add basic "download results" for Subdepartments grid 2022-07-08 12:57:57 -05:00
Lance Edgar 496e03a3ec Honor default pagesize for all grids, per setting 2022-07-01 12:00:17 -05:00
Lance Edgar 7e0e881017 Fix form validation for app settings page w/ buefy theme 2022-07-01 12:00:06 -05:00
Lance Edgar 11cda10ca5 Update changelog 2022-06-24 14:20:17 -05:00
Lance Edgar a289216eac Add autocomplete support for subdepartments 2022-06-14 17:52:59 -05:00
Lance Edgar c79ecab719 Add minimal buefy support for 'percentinput' field widget
this isn't complete but seems to work well enough so far..
2022-06-14 17:40:06 -05:00
Lance Edgar 4fb226ad98 Update changelog 2022-06-14 14:03:42 -05:00
Lance Edgar a28d9b9748 Use build module instead of invoking setup.py for release 2022-06-14 14:03:10 -05:00
Lance Edgar 6b466bb90f Add start date support for "future" pricing batch 2022-06-14 13:51:00 -05:00
Lance Edgar cb6499522e Let default grid page size correspond to first option 2022-06-14 11:25:29 -05:00