Commit graph

3646 commits

Author SHA1 Message Date
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