Commit graph

1712 commits

Author SHA1 Message Date
Lance Edgar
7f8271e215 Don't require department by default, for new purchasing batch 2020-08-21 12:28:01 -05:00
Lance Edgar
58362ae858 Add buefy theme support for ordering worksheet 2020-08-20 17:56:19 -05:00
Lance Edgar
7a01cb8873 Allow for unknown/missing "changed by" user for product price history 2020-08-20 17:51:59 -05:00
Lance Edgar
9620fc5a83 Add config for "global" help URL 2020-08-20 17:51:00 -05:00
Lance Edgar
cfa9c95814 Tweaks for export views, to make more generic 2020-08-19 17:23:23 -05:00
Lance Edgar
a038f2a98d Make "download row results" a bit more generic
to handle non-native table/rows, w/ non-uuid key
2020-08-16 16:57:06 -05:00
Lance Edgar
aac0e7d35c Tweak config methods for customer master view 2020-08-11 18:28:03 -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
ca31af196f Expose user reference(s) for employees 2020-08-09 14:39:31 -05:00
Lance Edgar
163134326a Coalesce on User.active when merging 2020-08-09 14:32:16 -05:00
Lance Edgar
7d158e58b5 Add protected_usernames() config function 2020-08-06 02:04:17 -05:00
Lance Edgar
808e737202 Add basic/unfinished "new customer order" page/feature
so far creates the order batch, and can set some customer info
2020-08-02 20:59:16 -05:00
Lance Edgar
493785591c Add basic web views for "new customer order" batches 2020-08-02 15:27:10 -05:00
Lance Edgar
8ea379bbff Add more customization hooks for making grid actions in master view 2020-07-30 16:38:03 -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
e0ce7e8505 Add self.cloning convenience indicator for master view 2020-07-28 21:19:47 -05:00
Lance Edgar
0798102ba5 Tweak "coalesce" logic for merging field data 2020-07-22 19:53:35 -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
ca64d52021 Make field list explicit for Store views 2020-07-05 00:21:00 -05:00
Lance Edgar
793d80f092 Make field list explicit for Department views 2020-07-04 11:44:09 -05:00
Lance Edgar
66bf11e893 Tweak field label for Product.item_id 2020-06-29 16:57:05 -05:00
Lance Edgar
c1a2bb978c Use byte string filters for row grid too
if master view needs them at all, chances are they should apply to row grid as
well as main grid
2020-06-24 10:53:43 -05:00
Lance Edgar
c7c3dea6b2 Improve support for composite key in master view 2020-06-22 18:26:43 -05:00
Lance Edgar
bb11263bad Tweak how we freeze column for role/perm matrix 2020-06-22 16:21:45 -05:00
Lance Edgar
e5f0831369 Add ability to download roles / permissions matrix as Excel file 2020-06-22 16:00:33 -05:00
Lance Edgar
6463df7224 Add dropdown, autohide magic when editing Role permissions
only for Buefy theme though
2020-06-22 14:59:17 -05:00
Lance Edgar
31df41283c Don't allow edit/delete of rows, if master view says so
also fix "back to parent" link when viewing row
2020-06-12 18:40:10 -05:00
Lance Edgar
b5f9c8e358 Sort available reports by name, if handler doesn't specify
also add basic support for "decimal" params
2020-05-19 12:42:07 -05:00
Lance Edgar
2139fea3d0 Expose "shelved" field for pricing batches 2020-05-18 14:42:02 -05:00
Lance Edgar
2ac2a98727 Don't auto-include "Guest" role when finding roles w/ permission X
otherwise "all" roles are returned when checking for a perm which Guest role
does have granted
2020-05-14 22:07:34 -05:00
Lance Edgar
5f2dd31485 Parse pip requirements file ourselves, instead of using their internals
that problem just kept getting worse, so i stole this solution partly from:

77879cf341
2020-05-14 21:53:41 -05:00
Lance Edgar
3a6ced388a Allow the home page to include quickie search
make it easier for any "non-master" view to do so
2020-04-07 13:44:13 -05:00
Lance Edgar
cc96d9877b Defer fetching price, cost history when viewing product details
user can ask for that history if they need it, but it's too expensive to always
fetch by default for initial page load
2020-04-06 13:12:38 -05:00
Lance Edgar
f2b5e2302a Delete some unwanted tests; delay import for tempmon session
view config can now depend on rattail config, and tests don't like that... but
they didn't really do anything that useful anyway i think
2020-04-04 21:44:01 -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
d2c4791611 Add basic dashboard page for TempMon
only the older jQuery theme is supported for now...
2020-04-04 19:47:28 -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
65f41480eb Allow bulk-delete, merge for Brands table 2020-03-27 18:15:33 -05:00
Lance Edgar
89ffbd6efc Add support for "choice" widget, for report params
also add support for default value, for a param
2020-03-26 15:24:16 -05:00
Lance Edgar
febe651e31 Stop raising an error if view doesn't define row grid columns
just show whatever is gonna show by default; they can edit list if they want
2020-03-23 22:35:24 -05:00