Commit graph

1712 commits

Author SHA1 Message Date
Lance Edgar
ed55fbca9e Log a warning if can't get supervisor process info 2022-08-17 18:44:10 -05:00
Lance Edgar
2375733d0f Add first experiment with websockets, for datasync status page 2022-08-17 18:24:55 -05:00
Lance Edgar
065f845707 Add proper status page for datasync
or rather, it's a good start..  plenty more could be added
2022-08-15 21:06:19 -05:00
Lance Edgar
839c4e0c28 Add get_next_url_after_submit_new_order() for customer orders
after new custorder batch is executed, where do we send user?
2022-08-14 17:33:12 -05:00
Lance Edgar
a20eb468df Redirect to custom index URL when user cancels new custorder entry 2022-08-14 15:53:43 -05:00
Lance Edgar
f2c73acd3b Refactor usage of get_vendor() lookup 2022-08-13 23:59:09 -05:00
Lance Edgar
2f5de67ee7 Move handheld batch view module to appropriate location 2022-08-13 23:23:30 -05:00
Lance Edgar
db3ea2e34a Fix default help URLs for ordering, receiving 2022-08-13 23:12:39 -05:00
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
51aeb50d39 Allow download results for Customers grid 2022-08-10 18:55:59 -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
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
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
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
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
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
8776cd19dd Clean up URL routes for row CRUD 2022-08-05 12:09:32 -05:00
Lance Edgar
cd9004b32b Invalidate config cache when raw setting is deleted 2022-08-04 08:14:04 -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
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
ad7b347e16 Add "auto-receive all items" support for receiving batch API 2022-07-24 22:29:55 -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
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
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
7e0e881017 Fix form validation for app settings page w/ buefy theme 2022-07-01 12:00:06 -05:00
Lance Edgar
a289216eac Add autocomplete support for subdepartments 2022-06-14 17:52:59 -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
Lance Edgar
cff4942769 Allow restricting to supported vendors only, for Receiving 2022-05-15 16:45:31 -05:00
Lance Edgar
e3b1be5835 Expose config for identifying supported vendors
unfortunately must identify vendors at each app node separately, but
this is definitely still an improvement..
2022-05-15 16:04:22 -05:00
Lance Edgar
18c3c57930 Sort roles list when viewing a user 2022-05-03 14:13:47 -05:00
Lance Edgar
a49aa77ec0 Tweak how family data is displayed 2022-05-03 13:36:14 -05:00
Lance Edgar
10a801aa10 Flush early when populating batch, to ensure error is shown 2022-04-13 16:42:47 -05:00
Lance Edgar
aa37fc3add Tweak where description field is shown for receiving batch 2022-04-03 14:42:40 -05:00
Lance Edgar
1bb41b21af Honor case vs. unit restrictions for new custorder
and expose them in config view
2022-03-29 18:19:14 -05:00