Commit graph

3049 commits

Author SHA1 Message Date
Lance Edgar 3bb0c8468b Update changelog 2020-05-20 15:53:49 -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 b13cae11fa Update changelog 2020-05-15 10:56:56 -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 f0224144b7 Update changelog 2020-04-07 21:19:48 -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 4c3b189108 Update changelog 2020-04-06 13:20:44 -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 0fbc8c9247 Add initial API views for inventory batches 2020-03-29 16:31:16 -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 aaabde5c5a Add link to generate new report, when viewing one 2020-03-26 15:30:14 -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 2a4832f9b9 Declare the v-model for "dynamic select" widget 2020-03-24 18:19:25 -05:00
Lance Edgar c14ecd2948 Add helper function, get_csrf_token() 2020-03-24 18:19:05 -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
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 af4be59fe0 Add "local only" column to Users grid
but only show if user has perm of course
2020-03-23 20:24:03 -05:00
Lance Edgar 917d5ab3fa Expose the Role.notes field for view/edit
also add a simple "<pre> with sans-serif font" renderer
2020-03-23 19:59:28 -05:00
Lance Edgar cd019fb05b Fix the "change password" form per Buefy theme 2020-03-23 19:33:56 -05:00
Lance Edgar e04e67774e Add common permission for sending user feedback
there can be valid reasons to *not* expose that, so let admin decide
2020-03-23 19:33:00 -05:00
Lance Edgar 51e1a85f0b Fix some spacing in header for Buefy theme 2020-03-22 16:42:05 -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 1570871884 Use proper cornice service registration, for API batch execute etc. 2020-03-20 14:40:27 -05:00
Lance Edgar a721ec4a43 Misc. API improvements for sake of mobile receiving 2020-03-20 13:51:34 -05:00
Lance Edgar ad9c193061 Clean up some purchasing views 2020-03-19 14:36:43 -05:00
Lance Edgar 3223a77cb1 Add "danger" style for "delete" grid row action 2020-03-19 00:02:27 -05:00
Lance Edgar e57010cd3d Update changelog 2020-03-18 23:44:34 -05:00
Lance Edgar 0ea4b98b1f Expose more Member data, relationships with Customer, Person 2020-03-18 13:15:11 -05:00
Lance Edgar eb57ebe62b Show member number by default instead of ID
for now..  should probably make configurable though
2020-03-18 12:45:29 -05:00
Lance Edgar 72796d1e04 Expose new Member.number field 2020-03-18 12:29:18 -05:00
Lance Edgar 970b5871e5 Add/improve various display of Member data 2020-03-18 11:27:58 -05:00
Lance Edgar 8ac0bb2334 Expose default email address, phone number when editing a Person 2020-03-17 18:50:07 -05:00