Commit graph

3937 commits

Author SHA1 Message Date
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
Lance Edgar 7221400b88 Fix msg body display, download link for email bounces 2023-09-08 10:56:25 -05:00
Lance Edgar 6e50288bd4 Add grid link for equity payment description 2023-09-08 08:49:43 -05:00
Lance Edgar 84de5e09a2 Update changelog 2023-09-07 21:00:40 -05:00
Lance Edgar f717bc47e5 Fallback to None when getting values for merge preview 2023-09-07 20:57:33 -05:00
Lance Edgar f732e04f49 Update changelog 2023-09-07 18:36:02 -05:00
Lance Edgar ecf46fa6fe Improve display for member equity payments 2023-09-07 18:19:46 -05:00
Lance Edgar b1ec1b8817 Update changelog 2023-09-02 13:56:10 -05:00
Lance Edgar bd7e6f9f8a Tweaks for cost editing within a receiving batch
never show PO Cost column in row grid, since Invoice Cost is what
receiving is most concerned with

add "zig-zag" entry behavior when both catalog and invoice costs are editable
2023-09-02 11:39:49 -05:00
Lance Edgar 75caface6b Add products API route to fetch label profiles for use w/ printing 2023-09-02 10:56:06 -05:00
Lance Edgar de373a683b Add grid filter type for BigInteger columns
so we can filter by larger values
2023-09-01 11:20:30 -05:00
Lance Edgar 5ab47aeead Update changelog 2023-08-31 10:08:20 -05:00