Commit graph

133 commits

Author SHA1 Message Date
Lance Edgar
deed2111fb Add "between" verb for numeric grid filters 2022-11-15 16:29:15 -06: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
072f5da69d Add "full lookup" product search modal for new custorder page 2022-02-08 12:21:24 -06:00
Lance Edgar
b261e8bb9b Add some autocomplete workarounds for new vendor catalog batch
when user selects a parser, it may auto-select the vendor, but keeping
that all in sync is complicated.  this seems to be an improvement but
it could likely use more..
2022-02-05 21:41:05 -06:00
Lance Edgar
88b3279e63 Several disparate changes needed for vendor catalog improvements
- invoke vendor handler where appropriate, e.g. for parsers
- reverse "polarity" of dropdown chooser setting; rename it
- tweak autocomplete behavior yet again, for dynamic values
- auto-select vendor upon parser selection, when possible
2022-01-07 19:27:10 -06:00
Lance Edgar
4d33e3dcbe Move some custorder logic to handler; allow force-swap of product selection 2021-11-03 19:19:20 -05:00
Lance Edgar
52fbe73893 Overhaul the autocomplete component, for sake of new custorder
turns out we had some issues with our understanding of how that all
was supposed to work.  this seems to be much cleaner and even
semi-documented :)
2021-10-16 15:37:23 -04:00
Lance Edgar
aeace0c7cf Add debounce() wrapper for buefy autocomplete
per docs, although was not very clear "which" debounce i needed, this
one at least works without errors..

