Lance Edgar
d4089fbc6e
Some more tweaks to remove "buefy" references
...
mostly just docstring / comments but there were some code changes too
2024-04-14 20:56:11 -05:00
Lance Edgar
ba521abf4f
Remove some references to "buefy" name within docstrings, comments
2024-04-14 20:30:52 -05:00
Lance Edgar
c036932ce4
Remove several references to "buefy" name
...
class methods, template filenames, etc.
also made various edits per newer conventions
2024-04-14 19:54:29 -05:00
Lance Edgar
1973614840
Rename people "view_profile" template (drop buefy suffix)
2024-04-13 09:09:23 -05:00
Lance Edgar
cbbd77c49c
Show toast msg instead of silent error, when grid fetch fails
...
specifically, if a user clicks "Save defaults" for the grid filters,
but they aren't currently logged in, error will ensue.
this is a bit of an edge case which IIUC would require multiple tabs
etc. but still is worth avoiding an error email from it.
2024-04-11 16:58:12 -05:00
Lance Edgar
aa500351ed
Avoid error for tax field when creating new department
...
someday should fix that for real..
2024-04-11 16:37:55 -05:00
Lance Edgar
1889f7d269
Add basic CRUD for Person "preferred first name"
...
only shown if config flag says so
2024-04-01 18:26:18 -05:00
Lance Edgar
dfdb7a9b59
Fix bulk-delete rows for import/export batch
...
per changes in SQLAlchemy 1.4
2024-03-27 13:13:33 -05:00
Lance Edgar
0b7d2f5aed
Fix how metadata/bind is used for importer batch table
...
per changes coming in SQLAlchemy 2.0
2024-03-26 11:47:37 -05:00
Lance Edgar
a40add8f41
Expose default custorder discount for Departments
2023-12-22 11:50:05 -06:00
Lance Edgar
3bdc7175a3
Use common logic to render invoice total for receiving
...
and avoid error if total is none
2023-12-20 11:56:24 -06:00
Lance Edgar
90e35ee3db
Hide single invoice file field for multi-invoice receiving batch
2023-12-19 12:49:33 -06:00
Lance Edgar
90630fe852
Auto-disable submit button for login form
...
not sure why i had explicitly disabled that before..?
2023-12-13 12:05:54 -06:00
Lance Edgar
35131c8732
Provide a way to show enum display text for some version diff fields
...
master view must explicitly declare which enums for which fields
2023-11-30 18:23:47 -06:00
Lance Edgar
f4cb1cb097
Avoid error when editing a department
...
just a temp hack, need to fix proper yet
2023-11-29 15:03:08 -06:00
Lance Edgar
e39581695f
Fix DB picker, theme picker per Buefy conventions
2023-11-17 17:00:50 -06:00
Lance Edgar
fc96fb40fb
Log warning instead of error for batch population error
...
this is most typically caused by bad user input; a warning is shown on
screen so they hopefully can guess what the problem is. no need to
loop in the admins via email
2023-11-05 18:31:43 -06:00
Lance Edgar
9fa592c5d6
Expose status code for equity payments
2023-11-05 16:57:14 -06:00
Lance Edgar
55a115e57a
Add button to confirm all costs for receiving
2023-11-01 20:53:11 -05:00
Lance Edgar
a0075f6f78
Log warning / avoid error if email profile can't be normalized
...
e.g. if some import error happens
2023-10-29 22:22:16 -05:00
Lance Edgar
fe4a178d43
Add way to "ignore" a pending product
...
and some related tweaks for sake of grid
2023-10-26 20:43:12 -05:00
Lance Edgar
441a6e5e0c
Add separate perm for making new custorder for unknown product
2023-10-25 14:06:40 -05:00
Lance Edgar
b5c68831b5
Do not show profile buttons for inactive customer shoppers
2023-10-25 12:20:04 -05:00
Lance Edgar
72dda3771e
Add price confirm prompt when adding unknown item to custorder
...
optional, per config
2023-10-24 19:51:27 -05:00
Lance Edgar
4247804707
Allow pending product fields to be required, for new custorder
2023-10-24 19:17:36 -05:00
Lance Edgar
e308108bf7
Show user warning if "add item to custorder" fails
...
specifically, if user enters alpha chars for cost/price fields
2023-10-24 17:48:08 -05:00
Lance Edgar
f708cb0b25
Fix bug when editing vendor
2023-10-24 17:44:02 -05:00
Lance Edgar
72e4daafc1
Fix config file priority for display, and batch subprocess commands
2023-10-24 09:53:40 -05:00
Lance Edgar
f70772fabc
Allow override of version diff for master views
...
and misc. other tweaks
2023-10-23 15:48:48 -05:00
Lance Edgar
6d79766b24
Stop using sa-filters for basic grid sorting
...
this just breaks if we need to use "aliased" models e.g. when sorting
and/or filtering by Product "regular price" column and similar. so
now sorting more like we always used to, except for multi-column.
nb. this still assumes callers use `Grid.make_sorter()` when declaring
the sorters. if caller must specify more custom/explicit sort logic
then it likely will not work and we'll have to add a workaround to
allow avoiding the common logic..but that's another day
2023-10-21 16:10:36 -05:00
Lance Edgar
421266e70c
Show more customer attrs for POS batch
2023-10-20 14:29:45 -05:00
Lance Edgar
d87de1dc4f
Expose permission for POS batch, toggle training mode
2023-10-19 20:48:52 -05:00
Lance Edgar
dc99828b66
Show food stamp tender info for POS batch
2023-10-19 19:12:28 -05:00
Lance Edgar
0d30247353
Add validtion to prevent duplicate files for multi-invoice receiving
...
by comparing sha256 hash values for each file
2023-10-19 14:03:25 -05:00
Lance Edgar
aaf6f05820
Remove sorter for "Credits?" column in purchasing batch row grid
...
too convoluted, and broken per recent sort overhaul
2023-10-19 13:02:17 -05:00
Lance Edgar
954a2b78be
Expose new price fields for POS batch row
2023-10-18 21:25:32 -05:00
Lance Edgar
13565d1c45
Avoid "None" when rendering product UOM field
2023-10-18 21:24:37 -05:00
Lance Edgar
919d8d109f
Use Grid.make_sorter()
instead of legacy code
...
b/c multi-column sorting relies on this
2023-10-18 18:18:55 -05:00
Lance Edgar
659f5a8fe1
Replace dropdowns with autocomplete, for "find principals by perm"
2023-10-18 17:35:14 -05:00
Lance Edgar
f86cc83996
Fix order xlsx download if missing order date
2023-10-17 15:26:22 -05:00
Lance Edgar
7525aaaa87
Expose more permissions for POS
2023-10-12 16:31:44 -05:00
Lance Edgar
5940778189
Fix version child classes for Customers view
...
must be sure to include any supplements
2023-10-12 10:33:56 -05:00
Lance Edgar
1a15d70568
Add some awareness of suspend/resume for POS batch
2023-10-11 23:11:23 -05:00
Lance Edgar
d66dd5f199
Add permission for testing error handling at POS
2023-10-11 19:55:51 -05:00
Lance Edgar
507a9ffc71
Expose department tax, FS flag
2023-10-11 18:35:35 -05:00
Lance Edgar
4328b9e385
Show full version history within the "view" page
...
avoid full page loads when navigating version history
2023-10-10 11:02:02 -05:00
Lance Edgar
9efe767654
Add smarts to show display text for some version diff fields
...
e.g. show `str(customer)` along with `customer_uuid` since almost
nobody will "care" about the uuid so much, they just want the name
2023-10-09 00:19:29 -05:00
Lance Edgar
6d7754cf2a
Add back-end support for multi-column grid sorting
...
or very nearly, anyway. front-end still just supports 1 column yet
2023-10-08 14:29:01 -05:00
Lance Edgar
07b1d0841e
Improve views for taxes, esp. in POS batches
2023-10-07 16:26:33 -05:00
Lance Edgar
eccb855d09
Expose tender ref in POS batch rows; new tender flags
2023-10-06 20:34:14 -05:00