Commit graph

2385 commits

Author SHA1 Message Date
Lance Edgar 4a175c76f9 Add proper support for composite primary key, in MasterView
at least hopefully this is complete, and didn't break anything else...
2019-07-29 19:27:23 -05:00
Lance Edgar 4d3ff6ed20 Update changelog 2019-07-25 16:53:07 -05:00
Lance Edgar 6e1f925944 Cleanup 'phone' filter/sort logic for Employees grid
per newer conventions etc.  needed to override some of this for a client
2019-07-25 16:05:10 -05:00
Lance Edgar e756ae3c8f Add "multi-engine" support for Trainwreck transaction views 2019-07-25 15:40:38 -05:00
Lance Edgar b07365b487 Add perm for editing employee history from profile view 2019-07-23 13:12:36 -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 ad3b660bc0 Update changelog 2019-07-13 19:27:05 -05:00
Lance Edgar dd773d4e5e Send URL for viewing employee, along to profile page template 2019-07-11 15:17:25 -05:00
Lance Edgar 61df7745c6 Use latest version of Buefy by default, for falafel theme 2019-07-11 15:17:04 -05:00
Lance Edgar aeaef04fac Add convenience method for gathering employee history context data
so we can reuse that for returning JSON from various views
2019-07-11 14:01:22 -05:00
Lance Edgar 8c2287a1e8 Add custom permissions for People "profile" view
this whole thing needs some polishing yet...
2019-07-11 14:01:00 -05:00
Lance Edgar fa825da404 Include employee history data in context for "view profile" 2019-07-10 22:58:05 -05:00
Lance Edgar 839f6affe2 Add basic "DB picker" support, for views which allow multiple engines
i.e. whichever engine is "current" will determine where data comes from
2019-07-09 22:14:12 -05:00
Lance Edgar 0d7492f6be Update changelog 2019-07-09 15:18:31 -05:00
Lance Edgar c09437880f Add support for general "view click handler" for <b-table> element
plus some other tweaks for sake of revision history in profile view
2019-07-09 14:56:33 -05:00
Lance Edgar 069ccab0ae Clear feedback message after sending
that way user can open dialog again, and things not be weird
2019-07-05 19:54:57 -05:00
Lance Edgar b8274d92db Refactor feedback dialog for Buefy themes
for more proper Vue.js component usage pattern
2019-07-05 19:50:16 -05:00
Lance Edgar 4499a872d8 Remove unwanted "export has file" logic for ExportMasterView
this mostly did what "downloadable" already did, plus some other stuff which it
probably shouldn't have been doing anyway
2019-07-05 18:17:53 -05:00
Lance Edgar 94d7e01bd5 Add download_path() method for ExportMasterView
default behavior isn't very smart, subclass should override as needed
2019-07-05 18:00:58 -05:00
Lance Edgar 993ce9289d Add basic "downloadable" support for ExportMasterView
instead of it trying to do its own thing for that...  more to come on this
2019-07-05 16:48:29 -05:00
Lance Edgar c8d6361c36 When creating an export, set creator to current user
many exports won't support creation via web app, but some will
2019-07-05 16:47:51 -05:00
Lance Edgar 8c610e2142 Add render_customer() method for MasterView
surely will be commonly useful?
2019-07-05 16:44:46 -05:00
Lance Edgar bb0e2fb9e9 Add way to hide "view profile" helper for customer view 2019-07-03 12:35:14 -05:00
Lance Edgar e9e4d65c78 Update changelog 2019-07-01 15:18:06 -05:00
Lance Edgar ddc8bd2028 Fix product view template per Buefy refactoring 2019-07-01 14:08:42 -05:00
Lance Edgar bf9fff6065 Update changelog 2019-07-01 13:23:27 -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 d087071fc9 Update changelog 2019-07-01 12:27:38 -05:00
Lance Edgar a4d6c6694a Make sure grid action links preserve white-space
i.e. don't wrap between link icon and text!
2019-07-01 11:46:52 -05:00
Lance Edgar ff3ee351d1 Add 'duration_hours' type for grid column display 2019-07-01 11:46:21 -05:00
Lance Edgar b14e8daa1a Expose a way to embed "raw" data values within Buefy grid data
for sake of custom front-end stuff
2019-06-28 15:47:52 -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 2abe589ef6 Allow "touch" for customer records 2019-06-27 19:50:24 -05:00
Lance Edgar f81e4fac79 Update changelog 2019-06-25 20:49:56 -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 43a210cac4 Fix "edit row" icon for batch row grids, for Buefy themes 2019-06-21 15:47:30 -05:00
Lance Edgar 355a49e463 Fix PO total calculation bug for mobile ordering
also fix currency formatting for PO calculated total
2019-06-21 15:18:41 -05:00
Lance Edgar 975aa0a3cc Only expose "Make User" button when viewing a person
i.e. don't expose when editing the person
2019-06-18 16:54:05 -05:00
Lance Edgar a99b8c6aaf Update changelog 2019-06-18 16:49:55 -05:00
Lance Edgar 8a968a1f89 Fix inheritance issue with "view row" master template 2019-06-18 16:48:55 -05:00
Lance Edgar c7eeaffec9 Update changelog 2019-06-18 16:25:37 -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 4cadeb8e5d Fix click behavior for all/diffs package links in upgrade view 2019-06-16 16:27:45 -05:00
Lance Edgar 76a19ebe5b Pull the grid tools to the right, for Buefy 2019-06-16 16:23:01 -05:00
Lance Edgar b5613ec6dc Only include execute form if applicable, for batch grid view 2019-06-16 16:22:48 -05:00
Lance Edgar 26137ec81e Add Buefy support for "execute results" from core batch grid view 2019-06-16 15:50:40 -05:00
Lance Edgar 0e67c62c86 Add generic /page.mako template
helps with getting a proper Vue.js app going for arbitrary extra pages
2019-06-16 14:43:29 -05:00
Lance Edgar 90bf4edf0d Update changelog 2019-06-16 13:29:35 -05:00
Lance Edgar d51fe8483a Buefy support for "mark batch as (in)complete" 2019-06-15 20:47:45 -05:00
Lance Edgar 3ddde1a1ca Use locale formatting for some numbers in the Buefy grid 2019-06-15 19:50:25 -05:00