Commit graph

3254 commits

Author SHA1 Message Date
Lance Edgar 409a49ba20 Standardize merge logic when a handler is defined for it
also adds basic merge support for products view
2022-08-12 14:27:26 -05:00
Lance Edgar 4c29a667cb Couple of API tweaks for work orders
made a change to sorting such that it assumes the primary model is
being sorted, if caller does not specify
2022-08-11 00:15:12 -05:00
Lance Edgar 8d70107b5d Update changelog 2022-08-10 18:58:18 -05:00
Lance Edgar 51aeb50d39 Allow download results for Customers grid 2022-08-10 18:55:59 -05:00
Lance Edgar 0e8f383c14 Fix sequence of events re: grid component creation
somehow if the master view template had rows, the Delete Results
button was not working.  not clear when that problem started?! but
this seemed to be the correct fix
2022-08-09 23:26:41 -05:00
Lance Edgar ca5e2c1ff9 Add initial views for work orders
at least a head start maybe
2022-08-09 22:57:26 -05:00
Lance Edgar a6d5b262f9 Log traceback output when batch action subprocess fails 2022-08-09 16:35:48 -05:00
Lance Edgar 5952df82ff Tweak flash msg, logging when batch population fails 2022-08-09 15:05:03 -05:00
Lance Edgar 8f1f8abf42 Fix HTML literal for hidden form field 2022-08-09 14:48:23 -05:00
Lance Edgar 3edbe96968 Some API tweaks to support a byjove app 2022-08-09 14:37:41 -05:00
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