Commit graph

2236 commits

Author SHA1 Message Date
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 03805942ae Update changelog 2017-01-06 17:38:45 -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 f68c3dd724 Update changelog 2017-01-03 12:32:59 -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 d43e1e4a5f Update changelog 2017-01-03 10:05:20 -06:00
Lance Edgar d4defef138 Fix type error in grid numeric filter 2017-01-03 10:02:14 -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 25866798cf Update changelog 2016-12-30 08:00:52 -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 01ed68a3fe Update changelog 2016-12-29 13:28:35 -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 4231bf0455 Update changelog 2016-12-28 16:44:19 -06:00
Lance Edgar 1da898c9cf Tweak default filter label for Batch ID 2016-12-28 16:43:07 -06:00
Lance Edgar 8f98d61a38 Tweak default "numeric" grid filter, to ignore UPC-like values
Those tend to cause SQL errors, so just "fail silently" for now.  This
situation needs to be improved on the front end at some point...
2016-12-28 16:42:09 -06:00
Lance Edgar f67fdb8c5b Update changelog 2016-12-28 14:53:06 -06:00
Lance Edgar de38c3a20a Fix CSRF token bug for bulk-move message forms 2016-12-28 14:51:16 -06:00
Lance Edgar e0865bef12 Update changelog 2016-12-22 12:27:35 -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 a3313938a3 Update changelog 2016-12-21 12:00:06 -06:00
Lance Edgar 113f474e8b Fix master merge template/forms to include CSRF token 2016-12-21 11:58:59 -06:00
Lance Edgar 2fbf719d61 Update changelog 2016-12-20 17:01:41 -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 3db2c9cba4 Update changelog 2016-12-19 13:39:26 -06:00
Lance Edgar aa99f3b506 Add QuantityFieldRenderer 2016-12-19 12:26:16 -06:00
Lance Edgar 4c929055e6 Add style for 'half-width' grid 2016-12-17 00:30:18 -06:00
Lance Edgar 2a53eba564 Update changelog 2016-12-16 12:47:22 -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 f7267597ee Tweak the CustomFieldRenderer base class a bit
Not sure who all's using this now..hopefully this breaks nothing
2016-12-15 00:36:58 -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 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 acbb3d289c Add ValidGPC formencode validator 2016-12-13 22:27:52 -06:00
Lance Edgar f890405162 Update changelog 2016-12-12 15:26:21 -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 79e63571e3 Make CurrencyFieldRenderer inherit from FloatFieldRenderer
Also cleanup some code generally..
2016-12-12 12:13:59 -06:00
Lance Edgar 06dee96af6 Add mobile support for datasync restart 2016-12-11 21:20:51 -06:00