Commit graph

267 commits

Author SHA1 Message Date
Lance Edgar
5ff57ae7d2 Add link to download generic template for vendor catalog batch
also let config restrict which parsers are "supported"

and auto-choose parser if there is only one
2021-11-05 18:40:46 -05:00
Lance Edgar
b34d88d704 Avoid exposing batch params when creating a batch
not sure how this never came up until now..?
2021-11-04 21:20:42 -05:00
Lance Edgar
7651efff9d Highlight "cannot calculate price" rows for new product batch 2021-10-31 11:56:46 -05:00
Lance Edgar
54f1a52ed0 Add hover text for vendor ID column of pricing batch row grid 2021-08-29 19:52:44 -05:00
Lance Edgar
4addedef6e Expose pack_size for delproduct batch 2021-07-15 14:13:01 -05:00
Lance Edgar
8eee4a1cf0 Set UPC renderer for delproduct batch row 2021-07-15 13:29:31 -05:00
Lance Edgar
d1a35a4d58 Allow direct creation of new label batches
now technically this is allowed on desktop, but probably makes more
sense on mobile via api
2021-05-18 12:46:45 -05:00
Lance Edgar
661d536e9d Highlight "has inventory" rows for delete item batch
also pass list of such rows to template context
2021-04-28 14:06:35 -05:00
Lance Edgar
7532dc5117 Add support for inactivity_months field for delete product batch 2021-03-09 11:44:56 -06:00
Lance Edgar
97e1700cf9 Expose date_created for delete product batches 2021-03-05 12:51:55 -06:00
Lance Edgar
492546d0f6 Add hover text for subdepartment name, in pricing batch row grid 2021-03-02 09:26:36 -06:00
Lance Edgar
ba790823ed Highlight delete product batch rows with "pending customer orders" status 2021-03-01 17:34:24 -06:00
Lance Edgar
793022b92f Misc. tweaks for vendor catalog batch
per rattail changes, in particular for sake of Corporal, to allow for
non-native vendor and product associations
2021-02-15 12:57:35 -06:00
Lance Edgar
ff904d840f Tweaks per "delete products" batch 2021-02-13 12:29:43 -06:00
Lance Edgar
f58b065316 Make errors more obvious, when running batch commands as subprocess
admin still must consult logs to determine cause, but at least UI won't hang
2021-02-09 14:24:05 -06:00
Lance Edgar
e462e41ae1 Cleanup default display for vendor catalog batches
expose description, notes etc.
2021-02-09 14:22:07 -06:00
Lance Edgar
5969515f25 Render batch execution description as markdown 2021-02-09 14:21:07 -06:00
Lance Edgar
f93fd7aefa Fix display of handheld batch links, when viewing label batch 2021-02-02 14:48:34 -06:00
Lance Edgar
0128690da8 Update references to vendor invoice batches
per table/model rename
2021-02-02 13:49:10 -06:00
Lance Edgar
9b76e23354 Update references to vendor catalog batches
per table/model rename
2021-02-02 13:28:56 -06:00
Lance Edgar
329e75ee82 Add initial "scanning" feature for Ordering Batches 2021-01-31 21:51:46 -06:00
Lance Edgar
708641a8f1 Purge things for legacy (jquery) mobile, and unused template themes
gosh it feels good to get rid of this stuff...  fingers crossed that nothing
was broken, but am thinking it's safe
2021-01-30 15:52:47 -06:00
Lance Edgar
719e7c8441 Normalize naming of all traditional master views
such names should never use plural forms.  for now what plural forms were
previously in use, should still work.  ideally can remove those at some point
2021-01-28 16:32:25 -06:00
Lance Edgar
f480c046f6 Add views for "delete product" batch 2021-01-19 12:18:56 -06:00
Lance Edgar
3cd5fa7f4a Misc. tweaks to vendor catalog views
for sake of titeship
2020-10-23 22:08:43 -05:00
Lance Edgar
711ed947a3 Add "worksheet file" pattern for editing batches
lets user download a worksheet, edit, then upload back to update the batch
2020-09-18 12:17:04 -05:00
Lance Edgar
d2d632092b Add support for batch execution options in Buefy themes
i.e. from "view batch" page
2020-08-23 13:53:55 -05:00
Lance Edgar
58362ae858 Add buefy theme support for ordering worksheet 2020-08-20 17:56:19 -05:00
Lance Edgar
d0e7f7dda2 Improve rendering of true_margin column for pricing batch row grid 2020-08-09 15:50:25 -05:00
Lance Edgar
cf8072e402 Use handler do_delete() method when deleting a batch
even though it seems we have 2 calls to `session.delete(batch)` now, but things
are still working..fingers crossed
2020-07-29 21:58:31 -05:00
Lance Edgar
0dfe52a42d Don't allow "execute results" for any batches by default
custom app must always explicitly opt-in to that feature
2020-07-07 19:23:52 -05:00
Lance Edgar
2139fea3d0 Expose "shelved" field for pricing batches 2020-05-18 14:42:02 -05:00
Lance Edgar
d9f6a7201e Let config totally disable the old/legacy jQuery mobile app 2020-04-04 20:51:49 -05:00
Lance Edgar
e9fc9ccbf7 Use "quick entry" logic from batch handler, for mobile inventory
pretty sure desktop version still needs cleanup, but later...
2020-03-29 15:20:34 -05:00
Lance Edgar
71a9010579 Make handler responsible for locating product for inventory batch 2020-03-29 15:20:34 -05:00
Lance Edgar
0e7835e2d9 Make inventory batch handler responsible for finding row for product 2020-03-29 15:20:32 -05:00
Lance Edgar
069eac1cf6 Add temporary method for inventory batch view
calling code should invoke handler directly instead of using this method, but
for now we need it to exist
2020-03-29 14:30:48 -05:00
Lance Edgar
dc4531f545 Let inventory batch handler decide which count modes are available 2020-03-29 13:37:50 -05:00
Lance Edgar
6a58f5f5d3 Let inventory batch handler decide if products should be aggregated 2020-03-29 13:33:38 -05:00
Lance Edgar
12b567d3d2 Let inventory batch handler decide what to do about unknown product scan 2020-03-29 13:09:14 -05:00
Lance Edgar
2532fcbea2 Let inventory batch handler decide if case input is allowed 2020-03-29 13:04:11 -05:00
Lance Edgar
0704717ec5 Let inventory batch handler declare which count modes are allowed
preparing for API/mobile usage
2020-03-29 12:46:41 -05:00
Lance Edgar
242e14e8a9 Allow bulk-delete for Inventory Batches 2020-03-29 12:07:42 -05:00
Lance Edgar
35bef2c3dd Move inventory batch view to its proper location
but keep "inventory adjustment reasons" where it was; that also is proper
2020-03-29 12:05:05 -05:00
Lance Edgar
af07b433ad Fix rendering of batch ID in forms 2020-03-23 21:41:44 -05:00
Lance Edgar
13802c49a8 Add "generic" render_id_str() method to MasterView
not sure how useful, but maybe
2020-03-23 21:25:43 -05:00
Lance Edgar
eaeda6ca36 Fix row status filter for Import/Export batches
per Buefy theme
2020-03-23 20:55:46 -05:00
Lance Edgar
297ca3fe11 Fix default row grid config logic for batches
make sure we don't overwrite configured row labels
2020-03-20 14:58:29 -05:00
Lance Edgar
0483f47b26 Add support for refreshing multiple batches (results) at once 2020-03-02 18:11:13 -06:00
Lance Edgar
2605f5ab79 Fix batch row status breakdown for Buefy themes
also, fix the "import batch from file" feature UI, per Buefy theme
2020-03-02 14:38:06 -06:00