Lance Edgar
1adcb98f11
Various template standardization tweaks
2017-03-29 00:21:10 -05:00
Lance Edgar
b1f98c1023
Add 'status' column to vendor cost table in product view
...
(available vs. discontinued)
2017-03-28 19:56:02 -05:00
Lance Edgar
7463d4e092
Add default view for unhandled exceptions
...
to give the user a bit of low-down as to what should happen next...
2017-03-28 00:00:35 -05:00
Lance Edgar
04e9752ee1
Detect "backwards" shift when time sheet is edited, alert user
2017-03-27 23:25:17 -05:00
Lance Edgar
bef0a2d0b6
Tweak organization panel for product view template
...
for better customization
2017-03-26 18:42:20 -05:00
Lance Edgar
77a252399b
Add unit item and pack size fields to product view
2017-03-25 15:28:38 -05:00
Lance Edgar
d373eb9ac1
Broad refactor to improve customization of purchase order form etc.
...
* add dropdown alternative for autocomplete renderer
* auto-enhance some common dropdowns
* refactor new purchase batch, order form view/templates
2017-03-24 17:22:12 -05:00
Lance Edgar
3dfe3dfa28
Add CostFieldRenderer
and tweak product view template
...
latter being for easier customization
2017-03-23 20:32:56 -05:00
Lance Edgar
e34bd947bc
Allow config to override jQuery UI version
2017-03-21 21:23:35 -05:00
Lance Edgar
4c7f398c88
Add extra_main_fields()
method to product view template
2017-03-21 19:35:32 -05:00
Lance Edgar
27c118eb10
Rollback our jQuery UI version again..to 1.11.4
...
apparently the new one introduces some changes which need to be
investigated further. This change also makes it easier to override
the core jquery script tags, for experimenation...
2017-03-21 13:40:59 -05:00
Lance Edgar
5494266698
Bump default jQuery UI version to 1.12.1
...
previously was 1.11.4
2017-03-21 13:17:35 -05:00
Lance Edgar
581a21bd9d
Add basic "mobile index" master view, plus support for demo mode
2017-03-19 11:21:00 -05:00
Lance Edgar
15eae8b2c7
Various tweaks to the customer and person views/forms
...
These things still need plenty more help...
2017-03-17 15:52:26 -05:00
Lance Edgar
b3599d8241
Add 'discontinued' flag to product view
...
Also, don't render product description as link if it's empty
2017-03-03 15:08:00 -08:00
Lance Edgar
7d7bdb11ae
Add ingredients field to product view
2017-02-27 21:34:02 -08:00
Lance Edgar
89a4b5645c
Add notes panel to product details view
2017-02-27 20:48:38 -08:00
Lance Edgar
cf059baffa
Add initial support for native product images
...
Definitely not perfect yet, but a start..
2017-02-23 13:21:19 -06:00
Lance Edgar
555935c71e
Expose notes field for purchasing batches
...
Plus various other tweaks for styles and coding conventions etc.
2017-02-21 14:27:16 -06:00
Lance Edgar
3930ed9a16
Add beginnings of mobile receiving views
...
Very incomplete, not much is supported yet, but this is a start..
2017-02-19 13:17:28 -06:00
Lance Edgar
6ed752d477
Add generic "bulk delete" support to MasterView
2017-02-17 19:40:21 -06:00
Lance Edgar
35126e8e5b
Tweak progress template to better handle reset to 0%
...
for those tasks which invoke the progress meter multiple times
2017-02-16 19:44:31 -06:00
Lance Edgar
e3ec3be03b
Add support for client-side session timeout warning
2017-02-16 13:32:20 -06:00
Lance Edgar
4ae70de339
Tweak product view page styles
...
Use the new grid styles, plus tweak a field renderer
2017-02-15 14:16:14 -06:00
Lance Edgar
c24120393f
Tweak styles for 'sources' grid on products view page
2017-02-15 01:13:46 -06:00
Lance Edgar
6bcfd0515f
Advance to password field when Enter pressed on username, login page
2017-02-13 19:08:18 -06:00
Lance Edgar
051b52bd4b
Tweak form handling for sending a new message, for more customization
2017-02-13 17:37:16 -06:00
Lance Edgar
70e5915e51
Tweak styles for Send Message page
2017-02-13 16:45:45 -06:00
Lance Edgar
e6bd9e18d0
Fix bug in base 'shifts' template if weekdays
not in context
2017-02-10 14:40:19 -06:00
Lance Edgar
7ca03df04d
Refactor the Edit Time Sheet view for "autocommit" mode
...
I.e. instead of letting changes queue up for "batch" mode, immediately
flush changes to server after each edit.
2017-02-09 16:11:40 -06:00
Lance Edgar
d21c8bcaeb
Rename case_pack to case_size
2017-02-08 15:30:44 -06:00
Lance Edgar
cab339e367
Add support for Find Roles by Permission X feature
2017-02-06 13:37:42 -06:00
Lance Edgar
dd5162c151
Add initial version of "Find Users by Permission" page
2017-02-04 18:16:18 -06:00
Lance Edgar
af415693b6
Add config flag for disabling option to "Clear Schedule"
...
I.e. when editing the schedule
2017-02-04 12:38:26 -06:00
Lance Edgar
1e4612bcbe
Refactor schedule / timesheet views for better separation of concerns
...
This was needed to support a "late clock-ins" view which included both
scheduled *and* worked shift data..
2017-01-30 23:03:05 -06:00
Lance Edgar
e452ea1ae9
Add min diff threshold param when making price batch from product query
...
Hopefully this sets the stage for arbitrary batch params here..
2017-01-30 16:11:29 -06:00
Lance Edgar
7104e275c3
Add ability to edit employee time sheet
...
Also disable some unwanted autocomplete logic, plus add ability to
prevent autocomplete "change click" event
2017-01-29 18:53:52 -06:00
Lance Edgar
732681b545
Tweaks to order form template etc., for purchasing batch
2017-01-25 11:15:17 -06:00
Lance Edgar
c2a189cb40
Add basic support for cloning batches
...
For now only label batches support this by default
2017-01-24 21:36:58 -06:00
Lance Edgar
5bc3cb7431
Fix CSRF token bug with email preview form, refactor to use webhelpers
2017-01-09 13:38:17 -06:00
Lance Edgar
e102fa3df5
Prefer received quantities over ordered quantities, for Order Form history
2017-01-03 12:32:02 -06:00
Lance Edgar
e13e2cfaaf
Add "discarded" flag when receiving DMG/EXP products; add view for purchase credits
2016-12-30 12:37:07 -06:00
Lance Edgar
e9dd44fa39
Tweak the "create" screen for purchase batches, for more customization
...
Also add some fields to the batch row fieldset
2016-12-30 07:52:56 -06:00
Lance Edgar
814fd12e9e
Refactor Order Form a bit to allow custom history data
2016-12-29 13:23:21 -06:00
Lance Edgar
de38c3a20a
Fix CSRF token bug for bulk-move message forms
2016-12-28 14:51:16 -06:00
Lance Edgar
a0f32854e8
Fix CSRF token bug for old-style batch params form
2016-12-22 12:26:56 -06:00
Lance Edgar
113f474e8b
Fix master merge template/forms to include CSRF token
2016-12-21 11:58:59 -06:00
Lance Edgar
0b10021942
Update some enum references, render all purchase batch cases/units fields as quantity
2016-12-20 16:10:22 -06:00
Lance Edgar
feef8a5ecc
Fix some bugs in product view template
2016-12-20 16:09:59 -06:00
Lance Edgar
8afaf80128
Various tweaks to purchasing batch views
2016-12-19 16:17:56 -06:00
Lance Edgar
7a9780e2b8
Fix CSRF bug in Ordering Form template, make case quantity pretty
2016-12-19 14:45:20 -06:00
Lance Edgar
6186200aba
Make case quantity render a little prettier on product view
2016-12-15 16:31:32 -06:00
Lance Edgar
9a6ad16e2f
Overhaul product views a little, per customization needs
2016-12-15 15:11:15 -06:00
Lance Edgar
d40d5e3f6b
Tweak some field renderers for sake of product view
2016-12-14 23:27:45 -06:00
Lance Edgar
ef649d8c96
Fix CSRF tokens for datasync restart forms
2016-12-14 18:52:12 -06:00
Lance Edgar
4ed522ae47
Add global CSRF protection
2016-12-14 18:37:17 -06:00
Lance Edgar
ab09314ed3
Add initial support for CSRF token protection
2016-12-14 15:41:15 -06:00
Lance Edgar
11e78adaab
Add "print receiving worksheet" feature, for 'ordered' purchases
2016-12-14 12:32:41 -06:00
Lance Edgar
ed252c6465
Overhaul the Receiving Form to account for "product not found" etc.
...
Also shows ordered/received/etc. quantities
2016-12-13 22:28:50 -06:00
Lance Edgar
7f14f50ee0
More mobile view improvements, various
2016-12-12 15:24:26 -06:00
Lance Edgar
06dee96af6
Add mobile support for datasync restart
2016-12-11 21:20:51 -06:00
Lance Edgar
22c7fee0f6
Tweak icons for mobile menu
2016-12-11 19:52:17 -06:00
Lance Edgar
024d3c1975
Add mobile support for "become/stop root" feature
2016-12-11 19:16:24 -06:00
Lance Edgar
ee0bdc4b74
OMG..lots of changes for sake of mobile login / user menu etc.
...
Feeling a bit sloppy right about now...oh well good enough
2016-12-11 18:07:30 -06:00
Lance Edgar
c2d2b6e072
Change jquery CDN URLs from HTTP to HTTPS
2016-12-11 01:43:17 -06:00
Lance Edgar
d77216374f
Add initial mobile templates: base, home, about
2016-12-11 01:39:51 -06:00
Lance Edgar
aa9c7abdb5
Add 'restartable tempmon client' conditional logic
2016-12-10 11:56:25 -06:00
Lance Edgar
839d3957dd
Add initial support for mispicks / attaching credits for receiving batch
2016-12-10 09:08:37 -06:00
Lance Edgar
1ab2a70e60
Add initial/basic support for damaged/expired items in receiving batch
2016-12-09 15:30:14 -06:00
Lance Edgar
dd08b71458
Tweak various views for purchase batches
2016-12-09 14:20:16 -06:00
Lance Edgar
c73ba56505
Add support for 'department' field in purchases / batches
...
Also fix logic for deleting a purchase (delete its batches first)
2016-12-09 14:01:06 -06:00
Lance Edgar
6c3d221e98
Add new 'receiving form' for purchase batches
2016-12-09 12:09:18 -06:00
Lance Edgar
e4a10cf7fc
Update footer text/link per new about page
2016-12-07 22:06:27 -06:00
Lance Edgar
457ce97f4e
Add 'extra_styles' to true base template
2016-12-07 16:00:20 -06:00
Lance Edgar
ee6d3195c5
Add basic 'about' page with some package versions
2016-11-28 18:28:33 -06:00
Lance Edgar
139d9a4fed
Hopefully fix styles for 'print schedule' page
2016-11-26 20:29:10 -06:00
Lance Edgar
0296c29dd7
Add support for restarting tempmon client
2016-11-22 00:55:30 -06:00
Lance Edgar
a39c347ad3
Add initial views for tempmon
2016-11-21 23:53:20 -06:00
Lance Edgar
8399eb8f91
Add initial support for 'costing' mode for purchase batches
2016-11-21 03:37:45 -06:00
Lance Edgar
67f6c11307
Add support for 'receiving' mode for purchase batches
2016-11-21 01:07:35 -06:00
Lance Edgar
8acb9b0029
Bump jquery version
...
Did this while troubleshooting something, maybe unnecessary but what the heck
2016-11-21 01:04:28 -06:00
Lance Edgar
d46b0cbc70
Add support for mode, purchase relation for purchase batches
2016-11-20 17:48:04 -06:00
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
203f0242fb
Refactor batch views / templates per rattail framework overhaul
2016-11-19 18:34:50 -06:00
Lance Edgar
c275071499
Add size, extra link fields to product view template
2016-11-14 19:29:00 -06:00
Lance Edgar
73fcf84d59
Disable save button when creating new object
2016-11-14 17:51:23 -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
43eb2f107f
Display sequence for product alt codes
...
Might as well, for now..
2016-11-09 16:59:08 -06:00
Lance Edgar
ecdf9b6926
Tweak merge template
2016-11-09 14:15:16 -06:00
Lance Edgar
ba1fa6d617
Tweak verbiage for merge template etc.
2016-11-09 02:17:01 -06:00
Lance Edgar
63d89b696a
Fix line item PO Total update for new purchase Order Form
2016-11-08 23:44:34 -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
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
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
a398a0a710
Tweak styles for global header
2016-10-28 10:26:23 -05:00
Lance Edgar
2772057381
Tweak default styles for home page
2016-10-25 18:14:59 -05:00
Lance Edgar
1327b886fc
Disable delete button by default, when clicked
2016-10-16 03:30:42 -05:00
Lance Edgar
7e3d47aa5c
Fix / improve progress display somewhat
2016-10-16 03:30:12 -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
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