Lance Edgar
fdd0b6ec3b
Add some links between employees / people / customers views
2016-11-21 17:47:24 -06:00
Lance Edgar
67f6c11307
Add support for 'receiving' mode for purchase batches
2016-11-21 01:07:35 -06:00
Lance Edgar
d46b0cbc70
Add support for mode, purchase relation for purchase batches
2016-11-20 17:48:04 -06:00
Lance Edgar
11b4cf9616
Add support for more cases + units, more vendor fields, for new purchase batches
2016-11-11 01:56:37 -06:00
Lance Edgar
4cfd3aa00e
Add basic views for label batches
2016-11-06 20:53:50 -06:00
Lance Edgar
8fe0e96273
Remove unused (I think?) VendorFieldRenderer
2016-11-05 02:08:10 -05:00
Lance Edgar
6bf60365ba
Let any 'admin' user elevate to 'root' for full system access
...
But otherwise, let the Administrator role be "normal" and have perms of
its own. Hopefully cuts down on unwanted screen noise for admins.
2016-10-18 16:59:38 -05:00
Lance Edgar
4757a56002
Fix bug in batch ID field renderer, when displayed for new batch
...
Hopefully this is a good idea..
2016-10-16 03:32:56 -05:00
Lance Edgar
cff19f38a3
Improve validation for FormAlchemy date field renderer
2016-09-19 13:13:53 -05:00
Lance Edgar
cf1b9acfb1
Add support for system-unique ID in batch views etc.
2016-08-17 16:50:00 -05:00
Lance Edgar
343f9bde1b
Add "empty" option to enum field renderers, if field allows empty value
2016-08-17 16:45:54 -05:00
Lance Edgar
a6438e4bb5
Add permissions field when viewing user details
...
About damn time I'm sure...
2016-08-12 01:58:07 -05:00
Lance Edgar
c38535e4c0
Add hopefully generic FileFieldRenderer
...
Eventually should refactor other (batch) things to use this.
2016-08-09 19:50:24 -05:00
Lance Edgar
e15888ffcd
Add render_progress()
method to core view class
2016-08-09 19:46:49 -05:00
Lance Edgar
fdf1419ea2
Add CodeTextAreaFieldRenderer
, refactor label profile form to use it
2016-07-13 11:04:23 -05:00
Lance Edgar
e0bd20ee23
Always strip whitespace from label profile 'spec' field input
...
Otherwise we can't properly load (import) the spec object...
2016-06-29 18:59:56 -05:00
Lance Edgar
aaa1d17507
Add hyperlinks to product UPC and description, within main grid
...
These won't honor the indexing scheme yet, still need to think about
that.
2016-05-03 22:10:54 -05:00
Lance Edgar
eb64e709c4
Make currency field renderer display negative amounts in parentheses
...
Also remove space between amount and dollar sign.
2016-04-21 13:43:08 -05:00
Lance Edgar
30e6b6e29c
Add flag for rendering key value, for enum field renderers
...
Only valid during the readonly rendering. Not sure how useful this will
be in the long run...
2016-04-06 21:17:02 -05:00
Lance Edgar
0f3f39d5c6
Add new TimeFieldRenderer, make it default for Time fields
...
Uses a jQuery UI widget similar to datepicker:
https://fgelinas.com/code/timepicker/
2016-03-24 00:06:04 -05:00
Lance Edgar
12e8b662a8
Add comma magic back to CurrencyFieldRenderer
...
No longer concerned with Python 2.6.
2016-03-24 00:03:42 -05:00
Lance Edgar
a22f50850f
Add 'executed' to old batches grid view, make timestamps show "raw" by default.
2016-03-11 11:35:00 -06:00
Lance Edgar
4cbdb51545
Fix bug when rendering email bounce links.
2016-02-26 13:06:36 -06:00
Lance Edgar
62221a1a25
Add new BatchMasterView
for new-style batches.
2016-02-14 16:47:35 -06:00
Lance Edgar
a341acb4f0
Make our DateTimeFieldRenderer
the default for datetime fields.
2016-02-14 16:34:39 -06:00
Lance Edgar
0a223ac4f9
Add autocomplete vendor field renderer.
2016-01-21 20:04:28 -06:00
Lance Edgar
bcb5176718
Rearrange the 'user' form renderer(s) a bit.
2016-01-13 02:39:27 -06:00
Lance Edgar
707b933553
Fix some route names.
2015-12-08 16:18:29 -06:00
Lance Edgar
d1d905c570
Remove format hack which isn't py2.6-friendly.
2015-10-13 20:49:43 -05:00
Lance Edgar
6ac13286cb
Fix some bugs with new CustomFieldRenderer
.
2015-08-19 17:15:02 -05:00
Lance Edgar
3d44e3e857
Add CustomFieldRenderer
and DateFieldRenderer
.
2015-08-18 23:47:42 -05:00
Lance Edgar
e79531fda8
Add CurrencyFieldRenderer
.
...
Also clean up the subpackage root a little bit.
2015-08-14 15:27:52 -05:00
Lance Edgar
ea9a9ad5bc
Tweak renderer import, for clarity.
2015-08-08 17:20:42 -05:00
Lance Edgar
f523146a4b
Add initial support for email bounce management.
2015-07-22 20:01:16 -05:00
Lance Edgar
ab23a8067c
Add DecimalFieldRenderer
.
2015-07-20 12:47:37 -05:00
Lance Edgar
21486a5e55
Add StoreFieldRenderer
.
...
Also try to set a good pattern for going forward..
2015-07-15 23:18:53 -05:00
Lance Edgar
8c5f03da8c
Add autocomplete employee field renderer.
2015-04-11 00:23:54 -05:00
Lance Edgar
d8ee09916a
Make vendor field renderer show ID in readonly mode.
2015-04-10 20:25:45 -05:00
Lance Edgar
d8790c7c4f
Tweak display for some product fields.
2015-03-23 17:23:24 -05:00
Lance Edgar
84c5f0a327
Add dept. number and friends to product details page.
2015-03-23 02:36:18 -05:00
Lance Edgar
364a38a936
Make readonly version of batch file field not show download link.
2015-02-24 22:51:13 -06:00
Lance Edgar
3614254804
Improve data file handling for file batches.
...
Leverages a FormAlchemy "extension" of sorts.
2015-02-22 00:00:00 -06:00
Lance Edgar
8bf292ebac
Remove some more edbob cruft.
2014-11-18 23:00:24 -06:00
Lance Edgar
9806c7a0a2
Add DateTimeFieldRenderer
to show human-friendly timestamps.
...
This leverages the `humanize` package to do so. Unfortunately that doesn't
seem to handle tz-aware times though, so we may need to revisit that at
some point...?
2014-11-18 19:37:52 -06:00
Lance Edgar
2326482bb6
Make GPCFieldRenderer
display check digit separate from main barcode data.
...
It is presumed that this is a good idea in general; I guess we'll see.
2014-11-18 19:36:55 -06:00
Lance Edgar
dfb5e83c7e
Add support for Product.not_for_sale
flag.
...
This involved a couple of ancillary changes:
* The price field renderer will not display a price for products marked not
for sale.
* The "grid" class now allows specifying a custom callable to provide
additional CSS class for table rows.
* The products grid uses this to add a "not-for-sale" class to table rows
for products which are marked thusly.
2014-09-10 19:38:49 -07:00
Lance Edgar
d838203ec7
Changed UserFieldRenderer
to leverage User.display_name
.
2013-11-22 14:39:47 -08:00
Lance Edgar
0ac0ef4079
Don't sort values in EnumFieldRenderer
.
...
The dictionaries used to supply enumeration values should be `OrderedDict`
instances if sorting is needed.
2013-10-04 11:37:47 -07:00
Lance Edgar
3070c280cc
Made EnumFieldRenderer
a proper class.
2013-09-27 08:16:22 -07:00
Lance Edgar
9f8a3d3a5c
Refactored AutocompleteFieldRenderer
.
...
Also improved some organization of renderers.
2013-09-21 15:02:55 -07:00