Commit graph

2485 commits

Author SHA1 Message Date
Lance Edgar e9fc9ccbf7 Use "quick entry" logic from batch handler, for mobile inventory
pretty sure desktop version still needs cleanup, but later...
2020-03-29 15:20:34 -05:00
Lance Edgar 71a9010579 Make handler responsible for locating product for inventory batch 2020-03-29 15:20:34 -05:00
Lance Edgar 0e7835e2d9 Make inventory batch handler responsible for finding row for product 2020-03-29 15:20:32 -05:00
Lance Edgar 069eac1cf6 Add temporary method for inventory batch view
calling code should invoke handler directly instead of using this method, but
for now we need it to exist
2020-03-29 14:30:48 -05:00
Lance Edgar dc4531f545 Let inventory batch handler decide which count modes are available 2020-03-29 13:37:50 -05:00
Lance Edgar 6a58f5f5d3 Let inventory batch handler decide if products should be aggregated 2020-03-29 13:33:38 -05:00
Lance Edgar 12b567d3d2 Let inventory batch handler decide what to do about unknown product scan 2020-03-29 13:09:14 -05:00
Lance Edgar 2532fcbea2 Let inventory batch handler decide if case input is allowed 2020-03-29 13:04:11 -05:00
Lance Edgar 0704717ec5 Let inventory batch handler declare which count modes are allowed
preparing for API/mobile usage
2020-03-29 12:46:41 -05:00
Lance Edgar 242e14e8a9 Allow bulk-delete for Inventory Batches 2020-03-29 12:07:42 -05:00
Lance Edgar 35bef2c3dd Move inventory batch view to its proper location
but keep "inventory adjustment reasons" where it was; that also is proper
2020-03-29 12:05:05 -05:00
Lance Edgar 65f41480eb Allow bulk-delete, merge for Brands table 2020-03-27 18:15:33 -05:00
Lance Edgar aaabde5c5a Add link to generate new report, when viewing one 2020-03-26 15:30:14 -05:00
Lance Edgar 89ffbd6efc Add support for "choice" widget, for report params
also add support for default value, for a param
2020-03-26 15:24:16 -05:00
Lance Edgar 2a4832f9b9 Declare the v-model for "dynamic select" widget 2020-03-24 18:19:25 -05:00
Lance Edgar c14ecd2948 Add helper function, get_csrf_token() 2020-03-24 18:19:05 -05:00
Lance Edgar febe651e31 Stop raising an error if view doesn't define row grid columns
just show whatever is gonna show by default; they can edit list if they want
2020-03-23 22:35:24 -05:00
Lance Edgar af07b433ad Fix rendering of batch ID in forms 2020-03-23 21:41:44 -05:00
Lance Edgar 13802c49a8 Add "generic" render_id_str() method to MasterView
not sure how useful, but maybe
2020-03-23 21:25:43 -05:00
Lance Edgar eaeda6ca36 Fix row status filter for Import/Export batches
per Buefy theme
2020-03-23 20:55:46 -05:00
Lance Edgar af4be59fe0 Add "local only" column to Users grid
but only show if user has perm of course
2020-03-23 20:24:03 -05:00
Lance Edgar 917d5ab3fa Expose the Role.notes field for view/edit
also add a simple "<pre> with sans-serif font" renderer
2020-03-23 19:59:28 -05:00
Lance Edgar cd019fb05b Fix the "change password" form per Buefy theme 2020-03-23 19:33:56 -05:00
Lance Edgar e04e67774e Add common permission for sending user feedback
there can be valid reasons to *not* expose that, so let admin decide
2020-03-23 19:33:00 -05:00
Lance Edgar 51e1a85f0b Fix some spacing in header for Buefy theme 2020-03-22 16:42:05 -05:00
Lance Edgar 297ca3fe11 Fix default row grid config logic for batches
make sure we don't overwrite configured row labels
2020-03-20 14:58:29 -05:00
Lance Edgar 1570871884 Use proper cornice service registration, for API batch execute etc. 2020-03-20 14:40:27 -05:00
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