Commit graph

2608 commits

Author SHA1 Message Date
Lance Edgar a721ec4a43 Misc. API improvements for sake of mobile receiving 2020-03-20 13:51:34 -05:00
Lance Edgar ad9c193061 Clean up some purchasing views 2020-03-19 14:36:43 -05:00
Lance Edgar 3223a77cb1 Add "danger" style for "delete" grid row action 2020-03-19 00:02:27 -05:00
Lance Edgar e57010cd3d Update changelog 2020-03-18 23:44:34 -05:00
Lance Edgar 0ea4b98b1f Expose more Member data, relationships with Customer, Person 2020-03-18 13:15:11 -05:00
Lance Edgar eb57ebe62b Show member number by default instead of ID
for now..  should probably make configurable though
2020-03-18 12:45:29 -05:00
Lance Edgar 72796d1e04 Expose new Member.number field 2020-03-18 12:29:18 -05:00
Lance Edgar 970b5871e5 Add/improve various display of Member data 2020-03-18 11:27:58 -05:00
Lance Edgar 8ac0bb2334 Expose default email address, phone number when editing a Person 2020-03-17 18:50:07 -05:00
Lance Edgar ff3e83b1c5 Fix name display bug in profile view 2020-03-17 12:58:36 -05:00
Lance Edgar 60157abd46 Allow customization for Customers tab of Profile view
more tabs to come, this was all i needed for now
2020-03-17 12:38:49 -05:00
Lance Edgar 907a356bea Add support for "bulk-delete" of Person table 2020-03-16 17:47:06 -05:00
Lance Edgar 7994c7d770 Expose Customer.number field 2020-03-15 19:28:11 -05:00
Lance Edgar 4fe885995f Allow "touch" for Department, Subdepartment 2020-03-15 15:52:10 -05:00
Lance Edgar da4f2b2081 Add sort/filter for Department Name, in Subdepartments grid 2020-03-15 14:26:56 -05:00
Lance Edgar 9b00e829b8 Prevent deletion of department which still has products 2020-03-15 13:01:52 -05:00
Lance Edgar 964671fcbf Don't let user delete roles to which they belong, without permission 2020-03-15 11:59:39 -05:00
Lance Edgar edd48ef667 Misc. changes to User, Role permissions and management thereof
* only "root" can edit the Administrator role
* edit of Authenticated and Guest roles requires dedicated permission
* edit of role(s) to which current user belongs, requires dedicated permission
* delete is not allowed for any built-in role
* when editing a role, user can only add/remove permissions they themselves have
* settings can define some "protected" users, which only "root" can edit/delete
2020-03-15 11:39:52 -05:00
Lance Edgar 413e9b0f1e Remove old/unwanted Vue.js index experiment, for Users table 2020-03-15 09:40:11 -05:00
Lance Edgar 59cae7d207 Only show tables for "public" schema
i.e. avoid the "batch" schema
2020-03-15 09:26:38 -05:00
Lance Edgar 9a61f55f76 Tweak GPC grid filter, to better handle spaces in user input
i.e. when a user copy/pastes a UPC with leading/trailing space
2020-03-14 18:58:06 -05:00
Lance Edgar 136d181363 Add basic "ordering worksheet" API
display-only for the moment, pending review/feedback
2020-03-13 13:15:27 -05:00
Lance Edgar d8b9ae9ff1 Update changelog 2020-03-11 13:31:59 -05:00
Lance Edgar d72f61a98d Make sure all contact info is "touched" when touching person record 2020-03-11 13:30:04 -05:00
Lance Edgar 12b0ac1037 Move logic for Order Form worksheet into purchase batch handler
i.e. get it out of Tailbone!
2020-03-06 19:53:03 -06:00
Lance Edgar 1db6d642e7 Refactor "view profile" page per latest Buefy theme conventions 2020-03-06 14:01:10 -06:00
Lance Edgar cd0703ba12 Update changelog 2020-03-05 13:03:59 -06:00
Lance Edgar 0f5999c8d8 Allow "touch" for vendor records 2020-03-04 12:59:11 -06:00
Lance Edgar 11cc9a752a Remove "api." prefix for default route names, in API master views 2020-03-03 17:10:41 -06:00
Lance Edgar 0483f47b26 Add support for refreshing multiple batches (results) at once 2020-03-02 18:11:13 -06:00
Lance Edgar 2605f5ab79 Fix batch row status breakdown for Buefy themes
also, fix the "import batch from file" feature UI, per Buefy theme
2020-03-02 14:38:06 -06:00
Lance Edgar 2100f0461d Update changelog 2020-03-02 11:53:15 -06:00
Lance Edgar 0e46b25f6e Use Cornice when registering all "service" API views
pretty sure we'll get *something* for "free" if we do it their way
2020-03-01 17:31:54 -06:00
Lance Edgar c55830e533 Refactor all API views thus far, to use new v2 master 2020-03-01 17:31:54 -06:00
Lance Edgar 113c0af49d Add new "master" API view class; refactor products and batches to use it 2020-03-01 17:31:51 -06:00
Lance Edgar df00dd600a Update changelog 2020-03-01 12:24:41 -06:00
Lance Edgar 86617e410f Fix some basic product editing features
mostly for sake of online demo
2020-02-28 18:11:54 -06:00
Lance Edgar 815cdbdd0a Fix product price, cost history dialogs, for Buefy theme 2020-02-28 17:06:30 -06:00
Lance Edgar a2277feb10 Cleanup main version history views for Buefy theme 2020-02-28 15:45:27 -06:00
Lance Edgar 6d929dd95a Fix how we fetch employee history, for profile view 2020-02-28 13:10:25 -06:00
Lance Edgar 7b43164831 Add support for executing ordering batches via API 2020-02-26 21:29:59 -06:00
Lance Edgar c145d077cd Return employee_uuid along with user info, from API
occasionally that is useful
2020-02-26 21:29:37 -06:00
Lance Edgar a79bf3f055 Add toggle complete, more normalized row fields for odering batch API 2020-02-26 17:45:19 -06:00
Lance Edgar 77eead761e Update changelog 2020-02-26 15:04:56 -06:00
Lance Edgar cd8d70de0e Send batch params as part of normalized API 2020-02-26 14:27:17 -06:00
Lance Edgar 5f8dc20312 Raise 404 not found instead of error, when user is not employee
i.e. when they try to view "employee schedule" or "time sheet"
2020-02-25 15:35:39 -06:00
Lance Edgar 2b70ed1407 Fix "edit row" logic for ordering batch
previous logic allowed `colander.null` to be passed to batch handler, which
caused an error.  also it allowed editing "all" fields for the row, which we
really don't need to do, so now we just support the order quantities
2020-02-24 13:38:58 -06:00
Lance Edgar fc830f60e8 Tweak worksheet_update() of ordering batch view, to leverage handler
specifically this is to make use of handler's `update_row_quantity()` method,
when user enters new order quantities via worksheet
2020-02-24 12:36:47 -06:00
Lance Edgar c3f4a3d9ea Tweak save_edit_row_form() of purchase batch view, to leverage handler
specifically this is to make use of handler's `update_row_quantity()` method,
when editing a row for ordering batches
2020-02-24 12:27:26 -06:00
Lance Edgar 6c5cc95e51 Overhaul the /ordering batch API somewhat; update docs
mostly a savepoint; the /ordering API still needs some work for sure
2020-02-23 21:07:50 -06:00