Commit graph

63 commits

Author SHA1 Message Date
Lance Edgar 13ff58a4fa Don't render user field as hyperlink unless so configured 2017-02-09 17:08:30 -06:00
Lance Edgar 8b02fd3d38 Add hyperlink to EmployeeFieldRenderer 2017-02-04 12:32:12 -06:00
Lance Edgar 2ab2dfe26b Add hyperlink to User field renderer 2017-01-29 22:52:36 -06:00
Lance Edgar aa99f3b506 Add QuantityFieldRenderer 2016-12-19 12:26:16 -06:00
Lance Edgar 9a6ad16e2f Overhaul product views a little, per customization needs 2016-12-15 15:11:15 -06:00
Lance Edgar f7267597ee Tweak the CustomFieldRenderer base class a bit
Not sure who all's using this now..hopefully this breaks nothing
2016-12-15 00:36:58 -06:00
Lance Edgar d40d5e3f6b Tweak some field renderers for sake of product view 2016-12-14 23:27:45 -06:00
Lance Edgar 79e63571e3 Make CurrencyFieldRenderer inherit from FloatFieldRenderer
Also cleanup some code generally..
2016-12-12 12:13:59 -06:00
Lance Edgar 6389481cea Remove some deprecated field renderers 2016-12-10 10:14:52 -06:00
Lance Edgar c73ba56505 Add support for 'department' field in purchases / batches
Also fix logic for deleting a purchase (delete its batches first)
2016-12-09 14:01:06 -06:00
Lance Edgar 948987232a Tweak some fields for Product view 2016-11-27 14:17:42 -06:00
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