Commit graph

1837 commits

Author SHA1 Message Date
Lance Edgar
4afe8e900e Don't bug out if stores, departments fields aren't present for Employee 2019-10-15 20:33:37 -05:00
Lance Edgar
c525b16581 Fix a label for Employees grid 2019-10-15 19:55:56 -05:00
Lance Edgar
9fe585bede Fix permissions for add/edit/delete notes from people profile view 2019-10-15 16:12:56 -05:00
Lance Edgar
c0219938e3 Show active flag for users mini-grid on Role view page 2019-10-14 11:54:01 -05:00
Lance Edgar
6c228a59f2 Use self.has_perm() within MasterView 2019-10-12 18:35:11 -05:00
Lance Edgar
acda689b15 Honor configured db key sequence; let config hide some db keys from UI 2019-10-12 13:34:00 -05:00
Lance Edgar
3dd70926b9 Expose unit cost diff for vendor invoice batch rows 2019-10-09 15:58:16 -05:00
Lance Edgar
adf377c41d Move module for vendor invoice batch views to a new home 2019-10-09 15:38:12 -05:00
Lance Edgar
9a35a31261 Expose the "is preferred vendor" flag for vendor catalog batches 2019-10-09 14:55:51 -05:00
Lance Edgar
b451f4af55 Move module for vendor catalog batch views to a new home
also, expose new "unit cost diff percent" field
2019-10-09 14:16:44 -05:00
Lance Edgar
18c30fcb05 Allow bulk-delete for some common batches 2019-10-09 11:26:26 -05:00
Lance Edgar
b14a4987d2 Move label batch views to tailbone.views.batch.labels
to better match the general pattern we have going on
2019-10-09 11:11:22 -05:00
Lance Edgar
c812519931 Fix URL for user, for feedback email 2019-10-08 10:08:13 -05:00
Lance Edgar
47669a23bc Add support for "local only" Person, User, plus related security
also add "view / edit roles for user" permissions
2019-10-04 22:31:19 -05:00
Lance Edgar
c8e689712a Add forbidden() convenience method to core View class 2019-10-02 18:11:26 -05:00
Lance Edgar
ff9700e23a Add core View.make_progress() method
so callers no longer need to import `SessionProgress` and create directly
2019-09-25 00:32:41 -05:00
Lance Edgar
64f81e3396 Show "image not found" placeholder image for products which have none 2019-09-24 11:15:44 -05:00
Lance Edgar
fe413ba2f5 Honor kwargs used for MasterView.get_index_url() 2019-09-19 20:19:52 -05:00
Lance Edgar
0d2f6e060f Use simple_error() from rattail, for showing some error messages
just trying to standardize a little
2019-09-19 20:19:26 -05:00
Lance Edgar
a972fb7359 Add todo comment 2019-09-14 15:07:47 -05:00
Lance Edgar
1165fa8cdb Show product image from database, if it exists
only use POD image if we have nothing in our DB (and config doesn't say not to)
2019-09-09 19:25:18 -05:00
Lance Edgar
1a6f9c2159 Fix 'about' page template for Buefy themes 2019-09-09 17:34:24 -05:00
Lance Edgar
4c42ccc7d7 Fix various templates for generating reports, per Buefy
also various other tweaks which came up along the way...
2019-09-06 17:45:59 -05:00
Lance Edgar
2185182eee Fix rendering of "handheld batches" field for inventory batch view 2019-09-04 10:33:32 -05:00
Lance Edgar
79be69f8c1 Include tax1 thru tax3 flags in form fields for product view page 2019-09-03 13:44:59 -05:00
Lance Edgar
19c734683b Add basic API view for user feedback 2019-08-29 18:30:13 -05:00
Lance Edgar
5cfe69d24b Hopefully fix "single store" behavior when make a new ordering batch
this does seem to fix for this use case, but previous commit for this code
implied that it was fixing something for the receiving use case...
2019-08-23 22:05:09 -05:00
Lance Edgar
a49d107a82 Provide today's date as context for profile view 2019-08-11 17:30:08 -05:00
Lance Edgar
dade379dcf Fix "last sold" field rendering for product view 2019-08-05 16:06:23 -05:00
Lance Edgar
f3ac3ca25e Yet another fix for user feedback form handling 2019-08-04 22:59:32 -05:00
Lance Edgar
243c69b231 Fix some user feedback form handling
sheesh i don't see how this hasn't been more broken for some time now...
2019-08-04 22:36:58 -05:00
Lance Edgar
1b1d37b9df Fix home and login pages for Buefy theme
not sure what broke those so bad...they're still not "great"
2019-08-04 20:43:31 -05:00
Lance Edgar
69eb54abf6 Highlight former Employee records as red/warning 2019-08-03 17:18:53 -05:00
Lance Edgar
1bb0330ab5 Refactory Buefy templates to use WholePage and ThisPage components
plus add `GridFilter.set_choices()` method
2019-08-03 16:57:13 -05:00
Lance Edgar
c64fca852c Allow "touch" for Person records 2019-08-02 11:30:46 -05:00
Lance Edgar
4a175c76f9 Add proper support for composite primary key, in MasterView
at least hopefully this is complete, and didn't break anything else...
2019-07-29 19:27:23 -05:00
Lance Edgar
6e1f925944 Cleanup 'phone' filter/sort logic for Employees grid
per newer conventions etc.  needed to override some of this for a client
2019-07-25 16:05:10 -05:00
Lance Edgar
e756ae3c8f Add "multi-engine" support for Trainwreck transaction views 2019-07-25 15:40:38 -05:00
Lance Edgar
b07365b487 Add perm for editing employee history from profile view 2019-07-23 13:12:36 -05:00
Lance Edgar
dd773d4e5e Send URL for viewing employee, along to profile page template 2019-07-11 15:17:25 -05:00
Lance Edgar
aeaef04fac Add convenience method for gathering employee history context data
so we can reuse that for returning JSON from various views
2019-07-11 14:01:22 -05:00
Lance Edgar
8c2287a1e8 Add custom permissions for People "profile" view
this whole thing needs some polishing yet...
2019-07-11 14:01:00 -05:00
Lance Edgar
fa825da404 Include employee history data in context for "view profile" 2019-07-10 22:58:05 -05:00
Lance Edgar
839f6affe2 Add basic "DB picker" support, for views which allow multiple engines
i.e. whichever engine is "current" will determine where data comes from
2019-07-09 22:14:12 -05:00
Lance Edgar
4499a872d8 Remove unwanted "export has file" logic for ExportMasterView
this mostly did what "downloadable" already did, plus some other stuff which it
probably shouldn't have been doing anyway
2019-07-05 18:17:53 -05:00
Lance Edgar
94d7e01bd5 Add download_path() method for ExportMasterView
default behavior isn't very smart, subclass should override as needed
2019-07-05 18:00:58 -05:00
Lance Edgar
993ce9289d Add basic "downloadable" support for ExportMasterView
instead of it trying to do its own thing for that...  more to come on this
2019-07-05 16:48:29 -05:00
Lance Edgar
c8d6361c36 When creating an export, set creator to current user
many exports won't support creation via web app, but some will
2019-07-05 16:47:51 -05:00
Lance Edgar
8c610e2142 Add render_customer() method for MasterView
surely will be commonly useful?
2019-07-05 16:44:46 -05:00
Lance Edgar
bb0e2fb9e9 Add way to hide "view profile" helper for customer view 2019-07-03 12:35:14 -05:00