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
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
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
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
Lance Edgar
5e879a2d92
Remove some unused code for ordering worksheets
2018-08-07 22:42:48 -05:00
Lance Edgar
634a93061b
Let mobile form declare if/how to auto-focus a field
...
and for mobile ordering, auto-focus the "units" field when editing a row
2018-07-24 21:29:52 -05:00
Lance Edgar
5db7d3776a
Expose status etc. when editing upgrade, rename Email Settings
...
i.e. latter is renamed from Email Profiles, but within UI only for now
2018-07-18 21:06:07 -05:00
Lance Edgar
34bdd2ac84
Add (restore?) basic support for mobile receiving from PO
2018-07-18 16:25:54 -05:00
Lance Edgar
c2968fbe52
Don't save any App Settings for which value would not change
...
that lets us avoid writing "redundant" values to the database, whereas in fact
the underlying value may be coming from config file
2018-07-18 13:50:32 -05:00
Lance Edgar
117e52df23
Remove unwanted line
2018-07-18 13:24:51 -05:00
Lance Edgar
4e09b757c3
Add (admin-friendly!) view to manage some App Settings
...
which settings are available to this view will depend on the project's settings
module, similar to how the email settings work
2018-07-18 13:09:32 -05:00
Lance Edgar
012a06d8a6
Tweak some purchase batch logic per changes in rattail
2018-07-17 20:38:48 -05:00
Lance Edgar
d8b45db331
Improve support for "receive from scratch" workflow, esp. for mobile
...
also try harder to make certain aspects easier to enable/disable via handler,
e.g. whether cases should be allowed as quantity input, or expired credits
should be a thing etc.
2018-07-17 19:55:15 -05:00
Lance Edgar
a34a42d2b2
Refactor mobile receiving to use "quick row" feature
...
plus some other random things thrown in there, for good measure..
2018-07-16 20:40:29 -05:00
Lance Edgar
935a6b2a68
Add basic autocomplete support for "quick row" feature
2018-07-13 19:12:39 -05:00
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
Lance Edgar
6cc509f5b4
Add Form.show_cancel
flag, for hiding that button
...
also use fields from schema by default, if fields not provided
2018-02-05 14:24:49 -06:00
Lance Edgar
8137d715df
Refactor purchasing batch views per master4
2018-02-05 13:00:34 -06:00
Lance Edgar
63290154eb
Add master4, refactor customers view to use it
2018-02-05 13:00:28 -06:00
Lance Edgar
ab16ffc823
Add "hidden" concept for form fields
...
i.e. include hidden fields but don't show label or other dressing
2018-02-05 13:00:28 -06:00
Lance Edgar
868b184069
Add 'plain' and 'jquery' templates for deform select widget
...
need to refactor things to get all that straight, at some point
2018-02-04 15:03:33 -06:00
Lance Edgar
7b4f7d758e
Add setting for "force home" mobile behavior
2018-02-04 15:03:33 -06:00
Lance Edgar
33931b4bf2
Refactor vendor invoice batch views to use master3
2018-02-03 12:37:24 -06:00
Lance Edgar
e821b2a025
Always redirect to mobile home page, if "other" page is refreshed
...
also applies when becoming / stopping root, and maybe other cases?
2018-01-29 22:47:30 -06:00
Lance Edgar
9beb32cea2
Fix mobile logout behavior
2018-01-29 18:07:29 -06:00
Lance Edgar
19cd6336f9
Refactor vendor catalog batch views to use master3
2018-01-28 01:26:51 -06:00
Lance Edgar
eac59ba5c8
Refactor purchasing batch views to use master3
2018-01-27 11:59:52 -06:00
Lance Edgar
efdbc3c5b5
Show "buttons" when viewing an object, with forms2
...
also tweak logic when creating a batch..we'll see if it works..
2018-01-26 19:04:34 -06:00
Lance Edgar
580f817dd9
Add vendor links in cost grid when viewing product
2018-01-26 18:30:29 -06:00
Lance Edgar
e5c5a071f2
Add generic "download results as XLSX" feature
2018-01-26 14:24:06 -06:00
Lance Edgar
1453d33123
Add support for extra column(s) in timesheet view table
2018-01-25 17:02:53 -06:00
Lance Edgar
f32cf3342c
Allow disabling auto-dismiss of flash messages on mobile
2018-01-25 14:15:25 -06:00
Lance Edgar
96e5c42795
Add support for detaching Person from Customer
2018-01-24 23:53:12 -06:00
Lance Edgar
8044039d78
Add 'delete-instance' class to delete link when viewing a record
...
so that JS can watch its click event
2018-01-24 13:12:42 -06:00
Lance Edgar
04d1e303be
Let custom inventory batch view override logic for mobile UPC scanning
2018-01-23 19:00:33 -06:00
Lance Edgar
18af33c9bb
Add basic support for per-page help URL
2018-01-18 11:47:11 -06:00
Lance Edgar
80e9a9cf1c
Add creates_multiple
flag for master view
2018-01-18 11:46:10 -06:00
Lance Edgar
3097f46aa1
Refactor products view to use master3
2018-01-08 18:03:51 -06:00
Lance Edgar
66d3b7b4af
Tweak diff styles when viewing upgrade
2018-01-07 19:44:39 -06:00
Lance Edgar
fb140f24c1
Add basic UI support for "importer batch" feature
2018-01-06 20:28:59 -06:00
Lance Edgar
c3c77ed586
Tweak diffs.css
and refactor 'view_version' template to use it
2018-01-06 20:28:13 -06:00
Lance Edgar
568a625500
Add row_title
to template context for view_row
2018-01-06 20:26:57 -06:00
Lance Edgar
85e6e7e08a
Refactor away the row_route_prefix
concept
2018-01-06 20:25:55 -06:00
Lance Edgar
b2020686f5
Tweak conditions for CSV row download link
2018-01-06 19:27:37 -06:00
Lance Edgar
aa4051a7cd
Exclude JS for refreshing batch unless it's relevant
2018-01-06 19:26:31 -06:00
Lance Edgar
067cd60e20
Change how select menus are enhanced for batch exec options
...
jquery selectmenu doesn't play nicely in a dialog, when expanded (options are
cut off from screen)
2018-01-05 17:13:01 -06:00
Lance Edgar
6ed37743a5
Fix some styles for execution options dialog
2018-01-05 11:21:30 -06:00
Lance Edgar
80903bde38
Refactor forms logic when making batch from product query
...
use colander/deform instead of wtforms. also make sure param names are unique
per batch type, within form controls
2018-01-04 15:08:03 -06:00
Lance Edgar
9f14d01c22
Add "price required" flag to product view
2017-12-20 19:02:03 -06:00
Lance Edgar
1e8a4534d5
Various forms2 changes
2017-12-07 20:35:44 -06:00