Commit graph

189 commits

Author SHA1 Message Date
Lance Edgar
a4b27115ac Refactor all Buefy form submit buttons, per Chrome behavior
ugh, what a pain.  and turns out i'd previously ran into this same issue for
jQuery, per commit e945ebe325
2019-06-25 20:32:49 -05:00
Lance Edgar
cc79fe76fd Refactor form/page component structure for Buefy/Vue.js
this also moves Execute Batch from the form buttons area, to object helper
2019-06-17 15:07:19 -05:00
Lance Edgar
3f6d5daa1e More Buefy tweaks, for file upload, and "edit batch" generally 2019-06-08 14:26:33 -05:00
Lance Edgar
2b6d88105c Add support for Buefy autocomplete; several other form tweaks
at least the Edit User form should work now, for instance
2019-06-08 13:46:00 -05:00
Lance Edgar
c24098a117 Fall back to parsing request body as JSON for form data
apparently that's what we'll be dealing with from Vue.js AJAX requests?
2019-06-04 17:57:48 -05:00
Lance Edgar
5907973d42 Refactor "edit printer settings" view for Label Profile
for sake of Buefy, but it was definitely using some old form patterns...
2019-05-23 17:58:46 -05:00
Lance Edgar
6c3722737d OMG so many Buefy things...and much to be done yet it seems
these changes are all with Buefy "forms" support in mind.  hopefully didn't
break any legacy/jquery stuff... and yeah, lots more left to do still for the
sake of Buefy forms
2019-05-22 15:31:23 -05:00
Lance Edgar
fbf3ee5cd1 Improve readonly form templates somewhat, for Buefy
progress at least, more polish needed yet
2019-05-21 12:14:49 -05:00
Lance Edgar
dfe0f49655 Add basic/generic Buefy support to the Form class
mostly just affects rendering, apparently backend logic needn't really change?
2019-05-20 16:24:14 -05:00
Lance Edgar
a8db5db308 Add basic Buefy form support when generating reports
apparently we have a lot of work to do yet for Buefy forms elsewhere...
2019-05-08 20:24:19 -05:00
Lance Edgar
c869516449 Add basic "receive row" desktop view for receiving batches
not terribly polished yet, but works
2019-03-13 18:31:57 -05:00
Lance Edgar
0f5d668f86 Add "plain" date widget
to avoid deform.addCallback() JS for mobile forms

