Commit graph

3575 commits

Author SHA1 Message Date
Lance Edgar 03dad82663 Add basic support for receiving from PO with invoice 2021-11-25 16:50:13 -06:00
Lance Edgar e8828efae3 Update changelog 2021-11-17 15:12:54 -06:00
Lance Edgar b8f1b7bd84 Show ordered quantity when viewing costing batch row 2021-11-17 14:57:10 -06:00
Lance Edgar 0fa888efaf Fix bug when product has empty suggested price 2021-11-16 17:23:56 -06:00
Lance Edgar f385aab44a Update changelog 2021-11-14 13:27:13 -06:00
Lance Edgar a7b91b5b31 Expose the "sync users" flag for Roles 2021-11-13 15:05:45 -06:00
Lance Edgar 901dacf038 Update changelog 2021-11-11 18:38:44 -06:00
Lance Edgar 426ba0ea34 Fix "download results" support for Products
it is not enabled by default, but still should work when it is
2021-11-11 17:42:59 -06:00
Lance Edgar 3a10a4bcb7 Improve error handling when executing a custorder batch 2021-11-11 13:37:10 -06:00
Lance Edgar 6e15d59a84 Update changelog 2021-11-11 12:31:42 -06:00
Lance Edgar f1fd003dca Add permission for viewing "all" employees
previously we showed all if user had "edit" perm
2021-11-11 12:30:00 -06:00
Lance Edgar 1ceb1e4434 Update changelog 2021-11-11 12:11:24 -06:00
Lance Edgar 5f9d311cdb Add views for PendingProduct model; also DepartmentWidget 2021-11-10 12:39:51 -06:00
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