Commit graph

208 commits

Author SHA1 Message Date
Lance Edgar
4498bc001f Tweak fields for product view 2016-11-29 15:30:05 -06:00
Lance Edgar
948987232a Tweak some fields for Product view 2016-11-27 14:17:42 -06:00
Lance Edgar
668191b2e9 Add support for pricing batches 2016-11-21 19:36:57 -06:00
Lance Edgar
203f0242fb Refactor batch views / templates per rattail framework overhaul 2016-11-19 18:34:50 -06:00
Lance Edgar
ad2724fd2f Make POD image for product view a bit more sane 2016-11-11 22:15:47 -06:00
Lance Edgar
0477561ca6 Add support for making new-style batches from products grid query
Just label batches so far, will have to revisit that
2016-11-06 23:31:27 -06:00
Lance Edgar
2b3b69ed70 Tweak how we auto-filter 'deleted' products
Hopefully this doesn't break anything?  This change is required for a
user who has 'become root' to see deleted products.
2016-10-27 15:58:00 -05:00
Lance Edgar
68ba3a7fcb Add 'vendor code' and 'vendor code (any)' filters for products grid 2016-10-26 18:47:44 -05:00
Lance Edgar
e15888ffcd Add render_progress() method to core view class 2016-08-09 19:46:49 -05:00
Lance Edgar
aaa1d17507 Add hyperlinks to product UPC and description, within main grid
These won't honor the indexing scheme yet, still need to think about
that.
2016-05-03 22:10:54 -05:00
Lance Edgar
c83a3e6eb0 Overhaul vendor catalog batch views, to use BatchMasterView. 2016-02-14 17:07:48 -06:00
Lance Edgar
62221a1a25 Add new BatchMasterView for new-style batches. 2016-02-14 16:47:35 -06:00
Lance Edgar
a341acb4f0 Make our DateTimeFieldRenderer the default for datetime fields. 2016-02-14 16:34:39 -06:00
Lance Edgar
a5080b113d Various tweaks to products grid filters etc.
Trying to troubleshoot some things...think we're good now.  Some of the
changes here were made and then discovered not to be necessary yet, but
left in place since they're probably good ideas anyway.
2016-02-13 13:00:55 -06:00
Lance Edgar
583548cad5 Refactor products view(s) per new master pattern.
Finally!
2016-02-12 20:44:41 -06:00
Lance Edgar
ab40685175 Clean up products view imports etc. a bit. 2015-12-07 15:07:48 -06:00
Lance Edgar
a7bcf71642 Fix references to config.getboolean(). 2015-08-17 12:40:42 -05:00
Lance Edgar
fca1ae55db Fix missing import bug. 2015-07-21 12:54:49 -05:00
Lance Edgar
d0a977d64b Add products autocomplete view. 2015-07-20 09:51:08 -05:00
Lance Edgar
b30549cab6 Fix bug when creating batch from product query.
Caused by some refactoring to remove edbob cruft.
2015-04-14 15:38:57 -05:00
Lance Edgar
84c5f0a327 Add dept. number and friends to product details page. 2015-03-23 02:36:18 -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
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
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
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
99e11fe8d8 Hide deleted field from product details, according to permissions. 2015-02-26 18:01:55 -06:00
Lance Edgar
8409d24273 Add case pack field to product CRUD form. 2015-02-11 20:26:56 -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
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
d8b2112d01 Fix bug in product search UPC filter. 2015-01-11 19:14:18 -06:00
Lance Edgar
2a04caaf99 Make product UPC search view strip non-digit chars from input.
This is to accomodate the apparently frequent use case of copy/paste which
includes the check digit as a "-X" type suffix.
2014-12-18 15:43:49 -06:00
Lance Edgar
8bf292ebac Remove some more edbob cruft. 2014-11-18 23:00:24 -06:00
Lance Edgar
b2aa45ceb0 Fix bugs when configuring database session within threads.
This got missed during a recent refactor.
2014-11-11 10:48:48 -06:00
Lance Edgar
5b173dd9bc Change session progress API.
Breaks compatibility, but worth it I think..
2014-11-02 20:48:22 -06:00
Lance Edgar
4a598bd360 Add explicit session config within batch threads.
This may not be particularly necessary in general, but this change is
required to match previous functionality.
2014-11-02 19:40:14 -06:00
Lance Edgar
9d2a35c8b1 Refactor some label printing stuff, per rattail changes.
This had to do with some edbob removal.
2014-09-13 19:16:25 -07:00
Lance Edgar
dfb5e83c7e Add support for Product.not_for_sale flag.
This involved a couple of ancillary changes:

* The price field renderer will not display a price for products marked not
  for sale.

* The "grid" class now allows specifying a custom callable to provide
  additional CSS class for table rows.

* The products grid uses this to add a "not-for-sale" class to table rows
  for products which are marked thusly.
2014-09-10 19:38:49 -07:00
Lance Edgar
6943298ee0 Add product report codes to the UI. 2014-07-12 16:03:31 -07:00
Lance Edgar
8cf5605e8e Remove some edbob references. 2014-06-12 22:07:34 -07:00
Lance Edgar
389bb5dcc6 Add POD image support to product view page. 2014-04-13 17:54:22 -07:00
Lance Edgar
087342b09c Add Family and Product.family to the general grid/crud UI. 2014-04-13 00:04:30 -07:00
Lance Edgar
e4ef46d4fc Fix vendor filter/sort issues in products grid. 2014-04-12 19:14:14 -07:00
Lance Edgar
d6f2b1afb1 Use global Session from rattail (again). 2014-02-15 19:27:22 -08:00
Lance Edgar
c6d01e0205 Add SessionProgress class. 2014-01-28 22:14:11 -08:00