Commit graph

1712 commits

Author SHA1 Message Date
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
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
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
0ea4b98b1f Expose more Member data, relationships with Customer, Person 2020-03-18 13:15:11 -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
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
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
0f5999c8d8 Allow "touch" for vendor records 2020-03-04 12:59:11 -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
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
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
76839c48cf Fix email preview for TXT templates on python3 2020-02-09 15:32:22 -06:00
Lance Edgar
6925c460c5 Add some custom display logic for "current price" in pricing batch 2020-02-07 18:12:44 -06:00
Lance Edgar
6a8f64a9e8 Use new Email.obtain_sample_data() method when generating preview
per upstream changes
2020-02-07 16:21:51 -06:00
Lance Edgar
b633c91b66 Add red highlight for SRP breach, for generic product batch 2020-01-28 17:24:10 -06:00
Lance Edgar
132b2b9ec7 Fix vendor ID/name for Excel download of pricing batch rows 2020-01-28 16:33:23 -06:00
Lance Edgar
201f7cc21e Add warning for "price breaches SRP" rows in pricing batch 2020-01-28 11:59:40 -06:00
Lance Edgar
6e7ee99b47 Sort report options by name, when choosing which to generate 2020-01-28 06:47:59 -06:00
Lance Edgar
99f1e000bf Stop including deprecated views
probably this only affected the "tests"
2020-01-27 16:13:28 -06:00
Lance Edgar
35875b7826 Tweak how we import pip internal things, for upgrade view
ugh, just kicking the can down the road here
2020-01-27 12:57:40 -06:00
Lance Edgar
e9533727db Allow populate of new pricing batch from products w/ "SRP breach" 2020-01-23 10:48:21 -06:00
Lance Edgar
842882e766 Include regular price changes, for current price history dialog 2020-01-21 11:41:37 -06:00
Lance Edgar
0e4b33be96 Add "cost history" dialog for product view
older jquery theme only, for now
2020-01-16 11:56:45 -06:00
Lance Edgar
91c1c1c5c8 Add "current price history" dialog for product view
hopefully this does everything it needs to...guess we'll see
2020-01-16 11:31:49 -06:00