Commit graph

446 commits

Author SHA1 Message Date
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
Lance Edgar 86cfc59d33 Refactor user and role views to use master3 2017-12-06 12:40:27 -06:00
Lance Edgar 789bdef190 Add cleared/selected callbacks for jquery autocomplete in forms2 2017-12-05 20:36:57 -06:00
Lance Edgar 8041c085f6 Add basic "helptext" support for forms2 2017-12-05 15:07:25 -06:00
Lance Edgar c20fdf4450 Change template prefix for vendor catalog batches 2017-12-05 13:33:05 -06:00
Lance Edgar c3fb86e391 Refactor messages view to use master3 2017-12-04 17:52:25 -06:00
Lance Edgar 6da013bf6c Fix permission bug for executing multiple batch results 2017-12-02 18:14:31 -06:00
Lance Edgar d27759ac2d Fix bug? or maybe there's no point 2017-12-02 17:20:40 -06:00
Lance Edgar a7d8cfcdbb Let batch views allow or deny "execute results" option 2017-12-02 17:08:17 -06:00
Lance Edgar ac733ae6ea Various tweaks for sake of forms2 refactor 2017-11-27 12:10:17 -06:00
Lance Edgar 43ce0fb44f Auto-scroll window as needed to ensure drop-down choices are visible 2017-11-22 11:21:59 -06:00
Lance Edgar 6ea88808b2 Add date/time-picker, autocomplete support for forms2 (deform) 2017-11-20 17:01:08 -06:00
Lance Edgar 2bbe6c8346 Add "make user" button when viewing person w/ no user account 2017-10-29 01:18:05 -07:00
Lance Edgar c95e2dbb06 Add "download row results as CSV" feature to master view 2017-10-14 14:14:24 -07:00
Lance Edgar 8d002f76d2 Convert user feedback mechanism to use modal dialog
instead of navigating to new page.  this is how it should have been done
to begin with...
2017-10-13 08:01:43 -07:00
Lance Edgar e283288a26 Fix deform widget resource inclusion for master/create template 2017-09-23 16:26:22 -05:00
Lance Edgar 52747ea6bd Auto-enhance all select widget fields for deform 2017-09-23 16:26:03 -05:00
Lance Edgar 3361adf08a Copy select field template from deform
this is before any modifications, straight from deform
2017-09-23 14:12:27 -05:00
Lance Edgar 3564ab0e1c Tweak title for master view row template 2017-09-15 21:02:13 -05:00
Lance Edgar 9ff6df83e5 Add generic support for downloading list results as CSV 2017-09-14 21:57:37 -05:00
Lance Edgar 63e336d4bb Override deform template for checkbox field; fix label behavior 2017-08-17 17:21:07 -05:00
Lance Edgar 3477637c74 Allow batch execution to require options on a per-batch basis
plus some other changes i think..
2017-08-16 23:27:27 -05:00
Lance Edgar 860f990a2e Fix mobile inventory template 2017-08-16 22:11:30 -05:00
Lance Edgar e945ebe325 Fix auto-disable button on form submit, per Chrome issues
dang it chrome, why you gotta be like that
2017-08-16 19:10:39 -05:00
Lance Edgar ec4e52fa1a Add mechanism for user to bulk-change status for purchase credits
trying to stay pretty generic yet...
2017-08-15 12:58:16 -05:00
Lance Edgar 4639d4a7db Give older/newer buttons the autodisable treatment 2017-08-13 20:07:37 -05:00
Lance Edgar 0e42efd32b Fix core styles/javascript for base template 2017-08-13 19:14:54 -05:00
Lance Edgar 7d0bb80a90 Merge 'better' theme into base templates
i.e. for now there is no 'better' (or any other) theme
2017-08-13 19:11:53 -05:00
Lance Edgar c0a28716f5 Add prev/next buttons when viewing upgrade details 2017-08-13 18:28:40 -05:00
Lance Edgar 55f96c4730 Add initial support for changelog links for upgrade package diffs
definitely still just playing around so far...
2017-08-13 00:25:32 -05:00
Lance Edgar 4b5e415147 Add show all vs. show diffs for upgrade packages
plus some related tweaks
2017-08-12 22:38:23 -05:00
Lance Edgar 0ad2113b81 Various tweaks to inventory batch logic
really to support zero-all mode, but several generic changes too
2017-08-10 11:10:42 -05:00
Lance Edgar 773a0c769d Fix upgrade stdout handling if file doesn't exist yet
plus some other tweaks..
2017-08-09 11:56:25 -05:00
Lance Edgar e5b0fe7198 Add running display of stdout.log when executing upgrade 2017-08-09 11:44:31 -05:00