Commit graph

3385 commits

Author SHA1 Message Date
Lance Edgar 128657810b Add PoserMasterView, rename route for poser_reports
must use e.g. `poser_reports` and `poser_views` for the "meta" stuff,
i.e. maintenance of actual poser things, b/c it will be possible to
define poser views, and those routes should be `poser.*` probably..
2022-03-05 09:10:05 -06:00
Lance Edgar f5d24133f7 Make common web view a bit more common
i.e. avoid the need to subclass it in derived projects
2022-03-04 17:44:34 -06:00
Lance Edgar a28a801a62 Update some more view config syntax
some common ones used by a particular app..
2022-03-04 12:32:28 -06:00
Lance Edgar 738d5d94e0 Always include app_title in global template rendering context 2022-03-03 19:14:21 -06:00
Lance Edgar 3fae9e6270 Show link back to Poser Report when viewing Generated Report
i.e. where applicable / possible.  also allow bulk-delete of generated
reports, and show name filter by default for that grid
2022-03-03 18:47:26 -06:00
Lance Edgar 691a5e84f9 Show list of generated reports when viewing Poser Report 2022-03-03 18:36:35 -06:00
Lance Edgar 18625efa87 Update changelog 2022-03-02 21:33:21 -06:00
Lance Edgar d99f2541df Add dedicated perm for replacing poser report module 2022-03-02 18:52:28 -06:00
Lance Edgar 72177aef0a Add basic support for Poser reports, list/create 2022-03-02 17:21:38 -06:00
Lance Edgar a3195267c9 Show toast msg instead of alert after sending feedback 2022-03-01 19:51:30 -06:00
Lance Edgar 8104657ae9 Update changelog 2022-03-01 16:14:18 -06:00
Lance Edgar 78fb38e072 Tweak styles for links in object helper panel 2022-03-01 15:18:47 -06:00
Lance Edgar 206d51f59b Params should be readonly when editing batch 2022-03-01 15:03:48 -06:00
Lance Edgar 2e0bc63e20 Update changelog 2022-03-01 13:31:50 -06:00
Lance Edgar 031d97aea3 Avoid making discounts data if missing field, for trainwreck item view 2022-03-01 13:01:59 -06:00
Lance Edgar 59a9d2cf86 Pass query along for download results, so subclass can modify 2022-03-01 12:17:06 -06:00
Lance Edgar ee961edf94 Fix stdout/stderr fields for upgrade view
whoops..missed that one
2022-02-28 22:16:52 -06:00
Lance Edgar 7b485d5ad2 Remove some duplicated code
in fact it wasn't exactly duplicate..it had a bug which the shared
function code does not have
2022-02-28 12:05:16 -06:00
Lance Edgar ec2600ddf7 Add simple searchable column support for non-AJAX grids
idk maybe even AJAX grids can use?  not gonna try at the moment
2022-02-26 21:00:05 -06:00
Lance Edgar 63fef16c37 Update changelog 2022-02-26 20:09:30 -06:00
Lance Edgar 74fecf553e Add page/way to configure main menus
just the basics so far, index page routes and separators should be
supported but nothing else.  also "menus from config" is all or
nothing, no way to mix config + code at this point
2022-02-26 17:22:54 -06:00
Lance Edgar 587a4daf7a Update changelog 2022-02-25 14:30:02 -06:00
Lance Edgar 2290d9f990 Expose "discount type" for Trainwrewck line items 2022-02-24 10:39:11 -06:00
Lance Edgar 3553f23eab Use dict instead of custom object to represent menus
as prep for editing menu config directly in app
2022-02-23 00:26:14 -06:00
Lance Edgar 0c5992ad75 Add grid hyperlinks for trainwreck transaction line items 2022-02-22 20:39:06 -06:00
Lance Edgar 8ae1b87a1e Auto-filter hyperlinks for PO vs. invoice breakdown in Receiving 2022-02-20 19:52:24 -06:00
Lance Edgar 4d404cb20b Add auto-filter hyperlinks for batch row status breakdown 2022-02-20 19:40:32 -06:00
Lance Edgar 5b697cdf26 Add view template stub for trainwreck transaction 2022-02-20 17:06:51 -06:00
Lance Edgar ceceb3f030 Update changelog 2022-02-20 15:25:17 -06:00
Lance Edgar 66fd2ff5e6 Show SRP as currency for vendor catalog batch 2022-02-19 21:00:54 -06:00
Lance Edgar 7f06b3e53b Expose per-item discounts for Trainwreck 2022-02-19 17:31:14 -06:00
Lance Edgar e990be3570 Expose some new trainwreck fields 2022-02-19 14:39:40 -06:00
Lance Edgar 57e22c9ff5 Only show DB picker for permissioned users 2022-02-18 15:39:12 -06:00
Lance Edgar b6bd095d8e Update changelog 2022-02-16 16:33:49 -06:00
Lance Edgar 778578292f Fix progress bar when running problem report 2022-02-16 16:16:40 -06:00
Lance Edgar 8744ee74b3 Update changelog 2022-02-15 17:34:28 -06:00
Lance Edgar 47bfcc23cb Add FormPosterMixin to WholePage class 2022-02-15 10:15:08 -06:00
Lance Edgar 962d31c4c2 Add initial support for editing user preferences
by default this exposes just one setting which has only one possible
value, so not very useful.  but can override as needed
2022-02-14 20:30:15 -06:00
Lance Edgar 6093be43c9 Allow override of navbar-end element in falafel theme header 2022-02-13 21:51:42 -06:00
Lance Edgar 753daa55e8 Update changelog 2022-02-13 21:41:47 -06:00
Lance Edgar 09227fa30a New upgrades should be enabled by default 2022-02-13 16:27:24 -06:00
Lance Edgar 4e3aa1af83 Tweak how "duration" fields are rendered for grids, forms 2022-02-12 19:16:16 -06:00
Lance Edgar a6d97538af Use new-style config defaults for customer views 2022-02-11 19:15:39 -06:00
Lance Edgar 85ef73dcb9 Tell browser not to cache certain pages, by default
main grid/index pages, and any view page which contains a row grid
2022-02-11 16:55:25 -06:00
Lance Edgar 0ead06106c Add config for showing ordered vs. shipped amounts when receiving 2022-02-11 16:48:46 -06:00
Lance Edgar 86a42064ea Cleanup labels for Vendor/Code "preferred" vs. "any" in products grid 2022-02-11 15:35:12 -06:00
Lance Edgar 9584fb57b0 Only prevent cache for index pages if so configured
there is a performance hit for this, depending on your perspective, so
let's make it opt-in only for now
2022-02-10 20:31:03 -06:00
Lance Edgar e852613567 Add highlight for non-active customers in grid 2022-02-10 11:16:39 -06:00
Lance Edgar 065ad9e422 Add highlight for non-active users in grid 2022-02-10 10:55:41 -06:00
Lance Edgar f1c2fd399e Try out new config defaults function for user views
pretty sure this is a good idea but we'll see
2022-02-09 18:02:09 -06:00