Lance Edgar
549976dcfb
Update changelog
2023-10-24 09:27:12 -05:00
Lance Edgar
756b4b9d18
No need to configure logging
...
since the rattail config object will do that when first made
2023-10-23 20:35:43 -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
ec8a8d5ddc
Update changelog
2023-10-23 13:06:38 -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
5e8ea67773
Include invoice number for receiving batch row API
2023-10-19 14:57:06 -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
230a54cb99
Fix default grid filter when "local" date times are involved
2023-10-18 21:25:13 -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
115e95b9a8
Update changelog
2023-10-12 10:37:12 -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
cd82f8927b
Fix grid sorting when column key/name differ
2023-10-11 16:13:20 -05:00
Lance Edgar
cddec51582
Update changelog
2023-10-11 15:56:16 -05:00
Lance Edgar
78deb5d09a
Use autocomplete instead of dropdown for grid "add filter"
2023-10-10 22:10:01 -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
44112a3a4b
Allow null for FalafelDateTime form fields
2023-10-09 15:50:41 -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
edb5393cdc
Add front-end support for multi-column grid sorting
...
user must ctrl-click column header to engage multi-sort
2023-10-08 16:38:24 -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
4beca7af20
Make grid JS loadAsyncData()
method truly async
...
not sure what this does but it seems to work, we'll see
2023-10-07 20:13:41 -05:00
Lance Edgar
a201072a9d
Update changelog
2023-10-07 18:57:03 -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
Lance Edgar
2f4877a264
Add "mark complete" button for inventory batch row entry page
2023-10-06 15:53:17 -05:00
Lance Edgar
d84b98041f
Avoid deprecated logic for fetching vendor contact email/phone
2023-10-06 15:03:17 -05:00
Lance Edgar
2ae2cdc4bd
Update changelog
2023-10-06 10:13:18 -05:00
Lance Edgar
d1d781966f
Fix bug for param helptext in New Report page
2023-10-06 10:12:38 -05:00
Lance Edgar
53cf771c81
Update changelog
2023-10-06 10:00:37 -05:00
Lance Edgar
d45ee34b0c
Expose permissions for POS, if so configured
2023-10-06 09:16:25 -05:00
Lance Edgar
e1a64de205
Fix bug in POS batch view
2023-10-05 19:59:57 -05:00
Lance Edgar
b30f6cdf3a
Fix CRUD pages for tempmon clients, probes
...
for some reason if helptext had embedded newlines, it would now fail
to render the form altogether. guess that is a result of recent
change to e.g. `<b-field :message="['foo', 'bar']">` logic,
somehow.. anyway hopefully this fixes and no more surprises
2023-10-05 13:11:05 -05:00
Lance Edgar
3dfab8e42d
Update changelog
2023-10-04 13:56:22 -05:00
Lance Edgar
7bae01f03c
Improve master view oneoff_import()
method
...
be more flexible about what caller must provide
2023-10-04 13:07:26 -05:00
Lance Edgar
f3dddf0e40
Avoid deprecated pretty_hours()
function
2023-10-04 11:56:50 -05:00
Lance Edgar
0b7791070f
Update changelog
2023-10-04 10:59:54 -05:00
Lance Edgar
4125be7e8d
Re-work FalafelDateTime logic a bit
...
need to be more "standard" in how (de)serialize works etc.
also be sure to show error messages if present, not just field helptext
2023-10-02 09:54:34 -05:00
Lance Edgar
746e13d134
Expose cash-back flags for tenders
2023-10-01 18:54:56 -05:00
Lance Edgar
b7ccc6ea07
Use enum to display POS_ROW_TYPE
2023-10-01 17:31:33 -05:00
Lance Edgar
a6bc3fb793
Update changelog
2023-10-01 12:09:32 -05:00
Lance Edgar
9f7e70f240
Add support for void rows in POS batch
2023-09-30 21:08:01 -05:00
Lance Edgar
0ee6725188
Tidy up logic for vendor filtering in products grid
...
was hoping to "fix" count issue but alas..
refs #23
2023-09-28 10:56:15 -05:00
Lance Edgar
f572757f00
Expose views for tenders, more columns for POS batch/rows
2023-09-27 17:13:49 -05:00
Lance Edgar
abcf1e1895
Add clone support for POS batches
...
just for testing of course..
2023-09-26 17:52:17 -05:00
Lance Edgar
a9e9474f5c
Do not allow executing custorder if no customer is set
...
or really any reason, as defined by handler
2023-09-26 09:32:57 -05:00
Lance Edgar
a11be5a1e1
Update changelog
2023-09-25 19:41:59 -05:00
Lance Edgar
e23b2f8711
Add custom form type/widget for time fields
...
ugh this still isn't that great, but making progress overall
2023-09-25 19:22:02 -05:00
Lance Edgar
032d37194f
Update changelog
2023-09-25 18:06:16 -05:00
Lance Edgar
3e56950872
Expose POS batch views as "typical"
2023-09-24 19:30:59 -05:00
Lance Edgar
5a2612acab
Update changelog
2023-09-24 14:47:54 -05:00
Lance Edgar
bda05aed86
Use header button instead of link for "touch" instance
2023-09-24 08:37:50 -05:00
Lance Edgar
91ac1a9031
Show customer for POS batches
2023-09-23 20:08:40 -05:00
Lance Edgar
53e8c15267
Add basic views for POS batches
2023-09-23 11:14:43 -05:00
Lance Edgar
d329b2945c
Show "true" (calculated) equity total in members grid
...
pretty sure will need to tweak this but wanted something in place at least
2023-09-21 14:39:18 -05:00
Lance Edgar
abca0115a6
Add remove_sorter()
method for grids
2023-09-21 14:37:33 -05:00
Lance Edgar
3d6cc8a490
Show yesterday by default for Trainwreck if so configured
2023-09-20 18:13:52 -05:00
Lance Edgar
836fc0bf5b
Update changelog
2023-09-19 16:37:05 -05:00
Lance Edgar
510b8383a4
Show catalog/invoice costs as 2-decimal currency in receiving
2023-09-19 15:03:16 -05:00
Lance Edgar
8b15f1304f
Use small text input for receiving cost editor fields
2023-09-19 14:45:48 -05:00
Lance Edgar
6274e33a8c
Prevent catalog/invoice cost edits if receiving batch is complete
2023-09-19 14:41:15 -05:00
Lance Edgar
1f97d4f5e5
Add link to vendor name for receiving batches grid
2023-09-19 14:40:58 -05:00
Lance Edgar
b566549d15
Update changelog
2023-09-18 18:40:51 -05:00
Lance Edgar
4d8c8b199c
Fix bug for new receiving from scratch via API
2023-09-18 18:37:41 -05:00
Lance Edgar
d1d69e9488
Show user warning if receive quick lookup fails
...
just b/c a UPC doesn't exist yet doesn't prevent the batch from (in
some cases) adding a row for "unknown product" - but if the UPC is
sufficiently invalid, that can't happen
2023-09-18 18:28:11 -05:00
Lance Edgar
a01fd62899
Update changelog
2023-09-17 21:21:10 -05:00
Lance Edgar
70956a2c47
Tweaks to improve handling of "missing" items for receiving
2023-09-17 18:30:38 -05:00
Lance Edgar
e894d1d1f4
Include PO number for receiving batch details via API
2023-09-17 18:03:30 -05:00
Lance Edgar
cc7b9ccb86
Avoid error when history has blanks for ordering worksheet
2023-09-17 17:23:59 -05:00
Lance Edgar
a807a0f50c
Add "falafel" custom date/time field type and widget
...
finally able to edit datetime fields, but feels like a lot of
assumptions to make, just to determine time zone..so keeping naive UTC
on the backend still, and naive local on the frontend
in general this needs more polish, but is a start..
2023-09-16 20:01:32 -05:00
Lance Edgar
99065548ff
Update changelog
2023-09-16 13:06:54 -05:00
Lance Edgar
df897aef13
Make member key field readonly when viewing equity payment
2023-09-16 13:06:26 -05:00
Lance Edgar
1cfc275eae
Update changelog
2023-09-15 19:30:27 -05:00
Lance Edgar
3968e40a0b
Add basic feature for "grid totals"
2023-09-15 19:19:20 -05:00
Lance Edgar
ac6106ca69
Update changelog
2023-09-15 10:34:25 -05:00
Lance Edgar
eed73eca81
Add get_rattail_app()
method for view supplements
2023-09-14 12:56:15 -05:00
Lance Edgar
608da824d9
Tweak default field list for batch views
2023-09-13 13:14:00 -05:00
Lance Edgar
03fc301dec
Update changelog
2023-09-12 18:31:18 -05:00
Lance Edgar
1cad8b2481
Show events instead of notes, in field subgrid for custorder item
2023-09-12 12:39:23 -05:00
Lance Edgar
e930199f83
Avoid legacy logic for Customer.people
schema
2023-09-11 17:13:07 -05:00
Lance Edgar
60044d5cdf
Update changelog
2023-09-11 15:58:35 -05:00
Lance Edgar
e793ba6630
Improve grids for custorder items
...
main grid as well as rows grid for Pending Product
2023-09-11 15:24:00 -05:00
Lance Edgar
67ec6f7773
Add support for "mark received" when viewing custorder item
2023-09-10 19:55:48 -05:00
Lance Edgar
ddb8e3656f
Add support for toggling custorder item "flagged"
2023-09-10 17:49:29 -05:00
Lance Edgar
e49e0edc57
Misc. improvements for Customer Orders view
2023-09-10 17:34:54 -05:00
Lance Edgar
e255c35e86
Set stacklevel for all deprecation warnings
2023-09-10 13:51:11 -05:00
Lance Edgar
48daa042d1
Show related customer orders for Pending Product view
...
and similar tweaks
2023-09-10 09:34:56 -05:00
Lance Edgar
64c58a3cf8
Optionally configure SQLAlchemy Session with future=True
...
this avoids the need for setting `cascade_backrefs=False` everywhere
https://docs.sqlalchemy.org/en/14/errors.html#error-s9r1
https://docs.sqlalchemy.org/en/14/orm/session_api.html#sqlalchemy.orm.Session.params.future
2023-09-10 07:44:13 -05:00
Lance Edgar
a9fbf48053
Use common POST logic for submitting new customer order
2023-09-09 16:21:57 -05:00
Lance Edgar
ccb4661b39
Add custom hook for grid "apply filters"
...
so a page can know when the data set changes..
this seems a bit hacky, may need a better solution some day
2023-09-09 14:14:23 -05:00