Commit graph

624 commits

Author SHA1 Message Date
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
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
fca95ae8c0 Add 'tailbone' to global template context, update 'better' template footer 2016-10-07 19:33:41 -05:00
Lance Edgar
93fcc72f73 Add "refresh" button when viewing batch 2016-09-18 17:15:58 -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
bb6a838d3b Don't show CSV download link if master view opts out 2016-08-26 15:41:22 -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
Lance Edgar
cdde848275 Refactor batch view/edit pages to share some "execution options" logic 2016-08-22 15:46:16 -05:00
Lance Edgar
53950931af Add has_rows support to MasterView class
Eventually the batch views should be refactored to leverage this..
2016-08-22 12:38:51 -05:00
Lance Edgar
aff90ac756 Add basic support for new handheld/inventory batches 2016-08-17 17:05:51 -05:00
Lance Edgar
db62f82a37 Add basic support for batch execution options 2016-08-17 16:52:13 -05:00
Lance Edgar
a6438e4bb5 Add permissions field when viewing user details
About damn time I'm sure...
2016-08-12 01:58:07 -05:00
Lance Edgar
c4b4b866ff Fallback to empty string for email preview recipient, if current user has no address 2016-08-04 13:19:55 -05:00
Lance Edgar
38927ce282 Add initial attempt at 'better' theme 2016-07-17 20:16:26 -05:00
Lance Edgar
35d4d35fd6 Add awareness of special 'Authenticated' role, in permissions UI etc. 2016-06-15 12:51:10 -05:00
Lance Edgar
1e0ef53aea Add support for viewing single employee's schedule / time sheet
A little sloppy perhaps, here and there..but seems to do the job.
2016-06-07 16:16:37 -05:00
Lance Edgar
123f5ce0c6 Add support for "full" schedule and time sheet views
Temporarily removes support for viewing current user's time sheet; that
will be added back in soon.
2016-05-10 13:08:32 -05:00
Lance Edgar
890392ab92 Various improvements to the schedule view
Still clearly not yet complete though.
2016-05-06 11:41:05 -05:00
Lance Edgar
b718336ac2 Refactor timesheet logic, add initial/basic schedule view
Clearly need to be able to filter by store/department yet.
2016-05-03 21:19:28 -05:00
Lance Edgar
34482892f7 Add prev/next week navigation to time sheet view 2016-05-02 19:26:21 -05:00
Lance Edgar
25ec005764 Add week navigation to time sheet view 2016-05-02 19:15:51 -05:00
Lance Edgar
785d0b5806 Remove 'create batch from results' link on products index page
This probably should come back someday, but in a smarter form and
leveraging new-style batches of course...
2016-05-02 16:43:56 -05:00
Lance Edgar
566777fef0 Tweak some styles on feedback template 2016-05-02 13:18:03 -05:00
Lance Edgar
157d4ccc9f Stop trying to use PIL when generating product image tag 2016-05-02 12:45:25 -05:00
Lance Edgar
1c0c148294 Add initial/basic user feedback form support 2016-05-01 20:39:05 -05:00
Lance Edgar
4ec8fdcf82 Add grid_index_nav() template def, for page header 2016-05-01 18:40:52 -05:00
Lance Edgar
abb42e9f25 Add initial support for grid index URLs
Yay, been wanting this for some time now.
2016-05-01 17:50:57 -05:00
Lance Edgar
70a2f10c81 Add auto-hide/show magic to message recipients field when viewing 2016-05-01 14:57:41 -05:00
Lance Edgar
6d2af6d698 Overhaul newgrid template header a bit, to improve styles 2016-04-30 20:54:22 -05:00
Lance Edgar
22e4d38d58 Add initial Time Sheet view
Hardly complete at this point, but proves the concept.
2016-04-28 18:18:11 -05:00
Lance Edgar
8141e90a8e Add commas to record/page count in grid footer
I.e. when those numbers are big enough to need them.
2016-04-21 13:44:31 -05:00
Lance Edgar
0f3f39d5c6 Add new TimeFieldRenderer, make it default for Time fields
Uses a jQuery UI widget similar to datepicker:

https://fgelinas.com/code/timepicker/
2016-03-24 00:06:04 -05:00
Lance Edgar
36149e48ed Tweak some styles for label printing on products index page, etc. 2016-02-15 13:24:27 -06:00
Lance Edgar
715dce1655 Split off the jquery theme from the rest of core head stuff, for easier override. 2016-02-14 21:41:43 -06:00
Lance Edgar
215a8c13b0 Refactor some more model views to use MasterView.
(emailbounce, depositlink, tax)
2016-02-14 21:34:01 -06:00
Lance Edgar
874fd6d4b3 More tweaks to new master-based batch views, etc. 2016-02-14 18:50:57 -06:00
Lance Edgar
7ac4af5f34 Refactor vendor invoice batch views to use BatchMasterView. 2016-02-14 17:50:03 -06:00
Lance Edgar
c83a3e6eb0 Overhaul vendor catalog batch views, to use BatchMasterView. 2016-02-14 17:07:48 -06:00
Lance Edgar
62221a1a25 Add new BatchMasterView for new-style batches. 2016-02-14 16:47:35 -06:00
Lance Edgar
7338560fc3 Tweak button label for restarting datasync. 2016-02-14 16:39:50 -06:00
Lance Edgar
e10b956bf7 "Fix" the stupid styles for the grid tools section..sort of..for now.
At least this gets us back to the basics somewhat.  Still ugly as hell though.
2016-02-13 13:44:55 -06:00
Lance Edgar
583548cad5 Refactor products view(s) per new master pattern.
Finally!
2016-02-12 20:44:41 -06:00
Lance Edgar
c65bc6f229 Refactor magic recipients field when sending new message.
Uses local cache of user mappings instead of AJAX calls; has just enough
customization hooks to allow for a department/user mapping for MJ...
2016-02-11 17:05:56 -06:00
Lance Edgar
ad9cd8be8e Protect message reply functions with 'create' permission. 2016-02-10 22:17:49 -06:00
Lance Edgar
46923d40da Add initial reply / reply-all support for messages. 2016-02-10 21:59:13 -06:00
Lance Edgar
84f85f0870 Add 'Move' button to message view template.
Get rid of context menu link.
2016-02-10 15:22:47 -06:00
Lance Edgar
687b83e2e1 Add support for sending new messages. 2016-02-05 14:42:56 -06:00