Commit graph

3908 commits

Author SHA1 Message Date
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
Lance Edgar bc06a72993 Add prettier UPCs to ordering worksheet report. 2015-02-11 03:27:31 -06:00
Lance Edgar bf18bab909 Update changelog. 2015-02-11 00:55:37 -06:00
Lance Edgar f3d449c9f3 Add UI support for Product.deleted column.
This leverages the 'products.view_deleted' permission to hide products
which are marked as deleted from various views.  Also adds a 'deleted'
class to product grid rows where the flag is set, and adds a flash warning
when viewing a deleted product.
2015-02-11 00:52:23 -06:00
Lance Edgar 6434e64f5e Update changelog. 2015-02-10 20:10:49 -06:00
Lance Edgar e6b448f298 More versioning support fixes, to allow on or off. 2015-02-10 20:10:03 -06:00
Lance Edgar 994af9dd3f Update changelog. 2015-02-10 19:15:56 -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 bd44d886c4 Update changelog. 2015-02-10 11:24:42 -06:00
Lance Edgar 5ad5cb569d Only attempt to count versions for versioned models. 2015-02-10 11:23:35 -06:00
Lance Edgar 75729be79f Update changelog. 2015-02-09 23:56:25 -06:00
Lance Edgar def466935b Add initial versioning support with SQLAlchemy-Continuum. 2015-02-09 23:36:40 -06:00
Lance Edgar 41dd2ef17b Add category to product CRUD view. 2015-02-09 13:31:41 -06:00
Lance Edgar 0455e472f5 Cleanup some view modules per conventions etc.
Mainly this makes extending them easier..
2015-02-09 13:30:29 -06:00
Lance Edgar eedbc5fb9a Various grid and form tweaks. 2015-02-09 13:20:34 -06:00
Lance Edgar 3257010a7e Change default sort for People grid view. 2015-02-02 20:44:32 -06:00
Lance Edgar 7fbabc8792 Add department to field lists for category views. 2015-01-31 18:18:54 -06:00
Lance Edgar ccb7b47912 Update changelog. 2015-01-20 17:58:31 -06:00
Lance Edgar c328c96203 Let settings determine which batch handler to use for vendor catalog views. 2015-01-20 13:22:20 -06:00
Lance Edgar 7c761bee99 Fix some imports etc. regarding new batch system. 2015-01-20 00:51:51 -06:00