Commit graph

1849 commits

Author SHA1 Message Date
Lance Edgar
282185c5af Add basic import/export handler views, tool to run jobs 2021-12-05 17:23:11 -06:00
Lance Edgar
760fbc57bc Expose the Sale Price and TPR Price for product views
in addition to Current Price
2021-12-02 14:40:51 -06:00
Lance Edgar
4229798c7b Add button to remove all datasync settings from DB
seems useful for someone testing, as prep to make the switch
2021-11-29 19:28:07 -06:00
Lance Edgar
8aff5d519d Add page for configuring datasync
experimental! until proven worthy..
2021-11-29 17:23:01 -06:00
Lance Edgar
b9037111a4 Don't use multi-select for new report in buefy themes
also let app handler fetch the report handler
2021-11-25 18:56:28 -06:00
Lance Edgar
03dad82663 Add basic support for receiving from PO with invoice 2021-11-25 16:50:13 -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
a7b91b5b31 Expose the "sync users" flag for Roles 2021-11-13 15:05:45 -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
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
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
90cc8e5370 Fix dynamic content title for "view profile" page 2021-11-08 20:17:07 -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
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
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
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
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
9fef4c2601 Fix the Department filter for Products grid, for jquery themes
ugh jquery
2021-11-03 16:47:55 -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
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
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
dd6c9cc8ce Misc. tweaks for users, roles 2021-10-14 14:18:36 -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
e3cad91be0 Leverage the auth handler for main user login 2021-10-12 18:22:04 -04:00
Lance Edgar
66bc775e14 Improve display, handling for "add contact info to customer record"
for new custorders page.  in particular, show this flag in main screen
2021-10-10 20:43:27 -04:00
Lance Edgar
3e796e9164 Fix bug when making context for mailing address
sometimes those belong to a non-person, e.g. customer
2021-10-10 20:24:26 -04:00