Commit graph

42 commits

Author SHA1 Message Date
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
f86cc83996 Fix order xlsx download if missing order date 2023-10-17 15:26:22 -05:00
Lance Edgar
1be26b7f33 Allow "arbitrary" PO attachment to purchase batch
for sake of other POS integration etc.
2023-06-27 18:18:35 -05:00
Lance Edgar
f611a5a521 Refactor Query.get() => Session.get() per SQLAlchemy 1.4 2023-02-11 22:05:45 -06:00
Lance Edgar
9faaea881d Remove all deprecated use_buefy logic
also remove some static files no longer used, etc.
2023-02-03 16:10:04 -06:00
Lance Edgar
b64f6c7884 Use newer config strategy for all views
to make inheritance easier
2022-11-23 12:20:58 -06:00
Lance Edgar
731c2168b0 Improve parsing of purchase order quantities 2022-08-30 11:28:48 -05:00
Lance Edgar
db3ea2e34a Fix default help URLs for ordering, receiving 2022-08-13 23:12:39 -05:00
Lance Edgar
97bdc3f785 Improve error handling for purchase batch
so error will display in browser when applicable
2021-09-09 12:00:13 -05:00
Lance Edgar
329e75ee82 Add initial "scanning" feature for Ordering Batches 2021-01-31 21:51:46 -06:00
Lance Edgar
708641a8f1 Purge things for legacy (jquery) mobile, and unused template themes
gosh it feels good to get rid of this stuff...  fingers crossed that nothing
was broken, but am thinking it's safe
2021-01-30 15:52:47 -06:00
Lance Edgar
fac00e6ecd Misc. improvements for ordering batches, purchases
also we now show handler's description when executing batch
2021-01-30 13:17:08 -06:00
Lance Edgar
58362ae858 Add buefy theme support for ordering worksheet 2020-08-20 17:56:19 -05:00
Lance Edgar
12b0ac1037 Move logic for Order Form worksheet into purchase batch handler
i.e. get it out of Tailbone!
2020-03-06 19:53:03 -06:00
Lance Edgar
2b70ed1407 Fix "edit row" logic for ordering batch
previous logic allowed `colander.null` to be passed to batch handler, which
caused an error.  also it allowed editing "all" fields for the row, which we
really don't need to do, so now we just support the order quantities
2020-02-24 13:38:58 -06:00
Lance Edgar
fc830f60e8 Tweak worksheet_update() of ordering batch view, to leverage handler
specifically this is to make use of handler's `update_row_quantity()` method,
when user enters new order quantities via worksheet
2020-02-24 12:36:47 -06:00
Lance Edgar
512084194d Fix PO unit cost calculation for ordering row, batch 2019-03-11 12:20:56 -05:00
Lance Edgar
145e7f5529 Allow vendor field to be dropdown, for mobile ordering/receiving
based on config.  useful for apps which have very few vendors
2019-02-19 21:11:49 -06:00
Lance Edgar
4b9394fe6b Use empty string for "missing" department name, for ordering worksheet
that way the sorting works as expected (i.e. for python3)
2019-01-23 13:23:04 -06:00
Lance Edgar
318e8645b2 Fix Excel download of ordering batch, per python3 2019-01-21 17:11:12 -06:00
Lance Edgar
6af9440ed7 Fix permission group label for Ordering Batches
a minor annoyance, but consistency surely is better...
2018-07-25 16:23:32 -05:00
Lance Edgar
634a93061b Let mobile form declare if/how to auto-focus a field
and for mobile ordering, auto-focus the "units" field when editing a row
2018-07-24 21:29:52 -05:00
Lance Edgar
d8b45db331 Improve support for "receive from scratch" workflow, esp. for mobile
also try harder to make certain aspects easier to enable/disable via handler,
e.g. whether cases should be allowed as quantity input, or expired credits
should be a thing etc.
2018-07-17 19:55:15 -05:00
Lance Edgar
68bd3047c4 Add initial support for mobile "quick row" feature, for ordering
at least for now, ordering only, but hopefully much more soon...
2018-07-12 22:53:29 -05:00
Lance Edgar
805a1afa3f Fix rowcount bug when first row added via ordering worksheet 2018-05-16 09:44:16 -05:00
Lance Edgar
fde5398455 Use 'today' as fallback date for ordering worksheet 2018-03-21 10:42:50 -05:00
Lance Edgar
0a165c5b93 Don't set order date for new ordering batch when created via mobile
that really should be set upon batch execution instead
2018-02-22 11:19:33 -06:00
Lance Edgar
d75fe88c44 Expose ship_method and notes_to_vendor for purchase, ordering batch 2018-02-22 11:16:33 -06:00
Lance Edgar
1b059c5293 Refactor ordering worksheet to use shared logic 2018-02-19 18:19:19 -06:00
Lance Edgar
8137d715df Refactor purchasing batch views per master4 2018-02-05 13:00:34 -06:00
Lance Edgar
eac59ba5c8 Refactor purchasing batch views to use master3 2018-01-27 11:59:52 -06:00
Lance Edgar
e8dfe92be3 Improve case/unit quantity validation for order worksheet 2018-01-25 15:07:16 -06:00
Lance Edgar
961249722f Some tweaks to ordering batch views 2017-08-02 13:18:05 -05:00
Lance Edgar
65c63dad3e Initial support for mobile ordering
plus various other changes required for that
2017-08-02 12:08:23 -05:00
Lance Edgar
0171f3ebba Various improvements to batch worksheets, index links etc. 2017-08-01 14:53:45 -05:00
Lance Edgar
5b1ae27a10 Add new "v3" grids, refactor all views to use them
or at least that's the idea..hopefully we caught them all
2017-07-14 03:57:36 -05:00
Lance Edgar
581ced2990 Switch license to GPL v3 (no longer Affero)
refs #2
2017-07-06 23:47:56 -05:00
Lance Edgar
cc41c38d68 Fix bug when updating Order Form data, if row.po_total is None
not sure how/when that happens, but just fall back to $0
2017-05-30 20:25:37 -05:00
Lance Edgar
95418ab459 Remove "case quantity" field from Ordering Batch download as Excel file 2017-05-25 12:34:12 -05:00
Lance Edgar
522aad5880 Add basic ability to download Ordering Batch as Excel spreadsheet 2017-05-24 21:13:18 -05:00
Lance Edgar
5eca2347d5 Add initial support for mobile receiving views 2017-05-24 00:04:56 -05:00
Lance Edgar
d68bf6b012 Refactor "purchasing" batch views, split off "ordering"
remainder will be handled when the time comes..
2017-05-23 13:44:07 -05:00