Commit graph

3548 commits

Author SHA1 Message Date
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
Lance Edgar c5344d2df6 Update changelog 2023-09-08 19:55:14 -05:00
Lance Edgar 669e50e406 Fix member key display for equity payment form 2023-09-08 19:53:10 -05:00