surely there's a better solution, but this works for now...
2019-02-22 20:46:54 -06:00
Lance Edgar
bd43884a1d Improve validator for "percent" input widget 2019-02-13 15:15:47 -06:00
Lance Edgar
caec354092 Remove usage of colander.timeparse() function
that did very little, and has been removed in latest colander release
2019-02-12 14:03:27 -06:00
Lance Edgar
a45ce2ced2 Introduce support for "children first" truck dump receiving
still needs more testing to see what's left...
2019-02-06 16:50:40 -06:00
Lance Edgar
eb78d79bb3 Update tempmon UI now that enabled flags are really datetime in DB 2019-01-25 19:36:13 -06:00
Lance Edgar
d659e62fda Add custom widget for "percent" field
so that storage can use "traditional" (0.3612) format but UI can use
"human-friendly" format (36.12 %)
2019-01-08 12:18:48 -06:00
Lance Edgar
a637ba1e6b Add 'percent' as field type for Form; fix rendering of 'percent' for Grid
these both now assume the value obtained will be a "typical" percentage
decimal, i.e. 0.30130 instead of 30.130
2018-12-18 17:41:38 -06:00
Lance Edgar
4fa9ab3c6e Add better support for "make import batch from file" pattern 2018-11-22 20:26:28 -06:00
Lance Edgar
f26f42427f Don't include LargeBinary properties in default colander schema
actually, exclude any found in secondary properties...i.e. from relationship
2018-10-19 21:17:50 -05:00
Lance Edgar
4a610ba2e6 Misc. UI improvements for truck dump receiving on desktop
links back and forth between parent/child rows, a little help text etc.
2018-09-22 18:33:01 -05:00
Lance Edgar
e43f713a66 Various tweaks for arbitrary model view with "rows"
just needed these for a particular feature...
2018-07-26 21:35:15 -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
3dfdb26502 Improve basic support for unit/pack info when viewing product details 2018-07-08 00:01:14 -05:00
Lance Edgar
b0e8f7d985 Various changes to support current receiving workflows
i.e. for sake of truck dump, adding child from invoice etc.
2018-05-22 13:54:50 -05:00
Lance Edgar
cd7922f204 Add "most of" support for truck dump receiving
still not complete, but conceptually it sort of is...
2018-05-18 15:51:47 -05:00
Lance Edgar
9ed501a8cc Add initial support for receiving truck dump batch via mobile
i.e. just the initial truck dump, but secondary invoice batches are not yet
supported.  also this maybe breaks other things..we'll see
2018-05-16 09:15:52 -05:00
Lance Edgar
e6144ea08b Add Form.__contains__() method
for testing if a field is contained in the form
2018-05-03 10:54:40 -05:00
Lance Edgar
91bb38573b Add desktop support for creating inventory batches
with a workflow form of sorts
2018-02-28 21:53:39 -06:00
Lance Edgar
ff7341d272 Add Form.mobile flag and set link button styles accordingly 2018-02-22 11:12:51 -06:00
Lance Edgar
046a70c5f6 Add NumberInputWidget for <input type="number" /> 2018-02-21 19:51:31 -06:00
Lance Edgar
17d99e16b9 More tweaks for python 3 2018-02-12 19:22:05 -06:00
Lance Edgar
cdaf36f346 Rename 'forms2' package, templates to 'forms' 2018-02-11 22:57:33 -06:00
Lance Edgar
d0b78babd2 Remove legacy 'forms' package and templates
yay!
2018-02-11 22:46:35 -06:00
Lance Edgar
e78777f8e1 Add field name as wrapper class name 2018-01-05 17:12:42 -06:00
Lance Edgar
f6d9f7a913 Fix user field rendering when no person associated 2017-09-03 13:00:44 -05:00
Lance Edgar
178b9f2bcb Add LocalDateTimeFieldRenderer for formalchemy 2017-08-16 18:32:17 -05:00
Lance Edgar
bf09071e1d Make product field renderer allow override of link text rendering 2017-08-12 20:26:11 -05:00
Lance Edgar
09ffdba9ef Allow product field renderer to suppress hyperlink 2017-08-02 12:04:03 -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
8014e60d14 Add webhelpers2 dependency, use it for most things
still using webhelpers for certain things yet, hopefully can get rid of that soon
2017-07-06 20:13:42 -05:00
Lance Edgar
0b68d56ddb Add basic versioning history support for master view
as with actual data versioning, we only support Person thus far
2017-07-05 03:07:35 -05:00
Lance Edgar
7340ef1f9b Rearrange some imports to ensure rattail.db.model comes last
this is necessary for Continuum versioning
2017-07-03 23:52:48 -05:00
Lance Edgar
4aa91414a5 Tweak how customer/person relationships are displayed
expose just a little more to make it easier to track down a data issue i had
2017-07-03 16:58:30 -05:00
Lance Edgar
24a2c15850 Make hyperlink optional for employee field renderer 2017-07-03 15:52:41 -05:00
Lance Edgar
a63f2e3623 Tweak display of inventory/label batches to reflect multiple handheld batches 2017-06-21 15:36:32 -05:00
Lance Edgar
eb272bf7f9 Tweak some customer view/field rendering, to allow more customization 2017-05-11 13:54:23 -05:00
Lance Edgar
d373eb9ac1 Broad refactor to improve customization of purchase order form etc.
* add dropdown alternative for autocomplete renderer
* auto-enhance some common dropdowns
* refactor new purchase batch, order form view/templates
2017-03-24 17:22:12 -05:00
Lance Edgar
3dfe3dfa28 Add CostFieldRenderer and tweak product view template
latter being for easier customization
2017-03-23 20:32:56 -05:00
Lance Edgar
6adb99003d Add basic master view for Report Output data model 2017-03-22 14:27:59 -05:00