Commit graph

527 commits

Author SHA1 Message Date
Lance Edgar be41d0bb1e Add 'fake_error' view to test exception handling. 2015-03-17 14:49:20 -05:00
Lance Edgar c6ca64574b Update changelog. 2015-03-14 18:21:36 -05:00
Lance Edgar 62a93d1cd1 Hide "print labels" column on products list view if so configured. 2015-03-12 19:22:06 -05:00
Lance Edgar f34ae88c39 Update changelog. 2015-03-12 18:36:51 -05:00
Lance Edgar e82b8152a4 Bump rattail dependency. 2015-03-12 10:53:54 -05:00
Lance Edgar 5e79b132f9 Fix permission for taxes list/search view. 2015-03-11 23:44:27 -05:00
Lance Edgar ab0c5bb45f Fix permission for deposit link list/search view. 2015-03-11 23:42:40 -05:00
Lance Edgar a93b8a33fb Update changelog. 2015-03-11 21:29:09 -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 42da24a047 Add product UPC to JSON output of 'products.search' view. 2015-03-10 15:22:39 -05:00
Lance Edgar 085ce70820 Add numeric.js script for numeric-only text inputs. 2015-03-10 12:46:10 -05:00
Lance Edgar 666b553255 Add "save" icon and grid column style. 2015-03-10 12:45:44 -05:00
Lance Edgar d960738578 Add default Grid.iter_rows() implementation. 2015-03-10 12:44:58 -05:00
Lance Edgar 7c9e7cd138 Clean up some imports. 2015-03-07 14:21:48 -06:00
Lance Edgar 69a5eed83b Add shared GPC search filter, use it for product batch rows. 2015-03-07 14:19:19 -06:00
Lance Edgar 51e4eda662 Don't allow edit of vendor and effective date in catalog batches.
This may need to be tweaked in the future, but until then we'll be
conservative about it.
2015-03-06 19:15:03 -06:00
Lance Edgar d83ca4456a Fix bulk delete of batch rows.
Actually I didn't see this fail, but I've seen one instance where someone
else did.  This should hopefully be a safe approach.
2015-03-06 19:13:45 -06:00
Lance Edgar a7ecf445db Fix login redirect if referrer is not internal to site. 2015-03-05 16:55:09 -06:00
Lance Edgar d296b5bde5 Fix login so user is sent to their target page after authentication. 2015-03-05 16:19:38 -06: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 86db5181b8 Add some new vendor and product fields. 2015-02-27 01:53:36 -06:00
Lance Edgar 6ea032c591 Add unit_of_measure to product detail view. 2015-02-26 21:10:08 -06:00
Lance Edgar d50aef4e49 Add views for deposit links, taxes; update product view. 2015-02-26 19:06:20 -06:00
Lance Edgar d30d6f84e6 Update changelog. 2015-02-26 18:06:33 -06:00
Lance Edgar 99e11fe8d8 Hide deleted field from product details, according to permissions. 2015-02-26 18:01:55 -06:00
Lance Edgar 9e7d0e177d Don't include query string in embedded grid URL.
This was causing the param list to grow each time a search happened at
least, maybe more.
2015-02-24 23:53:22 -06:00
Lance Edgar 364a38a936 Make readonly version of batch file field not show download link. 2015-02-24 22:51:13 -06:00
Lance Edgar e216ed9281 Add validation to PO number for vendor invoices. 2015-02-24 22:50:59 -06:00
Lance Edgar e11a599f92 Add warning status for products with missing cost in vendor invoices. 2015-02-24 19:55:29 -06:00
Lance Edgar ce2b29433d Exclude 'deleted' items from reports. 2015-02-24 18:57:07 -06:00
Lance Edgar 50430e89db Add better error handling when batch refresh fails, etc.
Also don't force refresh when view is requested; instead just do a refresh
after batch is first created.
2015-02-23 20:10:21 -06:00
Lance Edgar 3e940e3c14 Fix bug when sorting batches by 'executed by' field.
Hopefully this gets it, seems like I may need an alias in there
somewhere...
2015-02-23 18:47:49 -06:00
Lance Edgar dba0f1fd51 Add edit template for vendor catalog batches. 2015-02-22 00:21:14 -06:00
Lance Edgar 3614254804 Improve data file handling for file batches.
Leverages a FormAlchemy "extension" of sorts.
2015-02-22 00:00:00 -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 aee69f5a2c Force grid table background to white.
This can be helpful if the overall page background is not white, in the
case of batch rows etc. which use color-coding to help indicate status.
2015-02-16 17:51:47 -06:00
Lance Edgar 730a2a2f01 Let custom vendor catalog batch handler be specified in config file.
This was using database settings exclusively.
2015-02-13 21:22:36 -06:00
Lance Edgar ae5ff89c7f Refactor app module to promote code sharing.
Hopefully this is a good approach, we'll see.
2015-02-13 21:22:01 -06:00
Lance Edgar 937a55c14d Add docs for new batch system.
And some other tweak(s).
2015-02-13 01:12:20 -06:00
Lance Edgar 6c7f1afcf4 Fix filename in batch file download link (again).
This hopefully prevents encoding errors which were bound to happen...
2015-02-12 23:32:17 -06:00
Lance Edgar 26e5be9897 Fix filename when downloading batch file. 2015-02-12 23:24:36 -06:00
Lance Edgar eedbcb81f8 Add download feature for file batches. 2015-02-12 23:19:01 -06:00
Lance Edgar 23addae818 Rearrange primary batch fields for vendor catalogs.
Catalog info seemed more important than who uploaded it.
2015-02-12 23:18:17 -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 c28a6b2e09 Update changelog. 2015-02-12 11:37:32 -06:00
Lance Edgar 8409d24273 Add case pack field to product CRUD form. 2015-02-11 20:26:56 -06:00
Lance Edgar 7b7ec2ccbd Change rattail dependency to include 'db' feature (again)... 2015-02-11 20:25:45 -06:00