Commit graph

446 commits

Author SHA1 Message Date
Lance Edgar 17017adde8 Tweak behavior when executing handheld batch results
redirect to final batch when done, try to warn user a bit
2017-06-22 01:02:03 -05:00
Lance Edgar 5a0fa20e03 Add way to execute multiple handheld batches at once 2017-06-21 17:29:06 -05:00
Lance Edgar 2d29174772 Remove all views etc. for old-style batches 2017-05-25 16:46:31 -05:00
Lance Edgar 522aad5880 Add basic ability to download Ordering Batch as Excel spreadsheet 2017-05-24 21:13:18 -05:00
Lance Edgar 346bb48f9c Add highlight to active row within Order Form view 2017-05-24 19:41:51 -05:00
Lance Edgar 38d623bcf9 Fix behavior of mobile receiving when first entering a quantity
i.e. replace default of '1' if user first presses a numeric key, but
always append to quantity after that
2017-05-24 00:17:06 -05:00
Lance Edgar 5eca2347d5 Add initial support for mobile receiving views 2017-05-24 00:04:56 -05:00
Lance Edgar d68bf6b012 Refactor "purchasing" batch views, split off "ordering"
remainder will be handled when the time comes..
2017-05-23 13:44:07 -05:00
Lance Edgar 4875c8ebdc Simplify page title display for mobile base template 2017-05-23 11:30:38 -05:00
Lance Edgar d93b91f491 Various tweaks for mobile receiving batches
this is temporary, soon will refactor all that again..
2017-05-22 13:13:44 -05:00
Lance Edgar d7160a0a38 Add daily hour totals when viewing or editing single employee time sheet 2017-05-15 17:34:47 -05:00
Lance Edgar 17f9e6d4a9 Remove customer view template
we shouldn't be doing anything special here, leave that up to derived app
2017-05-11 13:59:51 -05:00
Lance Edgar ee2137e1bf Add simple flag to prevent multiple submits for Order Form AJAX 2017-04-18 18:43:14 -05:00
Lance Edgar 589a747662 Auto-save time sheet day editor on Enter press if time field is focused
Hopefully this is a good idea, may have to revisit someday..?
2017-04-17 16:24:59 -05:00
Lance Edgar e64cdb3f80 Tweak mobile home page to leverage config for main image 2017-03-30 23:32:18 -05:00
Lance Edgar a3d0966139 Allow config to define home page image URL 2017-03-30 22:19:44 -05:00
Lance Edgar 0ad29c5283 Add basic paging grid/index support for mobile
still lots to do for this yet..but readonly basics are here..
2017-03-30 20:11:17 -05:00
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
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
Lance Edgar de7496e1aa Remove style hack for message grid views.
For now...still need to really fix this at some point.
2016-02-01 16:34:04 -06:00
Lance Edgar 7edfc98747 Add 'Stores' and 'Departments' fields to Employee fieldset. 2016-01-30 15:19:04 -06:00
Lance Edgar bcf1032156 Change default form buttons so Cancel is also a button. 2016-01-30 15:18:20 -06:00
Lance Edgar d6bdc0e87d Change vendor catalog upload, to allow vendor-less parsers.
The user must provide the vendor if the parser does not; the user cannot
override the vendor if the parser does provide it.
2016-01-21 20:05:01 -06:00
Lance Edgar b78b49d79e Add 'restart datasync' button to datasync changes list page. 2016-01-19 17:29:19 -06:00
Lance Edgar 973b9903ae Add employee/department relationships to employee and department views. 2016-01-17 19:45:42 -06:00
Lance Edgar 84ebb158bc Add initial support for 'messages' views. 2016-01-13 02:43:20 -06:00
Lance Edgar 9e3b2a646c Fix 'index' URL used in master view template. 2016-01-13 02:41:17 -06:00
Lance Edgar 1956c4c9cf Add edit mode for email "profile" settings.
Plus some related tweaks, needed to make that happen.
2016-01-10 17:35:34 -06:00
Lance Edgar 654c69772e Add "grid tools" to "complete" grid template.
We'll see about this...
2016-01-08 10:50:14 -06:00
Lance Edgar 640bb736b2 Add speed bump / confirmation page when deleting records.
Also cleanup the context menu links on various master CRUD pages.
2016-01-07 20:55:10 -06:00
Lance Edgar 16bbbb4a75 Convert (most?) basic views to use master view pattern. 2015-12-07 15:08:14 -06:00
Lance Edgar fee00b96a2 Convert 'people' view to use MasterView pattern. 2015-12-06 18:04:23 -06:00
Lance Edgar ef40af814a Add readonly support for email profile settings.
More to come...  Also this required some form tweaking/overhaul(s).
2015-12-04 17:25:52 -06:00
Lance Edgar 226ca01720 Add HTML5 doctype to base template. 2015-08-20 21:17:21 -05:00
Lance Edgar b75d94cbab Tweak labels for new grid filter form buttons. 2015-08-20 20:32:50 -05:00
Lance Edgar 73939b825e Add ability to download batch row data as CSV. 2015-08-19 20:06:13 -05:00
Lance Edgar 6c5eec7981 Add progress indicator to batch execution.
Also disable Execute button immediately when clicked.
2015-08-19 18:49:09 -05:00
Lance Edgar 3d44e3e857 Add CustomFieldRenderer and DateFieldRenderer. 2015-08-18 23:47:42 -05:00
Lance Edgar 6feb488884 Various tweaks to base batch views.
These were made to support a non-file batch; apparently that use case
hadn't seen much attention yet.
2015-08-18 21:17:15 -05:00
Lance Edgar e688471732 Don't show Save Defaults button if no user is logged in. 2015-08-17 17:21:41 -05:00
Lance Edgar 9d426fa54f Fix bug when rendering hidden field in FA fieldset.
Field wasn't being rendererd at all, if hidden.
2015-08-15 16:58:51 -05:00
Lance Edgar 2b1bdec2f8 Add "Save Defaults" button so user can save personal defaults for any new grid. 2015-08-14 19:59:26 -05:00
Lance Edgar d57f5169b0 Add 'Default Filters' and 'Clear Filters' buttons to new grid filters form. 2015-08-14 18:53:39 -05:00
Lance Edgar d2b065a8fc Add basic checkbox support to new grids.
Also:

 * Add 'creatable', 'editable' etc. to master view class.
 * Add styles for warning/notice grid rows.
 * Misc. other tweaks.
