Commit graph

74 commits

Author SHA1 Message Date
Lance Edgar 919d8d109f Use Grid.make_sorter() instead of legacy code
b/c multi-column sorting relies on this
2023-10-18 18:18:55 -05:00
Lance Edgar 70956a2c47 Tweaks to improve handling of "missing" items for receiving 2023-09-17 18:30:38 -05:00
Lance Edgar f611a5a521 Refactor Query.get() => Session.get() per SQLAlchemy 1.4 2023-02-11 22:05:45 -06:00
Lance Edgar 976a5836a9 Purge even more jquery stuff
and related static files etc. from old themes

this might be the end of it..??
2023-02-03 17:08:33 -06:00
Lance Edgar b64f6c7884 Use newer config strategy for all views
to make inheritance easier
2022-11-23 12:20:58 -06:00
Lance Edgar 36d4f0a5f7 Add basic edit support for Purchases 2022-07-24 21:10:52 -05:00
Lance Edgar 6af5157b4e Update some method calls to avoid deprecation warnings 2022-01-08 19:48:14 -06:00
Lance Edgar 0209957def Fix config defaults for PurchaseView
so can customize that more easily
2021-02-01 17:15:39 -06:00
Lance Edgar fac00e6ecd Misc. improvements for ordering batches, purchases
also we now show handler's description when executing batch
2021-01-30 13:17:08 -06:00
Lance Edgar ad9c193061 Clean up some purchasing views 2020-03-19 14:36:43 -05:00
Lance Edgar 3760c3239f Improve display of purchase credit data
esp. within a receiving batch row
2019-03-07 12:21:50 -06:00
Lance Edgar 2bd107056c Add MasterView.render_product(), fix edit for pricing batch row 2018-10-23 17:20:47 -05:00
Lance Edgar d8b45db331 Improve support for "receive from scratch" workflow, esp. for mobile
also try harder to make certain aspects easier to enable/disable via handler,
e.g. whether cases should be allowed as quantity input, or expired credits
should be a thing etc.
2018-07-17 19:55:15 -05:00
Lance Edgar da10c6503c Add support for new credit_total field for purchase credits 2018-06-27 15:20:20 -05:00
Lance Edgar b66af5903b Add invoice_total column for purchase credits grid
that probably isn't quite right, but at least is something
2018-06-27 15:08:53 -05:00
Lance Edgar cd7922f204 Add "most of" support for truck dump receiving
still not complete, but conceptually it sort of is...
2018-05-18 15:51:47 -05:00
Lance Edgar a5d1eece71 Improve default behavior for receiving a purchase batch
only targeting desktop so far, mobile is next...
2018-05-03 18:15:35 -05:00
Lance Edgar 90f0fcfea6 Expose vendor item code for purchase credits
also, fix some issues with mobile receiving logic
2018-03-01 15:16:40 -06:00
Lance Edgar d75fe88c44 Expose ship_method and notes_to_vendor for purchase, ordering batch 2018-02-22 11:16:33 -06:00
Lance Edgar 1b059c5293 Refactor ordering worksheet to use shared logic 2018-02-19 18:19:19 -06:00
Lance Edgar ee35cc6f22 Misc. cleanup for Python 3 2018-02-12 14:41:40 -06:00
Lance Edgar 2219315ccc Collapse all master4 views back to just 'master' 2018-02-05 21:23:23 -06:00
Lance Edgar 533b491124 Refactor purchase views per master4 2018-02-05 13:00:34 -06:00
Lance Edgar 88fe195615 Refactor all "easy" views per master4 2018-02-05 13:00:33 -06:00
Lance Edgar ce0195bd51 Refactor several more straggler views to use master3 2018-01-08 20:41:31 -06:00
Lance Edgar bb12c5107c Refactor purchases view to use master3 2017-12-05 18:52:54 -06:00
Lance Edgar 4902fab187 Refactor views to use Grid.set_sort_defaults() method 2017-12-04 22:40:10 -06:00
Lance Edgar ec4e52fa1a Add mechanism for user to bulk-change status for purchase credits
trying to stay pretty generic yet...
2017-08-15 12:58:16 -05:00
Lance Edgar 3820891277 Fix batch links when viewing purchase object 2017-08-01 14:54:04 -05:00
Lance Edgar 2a9cf3db49 Fix master view get_effective_data() for v3 grids
used when creating new batch from product results etc.

this also tweaks purchase credits view a bit
2017-07-14 16:43:49 -05:00
Lance Edgar 5b1ae27a10 Add new "v3" grids, refactor all views to use them
or at least that's the idea..hopefully we caught them all
2017-07-14 03:57:36 -05:00
Lance Edgar 60104f05c7 Make all batches support mobile by default
with default pending/etc. filter also
2017-07-11 15:25:05 -05:00
Lance Edgar 581ced2990 Switch license to GPL v3 (no longer Affero)
refs #2
2017-07-06 23:47:56 -05:00
Lance Edgar 8014e60d14 Add webhelpers2 dependency, use it for most things
still using webhelpers for certain things yet, hopefully can get rid of that soon
2017-07-06 20:13:42 -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 242bcd7603 Remove references to deprecated batch handler methods 2017-05-18 11:57:30 -05:00
Lance Edgar cb39ca7970 Populate data rows for new mobile purchasing batch, if applicable
i.e. if batch is meant for receiving an existing PO etc.
2017-05-18 11:48:28 -05:00
Lance Edgar f0feefc7e5 Tweak how purchase batch is created via mobile
to let custom apps override args etc.
2017-05-18 11:33:01 -05:00
Lance Edgar 9e0e21399b Fix subtle bug when identifying purchase batch row on order form update 2017-05-18 09:22:39 -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 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 8e35b68e05 Make sure invoice number is saved when making new purchasing batch 2017-02-14 23:12:37 -06:00
Lance Edgar 39bc1039c4 Set form id for new purchasing batch page 2017-02-14 22:06:42 -06:00
Lance Edgar 11a0d85286 Fix bug when first entry is empty for product on ordering form 2017-02-09 18:58:00 -06:00
Lance Edgar 732681b545 Tweaks to order form template etc., for purchasing batch 2017-01-25 11:15:17 -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