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
Lance Edgar
4e25e87bfb
Log error when failing to submit new custorder batch
2022-03-29 17:43:42 -05:00
Lance Edgar
80b9593651
Add template kwargs stub for view_row()
2022-03-29 17:30:37 -05:00
Lance Edgar
edef084121
Raise 404 if report not found
2022-03-29 17:19:23 -05:00
Lance Edgar
fc32542f55
Add touch for report codes
2022-03-29 17:19:14 -05:00
Lance Edgar
700b5f0b91
Let errors raise when showing poser reports
2022-03-29 11:39:32 -05:00
Lance Edgar
b4d5d70e4c
Force session flush within try/catch, for batch refresh
2022-03-26 15:29:28 -05:00
Lance Edgar
f0b6b62791
Use common logic for fetching batch handler
2022-03-25 13:49:39 -05:00
Lance Edgar
ae1e9dba0f
Improve vendor validation for new receiving batch
2022-03-25 12:33:37 -05:00
Lance Edgar
ab3a66542d
Show link to txn as field when viewing trainwreck item
2022-03-17 21:19:05 -05:00
Lance Edgar
fc5b931007
Expose custorder xref markers for trainwreck
2022-03-17 16:59:50 -05:00
Lance Edgar
71d8d5a70d
Make problem report titles searchable in grid
...
at least if buefy version is new enough
2022-03-16 21:27:59 -05:00
Lance Edgar
0904cda2c6
Always show batch params by default when viewing
2022-03-15 22:53:24 -05:00
Lance Edgar
da910b1414
Add default help link for Receiving feature
...
also stop showing "buyer" filter by default
2022-03-11 20:55:01 -06:00