Commit graph

3225 commits

Author SHA1 Message Date
Lance Edgar 79e71ec4ab Cache user permissions upon "new request" event
this avoids a ton of (often redundant) SQL queries when checking permissions
2018-10-17 12:50:02 -05:00
Lance Edgar 0ed3429cf7 Update changelog 2018-10-13 21:04:09 -05:00
Lance Edgar fd0760ed07 Add "hours as decimal" hover text for some HH:MM timesheet values
hoping this helps with random troubleshooting...
2018-10-12 19:05:14 -05:00
Lance Edgar 9e065541b9 Update changelog 2018-10-09 16:38:10 -05:00
Lance Edgar f36c1fbc3f Improve "length" (hours) column for Worked Shifts grid
web display shows "pretty" hours (e.g. 7:30) whereas the Excel export shows
"decimal" hours (7.50)
2018-10-09 16:19:55 -05:00
Lance Edgar 94ba18eaee Add basic Excel download support for raw worked shifts
also, tweak response per python3
2018-10-09 14:10:36 -05:00
Lance Edgar 362173ef10 Allow override of jquery source, for mobile base template 2018-10-06 21:04:21 -05:00
Lance Edgar 3f2c57c89f Allow override of jquery for base template 2018-10-06 20:51:04 -05:00
Lance Edgar e05a58bdee Add some helptext for various tempmon fields 2018-10-06 17:41:33 -05:00
Lance Edgar f17d7355e0 Auto-disable button when sending email preview 2018-10-05 19:58:58 -05:00
Lance Edgar 29e023096b Show tempmon readings when viewing client or probe
also make the probes list more helpful when viewing client
2018-10-05 19:29:26 -05:00
Lance Edgar 7650064b64 Fix bug when non-numeric entry given for mobile inventory "quick row" 2018-10-03 15:54:28 -05:00
Lance Edgar d50d3678ec Update changelog 2018-10-03 14:20:10 -05:00
Lance Edgar 848b727b11 Tweak how receiving rows are looked up when adding to the batch
i.e. locate the product first, and then try to find an existing row to match.
previously we looked for a row based on product key match only, and it could
cause new rows to be created for a product we already had in the batch (i.e. if
the product was located via some secondary lookup other than product key)
2018-09-29 14:24:03 -05:00
Lance Edgar 5e49c2709b Expose new disk_type field for tempmon client views 2018-09-28 19:15:33 -05:00
Lance Edgar 6c1d67c966 Expose notes field for tempmon client and probe views 2018-09-28 12:27:08 -05:00
Lance Edgar 66807a801b Add support for "archived" flag in Tempmon Client views 2018-09-28 12:22:43 -05:00
Lance Edgar c1f05bf014 Update changelog 2018-09-27 21:11:27 -05:00
Lance Edgar d458d699e6 Restrict (temporarily I hope) webhelpers2_grid to 0.1
until we can figure out what happened in their 0.9 release
2018-09-27 21:10:36 -05:00
Lance Edgar 6c309705a0 Update changelog 2018-09-26 17:02:11 -05:00
Lance Edgar 27d5a92fee Tweak purchasing / receiving UI a bit
rows with 'out of stock' status are yellow; improve some row filter labels
2018-09-25 19:12:19 -05:00
Lance Edgar 878486cdab Capture user input for mobile receiving, and move some lookup logic
i.e. most of the logic responsible for looking up an item from e.g. scanner
entry, now lives in the handler for easier customization
2018-09-25 17:50:16 -05:00
Lance Edgar ed5455089e Expose item_entry field for receiving batch row 2018-09-22 20:18:52 -05:00
Lance Edgar d7863c2572 Add speedbump by default when deleting any "row" record
also, allow deleting rows for truck dump child batch
2018-09-22 19:27:17 -05:00
Lance Edgar 4a610ba2e6 Misc. UI improvements for truck dump receiving on desktop
links back and forth between parent/child rows, a little help text etc.
2018-09-22 18:33:01 -05:00
Lance Edgar 255485296c Leverage alternate code also, for mobile product quick lookup 2018-09-21 19:58:08 -05:00
Lance Edgar 99688c1c77 Update changelog 2018-09-20 18:23:09 -05:00
Lance Edgar fb3105c099 Fix batch row status breakdown, for rows with no status 2018-09-20 18:22:36 -05:00
Lance Edgar c3637bc416 Update changelog 2018-09-20 16:20:49 -05:00
Lance Edgar 8c26b632fe Only show mobile "quick receive" buttons if product is identifiable 2018-09-20 16:15:45 -05:00
Lance Edgar 0b9fe2dfe7 Add simple row status breakdown when viewing batch 2018-09-20 15:58:45 -05:00
Lance Edgar 3b0292029d More basic field tweaks for mobile "view product" page 2018-09-19 20:42:10 -05:00
Lance Edgar 3a91ab6bec Fix price fields, add pref. vendor/cost fields for mobile product view 2018-09-19 19:11:59 -05:00
Lance Edgar 66f1ed0e41 Do quick lookup by vendor item code, alt code for mobile receiving
at least until we have to make that configurable etc.
2018-09-19 18:22:59 -05:00
Lance Edgar acd8c97afc Fix how we check config for mobile "quick receive" feature
at least hopefully this fixes it, and doesn't break anybody..
2018-09-19 17:16:15 -05:00
Lance Edgar be49ca6967 Add quick-receive 1EA, 3EA, 6EA for mobile receiving
but only when cases are allowed.  at least for now...should surely be more
configurable than we have it now
2018-09-19 17:11:16 -05:00
Lance Edgar 2939b53467 Show red background for mobile receiving if product not found 2018-09-19 17:00:45 -05:00
Lance Edgar 6fb78c5dde Add setting to show/hide product image for mobile purchasing/receiving 2018-09-19 16:42:50 -05:00
Lance Edgar 5b2f4127ea Fix bug when editing truck dump child batch row quantities
sometimes we need to "add" to an existing claim which has qty None
2018-09-19 11:00:10 -05:00
Lance Edgar c5fef6b954 Add unique check for "name" when creating new Role 2018-09-19 10:00:59 -05:00
Lance Edgar 84db66a60c Update changelog 2018-09-10 18:55:55 -05:00
Lance Edgar db0eee707a Fix default (status) filter for Employees grid 2018-09-06 20:37:06 -05:00
Lance Edgar 06b5f6c97c Update changelog 2018-08-24 13:42:06 -05:00
Lance Edgar a6a7d22ec1 Honor view logic when displaying Delete Row button for mobile receiving
also do not allow quick receive if receiving from scratch
2018-08-17 12:41:48 -05:00
Lance Edgar f0d8f79676 Revert "Try to retry InvalidRequestError from sqlalchemy"
This reverts commit 4d0223e305.

well, that didn't work
2018-08-17 00:24:51 -05:00
Lance Edgar 4d0223e305 Try to retry InvalidRequestError from sqlalchemy
not sure if this is a good idea, hopefully can find out in a moment
2018-08-17 00:21:01 -05:00
Lance Edgar 528c0f9622 Refactor sqlerror tween to add support for pyramid_retry
hopefully this doesn't break anything else..
2018-08-17 00:04:59 -05:00
Lance Edgar 56392ccdd0 Add "quick receive all" support for mobile receiving
i.e. quick receive button can now receive all/remainder of the ordered qty
2018-08-16 22:21:58 -05:00
Lance Edgar d4b2cf9943 Update changelog 2018-08-14 17:06:24 -05:00
Lance Edgar 950af8b5e0 Add "quick lookup" for mobile Products page
only if enabled, otherwise just shows the normal grid
2018-08-09 22:11:44 -05:00