Commit graph

329 commits

Author SHA1 Message Date
Lance Edgar a18f55854d Refactor master2/index => master/index template 2017-07-14 21:23:40 -05:00
Lance Edgar 292546e44b Final grid refactor for all templates and CSS/JS (newgrid -> grid) 2017-07-14 21:15:22 -05:00
Lance Edgar c57e2e17cc Final grid refactor; we now have just 'grids' :)
this also removes some old UI stuff for the first attempt at continuum
versioning..among other cruft
2017-07-14 20:30:00 -05:00
Lance Edgar 52c7f485ab Remove some more references to 'newgrids' / old MasterView 2017-07-14 19:20:19 -05:00
Lance Edgar 172efe2ab9 Add flexible grid class for v3 grids for width=half etc.
also add 'percent' type renderer, and include column name in <td> class
2017-07-14 18:21:24 -05:00
Lance Edgar 242d37c95d Fix bug for printing one-off product labels 2017-07-14 16:03:23 -05:00
Lance Edgar c18774e5e5 Fix template/styles for v3 grid views, add purchasing batch status 2017-07-14 15:45:31 -05:00
Lance Edgar 5b1ae27a10 Add new "v3" grids, refactor all views to use them
or at least that's the idea..hopefully we caught them all
2017-07-14 03:57:36 -05:00
Lance Edgar 270b33de27 Make background color white, for merge diff table 2017-07-11 23:58:36 -05:00
Lance Edgar 4e7837baa9 Tweak (fix) color highlight for version diff view 2017-07-11 23:56:02 -05:00
Lance Edgar 5bff7d16b9 Tweak wording for master merge template 2017-07-11 23:23:23 -05:00
Lance Edgar 1685d37c01 Fix typo 2017-07-11 23:20:51 -05:00
Lance Edgar 1791bd745b More tweaks to support mobile inventory batches 2017-07-11 21:59:12 -05:00
Lance Edgar 8a5dbc33a7 Refactor keypad widget for mobile receiving
logic for this is now held in common
2017-07-11 21:05:26 -05:00
Lance Edgar 32d256932e Various tweaks to support mobile inventory batches
still not fully there I think, but pretty close..
2017-07-11 20:57:52 -05:00
Lance Edgar 452cb99349 Add basic support for viewing inventory batches on mobile 2017-07-11 16:23:11 -05:00
Lance Edgar 60104f05c7 Make all batches support mobile by default
with default pending/etc. filter also
2017-07-11 15:25:05 -05:00
Lance Edgar 48f5da4511 Add global key handler for mobile receiving, for scanner wedge input
this way we don't have to focus the UPC search box, since that seems to
always popup the device keyboard.
2017-07-11 13:05:35 -05:00
Lance Edgar bf3d7b9143 Stop using popup for expiration date, for mobile receiving
that was causing event headaches..this way is simpler
2017-07-11 12:13:19 -05:00
Lance Edgar 72b2510681 Prevent mobile receiving actions for batch which is complete or executed 2017-07-11 10:45:05 -05:00
Lance Edgar af0eea76e2 Add logic for mobile receiving if product not in batch and/or system 2017-07-11 00:59:51 -05:00
Lance Edgar 7bbdf38551 Disable unused Clear button for mobile receiving
its purpose was unclear..go figure
2017-07-10 22:41:52 -05:00
Lance Edgar 98ff71a2dd Add filter support for mobile row grid; plus mark receiving as complete 2017-07-10 22:10:27 -05:00
Lance Edgar f47157102c Add initial/basic support for "simple" mobile grid filter w/ radio buttons
so far only one such filter is (presumably?) supported..etc.
2017-07-10 21:04:56 -05:00
Lance Edgar f0d177e5df Fix broken product image tag, per webhelpers2
this still probably needs more attention but this will do for now
2017-07-07 09:21:10 -05:00
Lance Edgar 631665e208 Refactor all remaining usage of webhelpers; use webhelpers2 etc. instead 2017-07-06 21:11:05 -05:00
Lance Edgar 6302d5a351 Refactor grids to use new 'paginate' library
instead of the older `webhelpers.paginate`
2017-07-06 20:57:53 -05:00
Lance Edgar 83751f7c9e Fix background color for diff tables 2017-07-05 21:27:58 -05:00
Lance Edgar 85bdefc25b Add versioning display support for contact-related models 2017-07-05 17:16:28 -05:00
Lance Edgar 20ddf2687b Tweak header/title for versions listing page 2017-07-05 13:20:14 -05:00
Lance Edgar 0b68d56ddb Add basic versioning history support for master view
as with actual data versioning, we only support Person thus far
2017-07-05 03:07:35 -05:00
Lance Edgar a03083efdd Add initial support for expiration date for mobile receiving 2017-07-03 21:07:57 -05:00
Lance Edgar 318189b839 Hide "execute results" button for handheld batches, unless permissions 2017-06-22 02:42:14 -05:00
Lance Edgar 17017adde8 Tweak behavior when executing handheld batch results
redirect to final batch when done, try to warn user a bit
2017-06-22 01:02:03 -05:00
Lance Edgar 5a0fa20e03 Add way to execute multiple handheld batches at once 2017-06-21 17:29:06 -05:00
Lance Edgar 2d29174772 Remove all views etc. for old-style batches 2017-05-25 16:46:31 -05:00
Lance Edgar 522aad5880 Add basic ability to download Ordering Batch as Excel spreadsheet 2017-05-24 21:13:18 -05:00
Lance Edgar 346bb48f9c Add highlight to active row within Order Form view 2017-05-24 19:41:51 -05:00
Lance Edgar 38d623bcf9 Fix behavior of mobile receiving when first entering a quantity
i.e. replace default of '1' if user first presses a numeric key, but
always append to quantity after that
2017-05-24 00:17:06 -05:00
Lance Edgar 5eca2347d5 Add initial support for mobile receiving views 2017-05-24 00:04:56 -05:00
Lance Edgar d68bf6b012 Refactor "purchasing" batch views, split off "ordering"
remainder will be handled when the time comes..
2017-05-23 13:44:07 -05:00
Lance Edgar 4875c8ebdc Simplify page title display for mobile base template 2017-05-23 11:30:38 -05:00
Lance Edgar d93b91f491 Various tweaks for mobile receiving batches
this is temporary, soon will refactor all that again..
2017-05-22 13:13:44 -05:00
Lance Edgar d7160a0a38 Add daily hour totals when viewing or editing single employee time sheet 2017-05-15 17:34:47 -05:00
Lance Edgar 17f9e6d4a9 Remove customer view template
we shouldn't be doing anything special here, leave that up to derived app
2017-05-11 13:59:51 -05:00
Lance Edgar ee2137e1bf Add simple flag to prevent multiple submits for Order Form AJAX 2017-04-18 18:43:14 -05:00
Lance Edgar 589a747662 Auto-save time sheet day editor on Enter press if time field is focused
Hopefully this is a good idea, may have to revisit someday..?
2017-04-17 16:24:59 -05:00
Lance Edgar e64cdb3f80 Tweak mobile home page to leverage config for main image 2017-03-30 23:32:18 -05:00
Lance Edgar a3d0966139 Allow config to define home page image URL 2017-03-30 22:19:44 -05:00
Lance Edgar 0ad29c5283 Add basic paging grid/index support for mobile
still lots to do for this yet..but readonly basics are here..
2017-03-30 20:11:17 -05:00
Lance Edgar 1adcb98f11 Various template standardization tweaks 2017-03-29 00:21:10 -05:00
Lance Edgar b1f98c1023 Add 'status' column to vendor cost table in product view
(available vs. discontinued)
2017-03-28 19:56:02 -05:00
Lance Edgar 7463d4e092 Add default view for unhandled exceptions
to give the user a bit of low-down as to what should happen next...
2017-03-28 00:00:35 -05:00
Lance Edgar 04e9752ee1 Detect "backwards" shift when time sheet is edited, alert user 2017-03-27 23:25:17 -05:00
Lance Edgar bef0a2d0b6 Tweak organization panel for product view template
for better customization
2017-03-26 18:42:20 -05:00
Lance Edgar 77a252399b Add unit item and pack size fields to product view 2017-03-25 15:28:38 -05:00
Lance Edgar d373eb9ac1 Broad refactor to improve customization of purchase order form etc.
* add dropdown alternative for autocomplete renderer
* auto-enhance some common dropdowns
* refactor new purchase batch, order form view/templates
2017-03-24 17:22:12 -05:00
Lance Edgar 3dfe3dfa28 Add CostFieldRenderer and tweak product view template
latter being for easier customization
2017-03-23 20:32:56 -05:00
Lance Edgar e34bd947bc Allow config to override jQuery UI version 2017-03-21 21:23:35 -05:00
Lance Edgar 4c7f398c88 Add extra_main_fields() method to product view template 2017-03-21 19:35:32 -05:00
Lance Edgar 27c118eb10 Rollback our jQuery UI version again..to 1.11.4
apparently the new one introduces some changes which need to be
investigated further.  This change also makes it easier to override
the core jquery script tags, for experimenation...
2017-03-21 13:40:59 -05:00
Lance Edgar 5494266698 Bump default jQuery UI version to 1.12.1
previously was 1.11.4
2017-03-21 13:17:35 -05:00
Lance Edgar 581a21bd9d Add basic "mobile index" master view, plus support for demo mode 2017-03-19 11:21:00 -05:00
Lance Edgar 15eae8b2c7 Various tweaks to the customer and person views/forms
These things still need plenty more help...
2017-03-17 15:52:26 -05:00
Lance Edgar b3599d8241 Add 'discontinued' flag to product view
Also, don't render product description as link if it's empty
2017-03-03 15:08:00 -08:00
Lance Edgar 7d7bdb11ae Add ingredients field to product view 2017-02-27 21:34:02 -08:00
Lance Edgar 89a4b5645c Add notes panel to product details view 2017-02-27 20:48:38 -08:00
Lance Edgar cf059baffa Add initial support for native product images
Definitely not perfect yet, but a start..
2017-02-23 13:21:19 -06:00
Lance Edgar 555935c71e Expose notes field for purchasing batches
Plus various other tweaks for styles and coding conventions etc.
2017-02-21 14:27:16 -06:00
Lance Edgar 3930ed9a16 Add beginnings of mobile receiving views
Very incomplete, not much is supported yet, but this is a start..
2017-02-19 13:17:28 -06:00
Lance Edgar 6ed752d477 Add generic "bulk delete" support to MasterView 2017-02-17 19:40:21 -06:00
Lance Edgar 35126e8e5b Tweak progress template to better handle reset to 0%
for those tasks which invoke the progress meter multiple times
2017-02-16 19:44:31 -06:00
Lance Edgar e3ec3be03b Add support for client-side session timeout warning 2017-02-16 13:32:20 -06:00
Lance Edgar 4ae70de339 Tweak product view page styles
Use the new grid styles, plus tweak a field renderer
2017-02-15 14:16:14 -06:00
Lance Edgar c24120393f Tweak styles for 'sources' grid on products view page 2017-02-15 01:13:46 -06:00
Lance Edgar 6bcfd0515f Advance to password field when Enter pressed on username, login page 2017-02-13 19:08:18 -06:00
Lance Edgar 051b52bd4b Tweak form handling for sending a new message, for more customization 2017-02-13 17:37:16 -06:00
Lance Edgar 70e5915e51 Tweak styles for Send Message page 2017-02-13 16:45:45 -06:00
Lance Edgar e6bd9e18d0 Fix bug in base 'shifts' template if weekdays not in context 2017-02-10 14:40:19 -06:00
Lance Edgar 7ca03df04d Refactor the Edit Time Sheet view for "autocommit" mode
I.e. instead of letting changes queue up for "batch" mode, immediately
flush changes to server after each edit.
2017-02-09 16:11:40 -06:00
Lance Edgar d21c8bcaeb Rename case_pack to case_size 2017-02-08 15:30:44 -06:00
Lance Edgar cab339e367 Add support for Find Roles by Permission X feature 2017-02-06 13:37:42 -06:00
Lance Edgar dd5162c151 Add initial version of "Find Users by Permission" page 2017-02-04 18:16:18 -06:00
Lance Edgar af415693b6 Add config flag for disabling option to "Clear Schedule"
I.e. when editing the schedule
2017-02-04 12:38:26 -06:00
Lance Edgar 1e4612bcbe Refactor schedule / timesheet views for better separation of concerns
This was needed to support a "late clock-ins" view which included both
scheduled *and* worked shift data..
2017-01-30 23:03:05 -06:00
Lance Edgar e452ea1ae9 Add min diff threshold param when making price batch from product query
Hopefully this sets the stage for arbitrary batch params here..
2017-01-30 16:11:29 -06:00
Lance Edgar 7104e275c3 Add ability to edit employee time sheet
Also disable some unwanted autocomplete logic, plus add ability to
prevent autocomplete "change click" event
2017-01-29 18:53:52 -06:00
Lance Edgar 732681b545 Tweaks to order form template etc., for purchasing batch 2017-01-25 11:15:17 -06:00
Lance Edgar c2a189cb40 Add basic support for cloning batches
For now only label batches support this by default
2017-01-24 21:36:58 -06:00
Lance Edgar 5bc3cb7431 Fix CSRF token bug with email preview form, refactor to use webhelpers 2017-01-09 13:38:17 -06:00
Lance Edgar e102fa3df5 Prefer received quantities over ordered quantities, for Order Form history 2017-01-03 12:32:02 -06:00
Lance Edgar e13e2cfaaf Add "discarded" flag when receiving DMG/EXP products; add view for purchase credits 2016-12-30 12:37:07 -06:00
Lance Edgar e9dd44fa39 Tweak the "create" screen for purchase batches, for more customization
Also add some fields to the batch row fieldset
2016-12-30 07:52:56 -06:00
Lance Edgar 814fd12e9e Refactor Order Form a bit to allow custom history data 2016-12-29 13:23:21 -06:00
Lance Edgar de38c3a20a Fix CSRF token bug for bulk-move message forms 2016-12-28 14:51:16 -06:00
Lance Edgar a0f32854e8 Fix CSRF token bug for old-style batch params form 2016-12-22 12:26:56 -06:00
Lance Edgar 113f474e8b Fix master merge template/forms to include CSRF token 2016-12-21 11:58:59 -06:00
Lance Edgar 0b10021942 Update some enum references, render all purchase batch cases/units fields as quantity 2016-12-20 16:10:22 -06:00
Lance Edgar feef8a5ecc Fix some bugs in product view template 2016-12-20 16:09:59 -06:00
Lance Edgar 8afaf80128 Various tweaks to purchasing batch views 2016-12-19 16:17:56 -06:00