Commit graph

463 commits

Author SHA1 Message Date
Lance Edgar
68bd3047c4 Add initial support for mobile "quick row" feature, for ordering
at least for now, ordering only, but hopefully much more soon...
2018-07-12 22:53:29 -05:00
Lance Edgar
8039af1c06 Fix cancel button for progress page
i.e. should actually cancel when clicked...
2018-07-11 10:10:06 -05:00
Lance Edgar
477a34cfa7 Improve how cases/units, uom are handled for mobile receiving
last-used uom should be more or less sticky, etc.
2018-07-10 14:24:12 -05:00
Lance Edgar
9dd6f8ef7d Tweak default page title for master view 2018-07-10 11:39:00 -05:00
Lance Edgar
c88d060fe0 Force user to count "units" and not "packs" for inventory batch
at least until we come up with something smarter...
2018-07-09 15:50:28 -05:00
Lance Edgar
3dfdb26502 Improve basic support for unit/pack info when viewing product details 2018-07-08 00:01:14 -05:00
Lance Edgar
9a0a280d7d Tweak how some "pack item" fields are displayed when viewing product 2018-07-03 20:47:32 -05:00
Lance Edgar
440a88aa0f Add overflow validation for cases/units in inventory batch desktop form 2018-06-27 14:52:55 -05:00
Lance Edgar
076d3d8189 Add support for zero quantity for mobile inventory batch rows 2018-06-27 13:43:03 -05:00
Lance Edgar
c1e2c5551c Allow zero quantity for inventory batch desktop entry form 2018-06-27 13:34:48 -05:00
Lance Edgar
e608c0b428 Allow products view to set some labels in costs grid 2018-06-07 16:03:17 -05:00
Lance Edgar
44ff02b7af Add versioning workaround support for batch actions
* add `can_cancel` flag for progress page, hide button if set
* overhaul populate/refresh/execute to launch socket/subprocess if necessary
2018-06-07 12:40:25 -05:00
Lance Edgar
db645fb393 Add support for variance inventory batches, aggregation by product
kind of a rushed job but hopefully this is all good...
2018-06-01 12:49:01 -05:00
Lance Edgar
54bfafdbfe Add way to prevent "case" entries for inventory adjustment batch 2018-05-23 14:48:17 -05:00
Lance Edgar
218ac221e5 Add buttons to toggle batch 'complete' flag when viewing batch 2018-05-23 13:06:49 -05:00
Lance Edgar
b0e8f7d985 Various changes to support current receiving workflows
i.e. for sake of truck dump, adding child from invoice etc.
2018-05-22 13:54:50 -05:00
Lance Edgar
210508480e Add "Receive 1 CS" button for better efficiency in mobile receiving 2018-05-21 16:16:12 -05:00
Lance Edgar
cd7922f204 Add "most of" support for truck dump receiving
still not complete, but conceptually it sort of is...
2018-05-18 15:51:47 -05:00
Lance Edgar
9ed501a8cc Add initial support for receiving truck dump batch via mobile
i.e. just the initial truck dump, but secondary invoice batches are not yet
supported.  also this maybe breaks other things..we'll see
2018-05-16 09:15:52 -05:00
Lance Edgar
8c8d539266 Add future mode for vendor catalog batch 2018-04-10 09:07:57 -07:00
Lance Edgar
e9322628cb Refactor inventory batch desktop lookup, to allow for Type 2 UPC logic
for now though, such logic must be provided by custom app
2018-03-21 11:30:14 -05:00
Lance Edgar
42982a69ea Treat unknown UPC as "product not found" for inventory batch
i.e. as opposed to collecting info about the product
2018-03-21 10:52:30 -05:00
Lance Edgar
fde5398455 Use 'today' as fallback date for ordering worksheet 2018-03-21 10:42:50 -05:00
Lance Edgar
652f51d484 Add support for making new product on-the-fly during mobile ordering
let's face it, that will be necessary sometimes.  this feature still needs some
work before can be called complete though...
2018-03-06 19:29:15 -06:00
Lance Edgar
6ec0ddb94e Remove the "add vs. subtract" mode for desktop inventory workflow form
hopefully we can always assume the "mode" based on other things
2018-03-06 16:26:53 -06:00
Lance Edgar
91bb38573b Add desktop support for creating inventory batches
with a workflow form of sorts
2018-02-28 21:53:39 -06:00
Lance Edgar
3d79f9fd7d Add support for executing batch with options, via mobile 2018-02-22 11:20:12 -06:00
Lance Edgar
37a788a141 Use Form.submit_label if present, or fall back to save_label
latter should probably be deprecated / removed at some point
2018-02-22 11:14:21 -06:00
Lance Edgar
e1a9da0716 Always show flash-error-style message when form has errors
probably will regret this and change it back soon, we'll see
2018-02-22 11:13:29 -06:00
Lance Edgar
ff7341d272 Add Form.mobile flag and set link button styles accordingly 2018-02-22 11:12:51 -06:00
Lance Edgar
046a70c5f6 Add NumberInputWidget for <input type="number" /> 2018-02-21 19:51:31 -06:00
Lance Edgar
a8a4e362a0 Add basic mobile support for executing batches
no progress, or options, yet..
2018-02-21 18:55:16 -06:00
Lance Edgar
1b059c5293 Refactor ordering worksheet to use shared logic 2018-02-19 18:19:19 -06:00
Lance Edgar
b529a005d8 Remove some redundant / unused code 2018-02-19 17:09:12 -06:00
Lance Edgar
5c1008a0df More tweaks for python 3 2018-02-15 12:48:14 -06:00
Lance Edgar
0a16cc2ded Add tailbone version to base stylesheet URLs
hopefully this forces clients to refresh after upgrade?
2018-02-13 00:10:32 -06:00
Lance Edgar
ee35cc6f22 Misc. cleanup for Python 3 2018-02-12 14:41:40 -06:00
Lance Edgar
d9ff59afda Refactor grid filters to use colander/deform 2018-02-12 12:15:07 -06:00
Lance Edgar
cb8db266cd Remove last references to any "fieldset" type things 2018-02-11 23:19:30 -06:00
Lance Edgar
cdaf36f346 Rename 'forms2' package, templates to 'forms' 2018-02-11 22:57:33 -06:00
Lance Edgar
d0b78babd2 Remove legacy 'forms' package and templates
yay!
2018-02-11 22:46:35 -06:00
Lance Edgar
dd04459748 Refactor batch execution options to use colander/deform 2018-02-11 22:37:17 -06:00
Lance Edgar
4191e50456 Refactor time sheet, schedule filter forms to use colander/deform
also add "print employee schedule" feature, didn't realize that was missing
2018-02-11 15:58:06 -06:00
Lance Edgar
ec438ead51 Refactor user login, change password to use colander/deform 2018-02-10 16:47:53 -06:00
Lance Edgar
91b395118e Allow passing arbitrary attrs when rendering grid 2018-02-09 21:13:41 -06:00
Lance Edgar
e2bfb31cb2 Add 'gridcore' jQuery plugin, for core behavior
also add 'selected' status for checkbox grids, etc.
2018-02-09 15:17:29 -06:00
Lance Edgar
c35bfa3e4e Let forms choose *not* to auto-disable their cancel button 2018-02-07 20:06:35 -06:00
Lance Edgar
00a3b8fc33 Make it easier to hide buttons for a form 2018-02-07 19:28:54 -06:00
Lance Edgar
5b4718fac4 Avoid "auto disable" button logic for new message form 2018-02-06 11:23:28 -06:00
Lance Edgar
7730080afc Let each form define its "save" button text
where applicable etc.
2018-02-05 16:53:17 -06:00