Commit graph

2912 commits

Author SHA1 Message Date
Lance Edgar 7630f504b0 Add initial VersionMasterView
for those times when you just need to expose a version table directly
2021-11-09 17:20:53 -06:00
Lance Edgar e7871380a9 Add "true margin" to products XLSX export 2021-11-09 15:49:42 -06:00
Lance Edgar 85166d5beb Update changelog 2021-11-09 11:51:21 -06:00
Lance Edgar 90cc8e5370 Fix dynamic content title for "view profile" page 2021-11-08 20:17:07 -06:00
Lance Edgar a12318246f Update changelog 2021-11-08 18:33:19 -06:00
Lance Edgar eb28fc2e3c Fall back to empty string for product regular price
i think this avoids a bug when a product has no regular price but does
have a current price
2021-11-08 13:15:10 -06:00
Lance Edgar fec7c3b3ee Cleanup grid columns for receiving batches 2021-11-07 18:10:28 -06:00
Lance Edgar 23d38604c4 Let handler restrict available invoice parser options 2021-11-07 17:10:33 -06:00
Lance Edgar 67c1adcc75 Tweak how we fetch invoice parser
per changes in rattail
2021-11-07 14:12:06 -06:00
Lance Edgar 3990854d42 Fix product URL for a new custorder scenario 2021-11-06 20:31:55 -05:00
Lance Edgar 5d875bc731 Let user "add past product" when making new custorder 2021-11-06 20:00:54 -05:00
Lance Edgar ddb05afe6b Auto-select Quantity tab when editing item for new custorder
also be a little smarter on error when user selects an item
2021-11-06 17:56:35 -05:00
Lance Edgar 43bbc2a29e Show some more product attributes in custorder item selection popup 2021-11-06 17:37:05 -05:00
Lance Edgar 7a5ba0503a Use products handler to get image URL 2021-11-06 17:36:19 -05:00
Lance Edgar 28e9085249 Update changelog 2021-11-05 18:45:45 -05:00
Lance Edgar 5ff57ae7d2 Add link to download generic template for vendor catalog batch
also let config restrict which parsers are "supported"

and auto-choose parser if there is only one
2021-11-05 18:40:46 -05:00
Lance Edgar df8778f85d Add render_brand() method for MasterView 2021-11-05 15:11:30 -05:00
Lance Edgar 2be1d12116 Make separate method for writing results XLSX file
so subclass can customize
2021-11-05 15:11:07 -05:00
Lance Edgar eb76d868ca Update changelog 2021-11-04 21:25:32 -05:00
Lance Edgar b34d88d704 Avoid exposing batch params when creating a batch
not sure how this never came up until now..?
2021-11-04 21:20:42 -05:00
Lance Edgar 0758ca09e6 Show unit price in line items grid for new custorder
maybe should change this to show "base price" (unit *or* case
depending on the row uom) ?
2021-11-03 20:54:46 -05:00
Lance Edgar 1bdb845032 Honor the "product price may be questionable" flag for new custorder
i.e. don't expose the per-item flag unless *that* flag is set
2021-11-03 20:20:22 -05: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 b0fa559760 Fix product view page when user cannot view version history 2021-11-03 18:30:16 -05:00
Lance Edgar 8a378317c0 Try to prevent caching for any /index (grid) page
if this works, maybe also should do it for /view since that can have a
rows grid?
2021-11-03 18:15:13 -05:00
Lance Edgar a6b7056f2a Update changelog 2021-11-03 16:49:04 -05:00
Lance Edgar 9fef4c2601 Fix the Department filter for Products grid, for jquery themes
ugh jquery
2021-11-03 16:47:55 -05:00
Lance Edgar 209b4b4de3 Update changelog 2021-11-02 11:15:44 -05:00
Lance Edgar 7651efff9d Highlight "cannot calculate price" rows for new product batch 2021-10-31 11:56:46 -05:00
Lance Edgar 7b5e2d17f3 Omit "edit" link unless user has perm, for Customer "people" subgrid 2021-10-28 19:00:56 -05:00
Lance Edgar 4dfc29768c Improve validation for Person field of User form
otherwise if user enters e.g. "John Doe" but does *not* select an
autocomplete result, then "John Doe" will be submitted as-is to the
server, which then tried to write that directly to
``users.person_uuid`` column in the DB, resulting in error
2021-10-28 18:55:28 -05:00
Lance Edgar 2d87ce5c29 Highlight the "did not receive" rows for purchase batch
also add some row grid links
2021-10-22 21:53:46 -05:00
Lance Edgar 2d0a922cff Show case qty by default for costing batch rows 2021-10-22 21:24:08 -05:00
Lance Edgar a553a26644 Optionally set the sticky-header attribute for main buefy grids
should affect the 'index' and 'view' (with rows) but i don't think any
other pages will get this..?
2021-10-22 21:04:39 -05:00
Lance Edgar 4a383709bd Update changelog 2021-10-20 16:15:19 -05:00
Lance Edgar 8d16a5f110 Clean up the product selection UI for new custorder
still needs some work but this is much better, more like the customer
selection now w/ "multi-faceted" autocomplete
2021-10-20 07:26:05 -05:00
Lance Edgar 8b044dbb22 Add basic "price needs confirmation" support for custorder 2021-10-18 18:28:28 -05:00
Lance Edgar 93b752f436 Invoke handler when adding new item to custorder batch 2021-10-17 18:07:57 -04:00
Lance Edgar 87374d5647 Fix auth handler reference bug 2021-10-17 17:29:26 -04:00
Lance Edgar ab33b49218 Improve "refresh contact", show new fields in green for custorder
only showing new "customer" fields in green so far
2021-10-17 17:28:28 -04: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 232a02b944 Refactor to leverage all existing methods of auth handler
instead of importing and calling functions from core rattail
2021-10-14 23:30:26 -04:00
Lance Edgar 53fc1508f3 Give custorder batch handler a couple ways to affect adding new items 2021-10-14 17:49:12 -04:00
Lance Edgar 1b33c8a2b7 Update changelog 2021-10-14 14:22:07 -04:00
Lance Edgar dd6c9cc8ce Misc. tweaks for users, roles 2021-10-14 14:18:36 -04:00
Lance Edgar d61fa7b6b9 Update changelog 2021-10-14 12:12:10 -04:00
Lance Edgar 22aa55c24b Invoke the auth handler to cache user permissions etc.
various changes for sake of "synced" roles feature
2021-10-14 10:39:54 -04:00
Lance Edgar 80589cde2f Cleanup form display a bit, for App Settings 2021-10-13 17:29:41 -04:00
Lance Edgar 1463c09385 Update changelog 2021-10-13 12:19:49 -04:00
Lance Edgar e3cad91be0 Leverage the auth handler for main user login 2021-10-12 18:22:04 -04:00