Commit graph

1849 commits

Author SHA1 Message Date
Lance Edgar
d42c2fabb9 Move "quick entry" logic for purchase batch, into rattail handler 2019-11-13 14:04:11 -06:00
Lance Edgar
a9b740dcaa Add basic support for "eligible purchases" for receiving batch API 2019-11-12 17:46:18 -06:00
Lance Edgar
86695c9dc7 Refactor "send new message" form, esp. recipients field, per Vue.js 2019-11-04 19:06:58 -06:00
Lance Edgar
e153e530a8 Use "warning" status for pricing batch rows, where product not found 2019-11-04 12:39:26 -06:00
Lance Edgar
7f94e3fc77 Tweak a method signature for batch views
sometimes executing a batch will involve an "action" kwarg, so we can't use
that or else a collision ensues
2019-11-01 21:09:15 -05:00
Lance Edgar
8af3d53a3c Improve/fix some views for Messages per Vue.js theme 2019-11-01 15:58:56 -05:00
Lance Edgar
847136b69c Refactor "make batch from products query" per Vue.js theme 2019-10-31 12:45:22 -05:00
Lance Edgar
2e92f561d8 Assume "local only" flag should be ON by default, for new objects
i.e. if that is a thing, for the given master view
2019-10-29 19:58:08 -05:00
Lance Edgar
6536926f3c Don't bug out if can't update roles for user
based on perms, or missing data field
2019-10-24 12:25:59 -05:00
Lance Edgar
39b1a78b89 Allow bulk delete of New Product batch rows 2019-10-23 14:50:36 -05:00
Lance Edgar
b311c6be7d Add config flag to "force unit item" for inventory batch 2019-10-21 15:35:30 -05:00
Lance Edgar
65bcd8da2a Improve default behavior for clone operation
copy all fields but uuid, and show flash message(s)
2019-10-17 16:17:43 -05:00
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