Commit graph

2247 commits

Author SHA1 Message Date
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
Lance Edgar b05f30d9fe New batch system! Hopefully nothing else broke...
Attempt number 5,176 at a decent batch system, we'll see.
2015-01-19 00:52:40 -06:00
Lance Edgar c4a19f279b Remove some edbob, unicode tweak, etc.
In particular it was noticed that edbob has been configuring FormAlchemy
all this time, whoops.  That's still partially the case but now at least
it's explicit.
2015-01-19 00:49:07 -06:00
Lance Edgar e47477f0c4 Improve UPC search for rows within batches.
As with the products page, now this search works with or without the check
digit.
2015-01-15 12:17:35 -06:00
Lance Edgar 7d42950527 Tweak variable name. 2015-01-15 01:49:17 -06:00
Lance Edgar b7aa4b36d0 Add unique username check when creating users. 2015-01-15 01:40:00 -06:00
Lance Edgar 4535ba0851 Require 'auth' feature of rattail package.
This stupid bcrypt thing, hopefully this is a good idea...
2015-01-14 15:44:28 -06:00
Lance Edgar 050276218a Update changelog. 2015-01-13 21:27:31 -06:00
Lance Edgar 7bbadfd338 Add support for integer search filters.
This mostly just avoids to suppress type errors by stripping out
non-numeric chars from input.
2015-01-13 21:22:56 -06:00
Lance Edgar 9f62ed6b07 Ugh, add unwanted jQuery libs to progress template.
This is really just a hack to get around the problem of `tailbone.js`
always trying to load the menubar and make buttons pretty etc...
2015-01-11 19:15:05 -06:00
Lance Edgar d8b2112d01 Fix bug in product search UPC filter. 2015-01-11 19:14:18 -06:00
Lance Edgar 107da5dd9d Fix bug with default search filters for SA grids.
Sometimes the default search value needs to be `False`, in which case we do
want the filter to fire.
2015-01-10 17:16:33 -06:00