2015-08-14 15:31:11 -05:00
Lance Edgar 761620028c Fix progress template, per jQuery CDN changes. 2015-08-13 13:50:42 -05:00
Lance Edgar d4210844ac Convert label profiles to use master view.
Plus some more minor tweaks to the framework.
2015-08-12 00:46:39 -05:00
Lance Edgar af07f477dc Convert User pages to use master view.
And of course make some more tweaks to new grids etc.
2015-08-11 23:24:02 -05:00
Lance Edgar 9605d44b05 Convert Roles to use master view.
Also tweak the grid API here and there.
2015-08-11 15:01:21 -05:00
Lance Edgar 585eb09bec Add support for "new-style grids" and "model master views".
Finally, an API that makes some sense...  We don't yet have feature parity
with the old-style grids and CRUD views, but this is already a significant
improvement to the design.  Still needs a lot of docs though...
2015-08-10 18:58:31 -05:00
Lance Edgar 0db1c252cd Add "core" JS/CSS defs to base template, for sharing's sake. 2015-08-08 17:00:04 -05:00
Lance Edgar 0ddb5bffd7 Add plain text of message body to email bounce view.
Also tweak some labels.
2015-07-23 15:47:17 -05:00
Lance Edgar f523146a4b Add initial support for email bounce management. 2015-07-22 20:01:16 -05:00
Lance Edgar e0cb47d03a Add list of assigned users to role view page.
This surely could be better still; at least this is *something*.
2015-07-16 17:11:25 -05:00
Lance Edgar 4290f0d8df Allow batch view to disable the Execute button in some cases.
Although this only disables the UI button element, it doesn't really
prevent anything beyond that...
2015-07-09 01:42:19 -05:00
Lance Edgar ef2dcee4c5 Add "extra panels" customization hook to product details template. 2015-03-24 13:12:24 -05:00
Lance Edgar 366572e0a7 Add view template for vendor catalog batch rows. 2015-03-19 02:25:03 -05:00
Lance Edgar 8285993fa6 Add ability to view details (i.e. all fields) of a batch row. 2015-03-19 01:25:38 -05:00
Lance Edgar 3fed317805 Add UI support for Product.last_sold and current_price_ends pseudo-field. 2015-03-10 17:51:12 -05:00
Lance Edgar 2762e8e072 Tweak product detail layout some more. 2015-02-27 17:02:12 -06:00
Lance Edgar 2a8dc14e1c And some more tweaks.. 2015-02-27 03:26:27 -06:00
Lance Edgar 6252c3f777 More tweaks to product details view. 2015-02-27 03:24:15 -06:00
Lance Edgar 3b9efe0ffb Add panels to product details view, etc. 2015-02-27 03:07:49 -06:00
Lance Edgar d50aef4e49 Add views for deposit links, taxes; update product view. 2015-02-26 19:06:20 -06:00
Lance Edgar dba0f1fd51 Add edit template for vendor catalog batches. 2015-02-22 00:21:14 -06:00
Lance Edgar 2e8db05717 Add initial support for vendor invoice batch feature, etc.
Also included:

* Add "edit batch" template, refactor "view batch" template.
* Tweak form templates to allow specifying form ID and buttons HTML.
* Make deleting batch rows only work when editing a batch.
2015-02-16 18:00:45 -06:00
Lance Edgar 16be06821a Wrap up initial vendor catalog batch support etc.
* Adds the ability to delete all batch rows matching current query.
* Refactors some progress factory args.
* If batch initialization fails, don't persist batch.
2015-02-12 21:35:28 -06:00
Lance Edgar e6b448f298 More versioning support fixes, to allow on or off. 2015-02-10 20:10:03 -06:00
Lance Edgar aa70ffc9f0 Rework versioning support to allow it to be one or off.
Turns out versioning isn't quite ready for prime time, so let's have a
fallback plan shall we?
2015-02-10 19:07:46 -06:00
Lance Edgar def466935b Add initial versioning support with SQLAlchemy-Continuum. 2015-02-09 23:36:40 -06:00
Lance Edgar b05f30d9fe New batch system! Hopefully nothing else broke...
Attempt number 5,176 at a decent batch system, we'll see.
2015-01-19 00:52:40 -06:00
Lance Edgar c4a19f279b Remove some edbob, unicode tweak, etc.
In particular it was noticed that edbob has been configuring FormAlchemy
all this time, whoops.  That's still partially the case but now at least
it's explicit.
2015-01-19 00:49:07 -06:00
Lance Edgar 9f62ed6b07 Ugh, add unwanted jQuery libs to progress template.
This is really just a hack to get around the problem of `tailbone.js`
always trying to load the menubar and make buttons pretty etc...
2015-01-11 19:15:05 -06:00
Lance Edgar 646956dfdb Fix bug with progress template, when error occurs (?).
Not real clear about why this problem existed.  Hopefully this "fix" comes
with no side effects...
2014-12-17 14:51:13 -06:00
Lance Edgar 78b09cacd0 Update base.css with various things from other projects.
Also update "progress" template accordingly.
2014-12-17 14:50:47 -06:00
Lance Edgar cc2c2573e5 Add grid, CRUD views for Setting model.
This required some tweaks to the base CRUD view etc.
2014-11-23 14:27:00 -06:00
Lance Edgar 86507cf660 Tweak CRUD form buttons a little.
Change submit button wording for edit forms, from "Update" to "Save".  Also
show Cancel as a link instead of button.
2014-11-23 14:25:13 -06:00
Lance Edgar 8bf292ebac Remove some more edbob cruft. 2014-11-18 23:00:24 -06:00
Lance Edgar b2439dee70 Add monospace font for label printer format command. 2014-10-29 16:29:16 -05:00
Lance Edgar 350c944e91 Fix some bugs with printer profile stuff, per recent rattail changes. 2014-09-26 15:31:34 -07:00
Lance Edgar a3cfbd1e09 Add "exclude not for sale" option to Inventory Worksheet. 2014-09-11 20:59:43 -07:00
Lance Edgar dcc1699f69 Add explicit file encoding to all Mako templates.
Also remove some u"" style strings within templates, since they appear to
be unnecessary.
2014-07-23 21:35:33 -07:00
Lance Edgar f9d22f59f2 Add customer phone autocomplete and customer "info" AJAX view.
This autocomplete view is a little different than the typical ones used
prior, and required some refactoring of the base autocomplete view as well
as the autocomplete template.
2014-07-13 12:47:03 -07:00
Lance Edgar 6943298ee0 Add product report codes to the UI. 2014-07-12 16:03:31 -07:00
Lance Edgar 389bb5dcc6 Add POD image support to product view page. 2014-04-13 17:54:22 -07:00
Lance Edgar 087342b09c Add Family and Product.family to the general grid/crud UI. 2014-04-13 00:04:30 -07:00
Lance Edgar 0d65691952 Update URL references to Rattail home page. 2014-02-21 10:10:49 -08:00
Lance Edgar 857a4b88e5 Fixed change password template/form. 2013-09-10 20:37:19 -07:00
Lance Edgar 332122a4e9 Added progress template. 2013-09-10 09:54:11 -07:00
Lance Edgar 017815a9e2 Made logo more easily customizable in login template. 2013-09-09 21:57:35 -07:00
Lance Edgar 2e84873666 Added global_title() to base template. 2013-09-06 04:13:50 -07:00
Lance Edgar 7d19700c3c More standalone operation stuff.
Stop using `edbob.db.engine`, stop using all edbob templates, etc.
2013-09-01 20:25:34 -07:00
Lance Edgar 2a50e704ef Major overhaul for standalone operation.
This removes some of the `edbob` reliance, as well as borrowing some templates
and styling etc. from Dtail.
2013-09-01 15:31:50 -07:00
Lance Edgar 40efd8a3bc Rebranded to Tailbone. 2013-09-01 08:18:37 -07:00