hoping this fixes some page performance issues when tailbone
autocomplete component is present
2021-10-12 14:17:10 -04:00
Lance Edgar
3b6b1aa5b6 Invoke handler for customer autocomplete when making new custorder 2021-09-24 18:28:39 -04:00
Lance Edgar
57cb787b30 Add placeholder to customer lookup for new order
also hide phone field unless customer is identified
2021-09-24 17:28:14 -04:00
Lance Edgar
89f0336af9 Add special "contains any of" verb for string-based grid filters 2021-02-12 13:57:54 -06:00
Lance Edgar
329e75ee82 Add initial "scanning" feature for Ordering Batches 2021-01-31 21:51:46 -06:00
Lance Edgar
708641a8f1 Purge things for legacy (jquery) mobile, and unused template themes
gosh it feels good to get rid of this stuff...  fingers crossed that nothing
was broken, but am thinking it's safe
2021-01-30 15:52:47 -06:00
Lance Edgar
480d878db8 Initial support for adding items to, executing customer order batch 2021-01-26 20:10:05 -06:00
Lance Edgar
58362ae858 Add buefy theme support for ordering worksheet 2020-08-20 17:56:19 -05:00
Lance Edgar
c32f47ba95 Tweak the buefy autocomplete component a bit
to better support staying in sync w/ data on the caller/parent side
2020-08-02 19:13:40 -05:00
Lance Edgar
a8a79ee326 Let each grid component have a custom name, if needed 2020-05-20 19:19:06 -05:00
Lance Edgar
4c5b01f287 Move "delete results" logic for master grid
should be easier to customize this way..?  previous way seemed to be broken
2020-01-06 07:46:10 -06:00
Lance Edgar
86695c9dc7 Refactor "send new message" form, esp. recipients field, per Vue.js 2019-11-04 19:06:58 -06:00
Lance Edgar
bcfb4f257d Improve checkbox click handling support for grids
i.e. let custom use define click handlers
2019-10-31 18:03:17 -05:00
Lance Edgar
ebc22d845a Add Vue.js support for "enable / disable selected" grid feature 2019-10-31 13:28:00 -05:00
Lance Edgar
d97f95fb92 Add basic support for "between" verb, for date range grid filter
this seems to be complete, but we'll see in practice if i forgot something..
2019-08-29 17:23:32 -05:00
Lance Edgar
fd700e06f4 Let a grid have custom ajax data url
i.e. instead of assuming we should GET the current "partial" page, can use a
different URL altogether now
2019-08-23 19:28:36 -05:00
Lance Edgar
1bb0330ab5 Refactory Buefy templates to use WholePage and ThisPage components
plus add `GridFilter.set_choices()` method
2019-08-03 16:57:13 -05:00
Lance Edgar
f1b6f8a3e4 Add 'disabled' prop for buefy datepicker
also make sure we return `null` when input is empty
2019-07-23 13:12:07 -05:00
Lance Edgar
744347c269 Clear checked rows when refreshing async grid data
we don't want to accidentally "remember" checked rows which aren't currently
visible...  at least not yet / by default
2019-07-01 13:22:38 -05:00
Lance Edgar
3a53ffcc23 Add NumericInputWidget for use with Buefy themes
uses a Vue.js component for better logic encapsulation
2019-06-28 13:06:43 -05:00
Lance Edgar
a4b27115ac Refactor all Buefy form submit buttons, per Chrome behavior
ugh, what a pain.  and turns out i'd previously ran into this same issue for
jQuery, per commit e945ebe325
2019-06-25 20:32:49 -05:00
Lance Edgar
cc79fe76fd Refactor form/page component structure for Buefy/Vue.js
this also moves Execute Batch from the form buttons area, to object helper
2019-06-17 15:07:19 -05:00
Lance Edgar
3ddde1a1ca Use locale formatting for some numbers in the Buefy grid 2019-06-15 19:50:25 -05:00
Lance Edgar
f727c87b56 Add Buefy support for "delete w/ simple confirm" from index grid 2019-06-10 21:59:10 -05:00
Lance Edgar
e715794f04 Add Buefy support for "simple" delete confirmation 2019-06-08 21:02:32 -05:00
Lance Edgar
2b6d88105c Add support for Buefy autocomplete; several other form tweaks
at least the Edit User form should work now, for instance
2019-06-08 13:46:00 -05:00
Lance Edgar
5c28f10921 Improve props handling for <once-button> component
now we use computed properties for some of the underlying button props.  this
also adds a "click" event for the element; callers should be able to add
handler for that which happens *in addition to* the button disabling.  it's
assumed that's always safe or else caller wouldn't use `<once-button>`
2019-06-04 17:50:14 -05:00
Lance Edgar
d7c8b80da5 Fix Buefy "row grids" when viewing parent; add basic file upload support 2019-05-23 16:29:29 -05:00
Lance Edgar
5998941741 Refactor Buefy forms a bit more, to copy grid pattern
i.e. each page can modify the component dynamically before it's registered
2019-05-23 14:52:22 -05:00
Lance Edgar
5bd4f84389 Accept disabled prop for <once-button> component 2019-05-23 14:44:31 -05:00
Lance Edgar
dda790b5c4 Fix datepicker behavior for grid filters
apparently we *do* need to accept a 'value' prop for tailbone-datepicker, to
round out the v-model support
2019-05-23 13:57:44 -05:00
Lance Edgar
7b1947914e Make Buefy grids use proper Vue.js component structure
at least, better than before...this lets each page have the final say about the
app logic etc.
2019-05-23 12:10:11 -05:00
Lance Edgar
6c3722737d OMG so many Buefy things...and much to be done yet it seems
these changes are all with Buefy "forms" support in mind.  hopefully didn't
break any legacy/jquery stuff... and yeah, lots more left to do still for the
sake of Buefy forms
2019-05-22 15:31:23 -05:00
Lance Edgar
f4f435c682 Add <once-button> component for Buefy templates
i.e. just a button, which allows only one click and then auto-disables
2019-05-21 20:11:57 -05:00
Lance Edgar
d5d04b7dac Add support for Buefy datepicker in grid filters 2019-05-21 13:44:02 -05:00
Lance Edgar
3c8d16a368 Add custom tailbone-datepicker component for Buefy
for easier reuse, outside of main CRUD forms
2019-05-20 19:59:21 -05:00
Lance Edgar
a3ca6abb7a Add basic support for "quickie" search
a master view can "support" quickie search, which means it will setup a route
suitable for the quickie search form action.  and/or it can "expose" quickie
search which means it will actually show a quickie search form on its views
2019-05-06 18:34:42 -05:00
Lance Edgar
a0cd1f4cd0 Add "most of" Buefy support for grid filters
still a couple of details to wrap up yet, but this is most of it!
2019-04-15 18:36:14 -05:00
Lance Edgar
ef7466e0d5 Add mobile support for basic "feedback" dialog 2019-03-04 18:12:37 -06:00
Lance Edgar
145e7f5529 Allow vendor field to be dropdown, for mobile ordering/receiving
based on config.  useful for apps which have very few vendors
2019-02-19 21:11:49 -06:00
Lance Edgar
1fa56aa683 Add Bulma-style footer to bobcat theme
also refactor HTML element tree in general, for sake of bulma
2018-11-28 22:23:02 -06:00
Lance Edgar
2131ea65cb Add button for restarting filemon
although this button shows up only on the datasync page, for now..
2018-10-25 17:47:43 -05:00
Lance Edgar
56392ccdd0 Add "quick receive all" support for mobile receiving
i.e. quick receive button can now receive all/remainder of the ordered qty
2018-08-16 22:21:58 -05:00