Commit graph

351 commits

Author SHA1 Message Date
Lance Edgar 9ea98bb27b Add ability to merge subdepartments 2017-01-24 14:59:00 -06:00
Lance Edgar 0b5a644de1 Improve columns, filters for TempMon Readings grid 2017-01-12 15:36:18 -06:00
Lance Edgar 4b586c6249 When making batch from products, build query *before* starting thread
Otherwise permission checks will fail, if any are needed to build query
2017-01-06 17:36:50 -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 55973bf30a Set "order date" when creating new receiving batch 2016-12-30 09:45:22 -06:00
Lance Edgar ed06ada8c4 Add department UUID to JSON returned for "eligible purchases" when creating batch 2016-12-30 09:00:13 -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 feed93eb61 Add extra perms for restricing which 'mode' of purchase batch user can create 2016-12-29 12:09:47 -06:00
Lance Edgar 2b7e38d077 Fix purchase batch execution, to redirect to Purchase *or* Batch
Depending on what the handler returned from execution
2016-12-29 11:56:42 -06:00
Lance Edgar 1da898c9cf Tweak default filter label for Batch ID 2016-12-28 16:43:07 -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 8afaf80128 Various tweaks to purchasing batch views 2016-12-19 16:17:56 -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 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 86c667e1f1 Auto-append slash to URL when necessary
This should make people happy, if they notice..
2016-12-13 22:29:46 -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 14ac7aa198 Fix session bug in old CRUD views 2016-12-12 15:24:09 -06:00
Lance Edgar 06dee96af6 Add mobile support for datasync restart 2016-12-11 21:20:51 -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 d77216374f Add initial mobile templates: base, home, about 2016-12-11 01:39:51 -06:00
Lance Edgar 34bd40ca86 Hide first/last name for employee view, unless in readonly mode 2016-12-10 16:03:55 -06:00
Lance Edgar 35d1c24bc7 Tweak flash message when sending email preview, in case it's disabled 2016-12-10 14:54:52 -06:00
Lance Edgar ed4c445fbe Show 'enabled' column in grid, fix prefix bug for email profiles 2016-12-10 14:15:40 -06:00
Lance Edgar a0408e87f9 Fix plural titles for Tempmon model views 2016-12-10 12:06:49 -06:00
Lance Edgar ede7869a22 Fix bug when restarting tempmon client 2016-12-10 11:59:32 -06:00
Lance Edgar aa9c7abdb5 Add 'restartable tempmon client' conditional logic 2016-12-10 11:56:25 -06:00
Lance Edgar 16f00b02df Validate for unique tempmon probe config key 2016-12-10 11:23:22 -06:00
Lance Edgar 8578a063f3 Add PO/invoice unit costs to purchase batch row view 2016-12-10 10:23:21 -06:00
Lance Edgar 6389481cea Remove some deprecated field renderers 2016-12-10 10:14:52 -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 ccc1374f6d Fix bug when editing a data row
This was a new-ish bug, caused I think by 4a2ba3925d
2016-12-09 10:34:35 -06:00
Lance Edgar 369d5849a9 Revert to display_name field for person views 2016-12-08 12:13:45 -06:00
Lance Edgar 96ef75a75d Hopefully fix some bugs with people view(s) 2016-12-07 20:36:54 -06:00
Lance Edgar cebde053ad Fix permission group label for email bounces 2016-12-07 17:04:52 -06:00
Lance Edgar cc34e77a2c Fix permission / grid action bug for email profiles 2016-12-07 16:57:08 -06:00
Lance Edgar d8c4f92aa5 Tweak tempmon views a little, fix client restart logic 2016-12-07 16:00:00 -06:00
Lance Edgar 4a2ba3925d Use master view's session when creating form
Needed when allowing create for models from non-rattail database
2016-12-05 21:01:30 -06:00
Lance Edgar 7705c765ee Fix import bugs with tempmon views 2016-12-05 21:01:18 -06:00
Lance Edgar b339290274 Allow delete for datasync changes 2016-12-05 21:00:50 -06:00
Lance Edgar 8674cf1650 Refactor tempmon views to leverage rattail-tempmon database 2016-12-05 19:14:20 -06:00
Lance Edgar 083f8ecde0 Tweak email config views, to support subject "templates" 2016-12-01 11:56:26 -06:00
Lance Edgar dc00239b5f Fix bug in products view class
Need to invoke the core View init logic, for `self.enum`
2016-11-30 14:08:12 -06:00