Commit graph

1837 commits

Author SHA1 Message Date
Lance Edgar
37be76cc84 Fix some bugs etc. with batch views and templates 2016-11-20 14:10:04 -06:00
Lance Edgar
f97b26506f Add printer-friendly view for "full" employee schedule
i.e. whatever version of that the user happens to be currently viewing
2016-11-19 22:23:45 -06:00
Lance Edgar
936535d625 Tweak core view's rattail config init logic, for tests 2016-11-19 18:56:09 -06:00
Lance Edgar
203f0242fb Refactor batch views / templates per rattail framework overhaul 2016-11-19 18:34:50 -06:00
Lance Edgar
a5184e416a Tweak email config view a bit, for clarity 2016-11-15 19:36:08 -06:00
Lance Edgar
ad2724fd2f Make POD image for product view a bit more sane 2016-11-11 22:15:47 -06:00
Lance Edgar
11b4cf9616 Add support for more cases + units, more vendor fields, for new purchase batches 2016-11-11 01:56:37 -06:00
Lance Edgar
fe978a9bd2 Add 'additive fields' concept to merge diff preview 2016-11-10 17:13:46 -06:00
Lance Edgar
7dd19c6d87 Change how we determine default 'grid key' for master views 2016-11-10 17:13:29 -06:00
Lance Edgar
ba1fa6d617 Tweak verbiage for merge template etc. 2016-11-09 02:17:01 -06:00
Lance Edgar
da5c040aeb Add historical amounts to new purchase Order Form, allow extra columns etc. 2016-11-08 22:45:58 -06:00
Lance Edgar
c51d0db42d Tweak order form view for new purchase batches 2016-11-08 13:06:56 -06:00
Lance Edgar
7454e611c5 Refactor how batch editing is done; don't include rows for that sometimes
Various other fixes also..for sake of new purchase batches
2016-11-08 12:56:12 -06:00
Lance Edgar
da8ef9ebd8 Don't allow access to Order Form for executed purchase batch 2016-11-07 20:49:33 -06:00
Lance Edgar
758ae7099d Add initial support for viewing new purchase batch as Order Form 2016-11-07 20:40:47 -06:00
Lance Edgar
0477561ca6 Add support for making new-style batches from products grid query
Just label batches so far, will have to revisit that
2016-11-06 23:31:27 -06:00
Lance Edgar
4cfd3aa00e Add basic views for label batches 2016-11-06 20:53:50 -06:00
Lance Edgar
5183184b16 Fix row grid tools bug in batch view 2016-11-06 20:52:47 -06:00
Lance Edgar
a51bf54e94 Prevent user from adding new rows to batch which has already been executed 2016-11-06 13:34:08 -06:00
Lance Edgar
a6e43d1658 Add support for new Purchase/Batch views, 'create row' master pattern
More refactoring here but hopefully not that important..
2016-11-06 12:58:29 -06:00
Lance Edgar
06b0b13992 Add basic merge feature to MasterView 2016-10-28 10:26:37 -05:00
Lance Edgar
2b3b69ed70 Tweak how we auto-filter 'deleted' products
Hopefully this doesn't break anything?  This change is required for a
user who has 'become root' to see deleted products.
2016-10-27 15:58:00 -05:00
Lance Edgar
68ba3a7fcb Add 'vendor code' and 'vendor code (any)' filters for products grid 2016-10-26 18:47:44 -05:00
Lance Edgar
01acedaedf Show vendor invoice rows as warning, if they have no case quantity 2016-10-26 17:58:28 -05:00
Lance Edgar
590444b273 Fix template bug when deleting user 2016-10-25 18:14:43 -05:00
Lance Edgar
7932fffa1a Protect new 'root' views, only admin users allowed..
Heh whoops.
2016-10-18 19:17:23 -05:00
Lance Edgar
2c27120eb4 Update references to request.authenticated_userid
Per warnings from Pyramid, old method will go away in 1.8
2016-10-18 17:54:41 -05:00
Lance Edgar
6bf60365ba Let any 'admin' user elevate to 'root' for full system access
But otherwise, let the Administrator role be "normal" and have perms of
its own.  Hopefully cuts down on unwanted screen noise for admins.
2016-10-18 16:59:38 -05:00
Lance Edgar
26c6c083c4 Add refresh_after_create flag for BatchMasterView
Hopefully this is a good idea too..
2016-10-16 03:33:10 -05:00
Lance Edgar
3980886356 Add ability to clone schedule data from another week 2016-10-14 16:02:15 -05:00
Lance Edgar
c2503977ea Add ability to clear current schedule when editing 2016-10-14 14:45:23 -05:00
Lance Edgar
9e7cb532c8 Add speed bump when leaving timesheet page w/ unsaved changes
Also add save/undo buttons to top as well as bottom of timesheet.
2016-10-14 13:57:57 -05:00
Lance Edgar
e153390c15 Fix bug, break for loop when we can 2016-10-12 15:03:10 -05:00
Lance Edgar
e57757d44b Fix bug when POST'ing filter form data to edit schedule page 2016-10-12 14:26:59 -05:00
Lance Edgar
048951153d Add basic ability to edit employee schedule 2016-10-12 14:16:33 -05:00
Lance Edgar
223a6dc862 Fix couple of bugs for vendor catalog views
No need to expose an "edit" mode for this batch since view allows
refresh.
2016-10-10 11:16:55 -05:00
Lance Edgar
3b84a92d7d Strip whitespace from username field when editing User
Otherwise can be a gotcha, if user doesn't know their username "has a
space" etc.
2016-10-10 10:59:07 -05:00
Lance Edgar
b157b79938 Remove last references to 'edbob' package 2016-10-09 21:12:13 -05:00
Lance Edgar
8ce0148a64 Tweak some things to make demo project more "out of the box" 2016-10-06 13:13:31 -05:00
Lance Edgar
894ee87591 Add "bulk delete rows" feature to new batches view 2016-10-04 15:12:30 -05:00
Lance Edgar
f41135a2e0 Add code field to Category views 2016-10-03 15:37:31 -05:00
Lance Edgar
3bafa41ecd Add specific permissions for edit/delete of individual batch rows 2016-09-30 15:20:40 -05:00
Lance Edgar
a77f41debf Fix row-level visibility for grid edit action 2016-09-19 16:32:18 -05:00
Lance Edgar
679dce4ed8 Add "just in time" editable instance check for master view 2016-09-18 17:14:57 -05:00
Lance Edgar
94a7a15e6d Add basic form validation when sending new messages
This avoids the message body for now, since that's implemented a couple
different ways in the real world...
2016-09-13 20:23:51 -05:00
Lance Edgar
60c5d31aa1 Allow opt-out for "download batch row data as CSV" feature
Sometimes that just confuses the issue, e.g. when the batch provides a
download feature of its own.
2016-08-26 15:31:03 -05:00
Lance Edgar
e3f13baaab Fix permission group label bug for batch views 2016-08-24 17:21:21 -05:00
Lance Edgar
e296bfd392 Add MasterView.listable flag for disabling grid view 2016-08-24 17:20:53 -05:00
Lance Edgar
901c2fc573 Add MasterView.has_rows concept and related logic
Now the `BatchMasterView` no longer provides most of these goodies.

Also tweak some custom batch views to reflect changes etc.
2016-08-23 13:11:13 -05:00
Lance Edgar
8a19b90efa Add hook to customize timesheet shift rendering
Also decrease font size slightly for shift text.
2016-08-22 17:25:43 -05:00