Lance Edgar
4e2125d613
Add support for "missing" credit in mobile receiving
2023-08-29 16:10:14 -05:00
Lance Edgar
c002d3d182
Add basic support for managing, and accepting API tokens
...
also various other changes in pursuit of that. so far tokens are only
accepted by web API and not traditional web app
2023-05-15 08:10:42 -05:00
Lance Edgar
85947878c4
Get rid of newstyle
flag for Form.validate()
method
...
we always/only use "new style" now
2023-05-15 08:10:42 -05:00
Lance Edgar
2ed63b1c1a
Massive overhaul of "generate project" feature
...
previous incarnation was woefully lacking. new feature is much more
extensible. still need to remove old POS integration specifics in
some places.
and a couple of unrelated things that snuck in..
- deprecate `rattail.util.OrderedDict`
- deprecate `rattail.util.import_module_path()`
- deprecate `rattail.util.import_reload()`
2023-05-05 00:18:16 -05:00
Lance Edgar
743a2ccd07
Add views for sample vendor files
2023-02-22 22:00:05 -06:00
Lance Edgar
f611a5a521
Refactor Query.get()
=> Session.get()
per SQLAlchemy 1.4
2023-02-11 22:05:45 -06:00
Lance Edgar
8fc3a71e0f
Fix multi-file upload widget bug
...
happened when only one file was being uploaded
2023-02-10 12:40:23 -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
506de0383f
Form constructor assumes use_buefy=True
by default
...
until we get rid of it altogether
2023-02-02 20:21:19 -06:00
Lance Edgar
b8389c72bb
Add support for per-item default discount, for new custorder
2023-01-11 16:41:07 -06:00
Lance Edgar
dfa4178204
Add basic support for receiving from multiple invoice files
2023-01-10 16:46:21 -06:00
Lance Edgar
a061e362c3
Add beginnings of "New Table" feature
...
nowhere near complete yet, but skeleton is more or less in place
2023-01-02 09:44:05 -06:00
Lance Edgar
cfc92ac9e7
Hide the "configure field help" icons until user requests access
...
user can technically "request access" on "any page" and not just those
with configurable fields..but who cares for now i think..
2022-12-27 22:30:25 -06:00
Lance Edgar
3befdc09e3
Add basic support for editing field help info
2022-12-24 21:46:02 -06:00
Lance Edgar
2e3823364c
Add support for editing catalog cost in receiving batch, per new theme
...
had to add several "under the hood" features to make this work, to
embed a Vue component within grid `<td>` cells, etc.
2022-12-05 14:03:03 -06:00
Lance Edgar
c2b2d11141
Use shared logic for rendering percentage values
2022-10-29 13:40:35 -05:00
Lance Edgar
35728e20be
Add default normalize logic for API views
...
and use common logic for getting field list in traditional Form class
2022-08-30 21:56:46 -05:00
Lance Edgar
2fde1db83c
Allow user feedback to request email reply back
2022-08-17 21:08:54 -05:00
Lance Edgar
e49a31df6a
Avoid double-quotes in field error messages JS code
2022-08-12 19:47:25 -05:00
Lance Edgar
8f1f8abf42
Fix HTML literal for hidden form field
2022-08-09 14:48:23 -05:00
Lance Edgar
d6aeb1d10f
Add convenience wrapper to make customer field widget, etc.
...
customer widget is either autocomplete or dropdown, per config
also added a way to pass arbitrary kwargs to the chameleon template
rendering for a field
also moved the logic for rendering a <b-field> out of the template and
into the Form class
also start to prefer `input_handler` over `input_callback` when
specifying client-side JS hook
2022-08-09 14:37:29 -05:00
Lance Edgar
f33d7b7f90
Add iter(Form)
logic, to loop through fields
2022-07-24 21:11:36 -05:00
Lance Edgar
aea7f01047
Fix quotes for field helptext
2022-04-07 12:57:40 -05:00
Lance Edgar
e284370c4b
Add Form.insert()
method, to insert field based on index
2022-03-09 19:41:46 -06:00
Lance Edgar
01b78d7513
Add workaround when inserting new fields to form field list
...
i.e. if inserting "before" or "after" a field which does not exist
2022-03-09 18:39:12 -06:00
Lance Edgar
72177aef0a
Add basic support for Poser reports, list/create
2022-03-02 17:21:38 -06:00
Lance Edgar
7b485d5ad2
Remove some duplicated code
...
in fact it wasn't exactly duplicate..it had a bug which the shared
function code does not have
2022-02-28 12:05:16 -06:00
Lance Edgar
4e3aa1af83
Tweak how "duration" fields are rendered for grids, forms
2022-02-12 19:16:16 -06:00
Lance Edgar
b261e8bb9b
Add some autocomplete workarounds for new vendor catalog batch
...
when user selects a parser, it may auto-select the vendor, but keeping
that all in sync is complicated. this seems to be an improvement but
it could likely use more..
2022-02-05 21:41:05 -06:00
Lance Edgar
8579b89002
Add way to set form-wide schema validator
...
was needed to enforce rule where one field is required only in some
cases, depending on value of another field
2022-01-09 18:13:12 -06:00
Lance Edgar
88b3279e63
Several disparate changes needed for vendor catalog improvements
...
- invoke vendor handler where appropriate, e.g. for parsers
- reverse "polarity" of dropdown chooser setting; rename it
- tweak autocomplete behavior yet again, for dynamic values
- auto-select vendor upon parser selection, when possible
2022-01-07 19:27:10 -06:00
Lance Edgar
340a177a29
Overhaul desktop views for receiving, for efficiency
...
still could use even more i'm sure, but this takes advantage of buefy
to add dialogs etc. from the "view receiving batch row" page. this
batch no longer allows direct edit of rows but that's hopefully for
the better.
2021-12-13 18:37:47 -06:00
Lance Edgar
10e34b83ed
Refactor "receive row" and "declare credit" tools per buefy theme
2021-12-08 19:44:50 -06:00
Lance Edgar
6fc666e221
Fix form ref bug, for batch execution
2021-12-07 16:18:56 -06:00
Lance Edgar
282185c5af
Add basic import/export handler views, tool to run jobs
2021-12-05 17:23:11 -06:00
Lance Edgar
5f9d311cdb
Add views for PendingProduct model; also DepartmentWidget
2021-11-10 12:39:51 -06:00
Lance Edgar
3ece3303db
Refactor several "field grids" per Buefy theme
...
e.g. the Users field when viewing a Role, and Vendor Sources panel
when viewing a Product
2021-09-25 18:54:33 -04:00
Lance Edgar
90af8f91b8
Let feedback forms define their own email key
...
so multiple recipient options may be presented to user, e.g. in public
frontend
2021-08-02 18:26:15 -05: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
fd1342c605
Try to show existing filename, for upload widget
2021-01-05 18:53:00 -06:00
Lance Edgar
711ed947a3
Add "worksheet file" pattern for editing batches
...
lets user download a worksheet, edit, then upload back to update the batch
2020-09-18 12:17:04 -05:00
Lance Edgar
72177e8ab5
Improve auto-handling of "local" timestamps
...
for non-Rattail DBs where timestamps are local instead of UTC
2020-09-02 11:30:02 -05:00
Lance Edgar
917d5ab3fa
Expose the Role.notes
field for view/edit
...
also add a simple "<pre> with sans-serif font" renderer
2020-03-23 19:59:28 -05:00
Lance Edgar
86617e410f
Fix some basic product editing features
...
mostly for sake of online demo
2020-02-28 18:11:54 -06:00
Lance Edgar
0715bd6321
Add basic "receive" handler logic for receiving API
2019-11-15 16:16:56 -06:00
Lance Edgar
19c734683b
Add basic API view for user feedback
2019-08-29 18:30:13 -05:00
Lance Edgar
300efe4877
Tweak how we detect JSON request body instead of POST params
...
i.e. when processing submitted form data
2019-08-25 17:35:01 -05:00
Lance Edgar
243c69b231
Fix some user feedback form handling
...
sheesh i don't see how this hasn't been more broken for some time now...
2019-08-04 22:36:58 -05:00
Lance Edgar
fda7230bce
Fix form handling for user feedback
...
issue was noticed on demo site, but possibly existed elsewhere? also not 100%
sure about this fix, but it's believed to be okay...
2019-08-04 22:14:15 -05:00
Lance Edgar
3a53ffcc23
Add NumericInputWidget
for use with Buefy themes
...
uses a Vue.js component for better logic encapsulation
2019-06-28 13:06:43 -05:00