Commit graph

1861 commits

Author SHA1 Message Date
Lance Edgar 8945dd75aa Convert all datetime values to localtime, for "download rows as CSV"
this probably will need to be more flexible at some point; this works for now
2019-01-15 15:49:54 -06:00
Lance Edgar 4413a61513 Update changelog 2019-01-11 15:15:34 -06:00
Lance Edgar 1dd42e1ab2 Fix products grid query when filter/sort has multiple ProductCost joins 2019-01-11 15:14:37 -06:00
Lance Edgar 1dc21d846e Update changelog 2019-01-10 18:05:17 -06:00
Lance Edgar 0e0b125d99 Make command configurable, for restarting tempmon-client
can even configure it per client if necessary
2019-01-10 18:01:23 -06:00
Lance Edgar 051cb71956 Let batch view customize logic for marking batch as (in)complete 2019-01-09 14:18:30 -06:00
Lance Edgar 98fc4608da Tweak batch view template "object helpers" for easier customization 2019-01-09 12:35:26 -06:00
Lance Edgar 5bdacc70e5 Update changelog 2019-01-08 12:45:25 -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 7bf509097f Update changelog 2019-01-07 16:19:53 -06:00
Lance Edgar b333b3f083 Turn off messaging-related menus by default
i.e. unless config declares support for messaging.  this can cause errors
though, if menus try to link to non-existing view routes
2019-01-07 16:18:45 -06:00
Lance Edgar 6277e0e372 Fix styles for master view_row template
per flexbox
2019-01-07 16:10:55 -06:00
Lance Edgar 10f594c774 Minor tweaks 2019-01-06 19:52:56 -06:00
Lance Edgar c53170fe84 Update changelog 2019-01-02 17:59:00 -06:00
Lance Edgar 1e42fe9de5 Only allow POST method for executing "results" for batch grid 2019-01-02 17:07:43 -06:00
Lance Edgar c064bb275f Expose vendor_id column in pricing batch row grid 2019-01-02 16:38:38 -06:00
Lance Edgar 1fb9ef4d58 Update changelog 2019-01-01 22:29:43 -06:00
Lance Edgar 0ea0ca240a Fix bug when making new member 2018-12-19 23:14:23 -06:00
Lance Edgar 512e74c493 Add basic master view for Members table 2018-12-19 23:07:32 -06:00
Lance Edgar c9d40abe96 Update changelog 2018-12-19 11:38:01 -06:00
Lance Edgar 2ed34dda15 Make sure custom field labels are shown for batch execution dialog 2018-12-18 20:23:13 -06:00
Lance Edgar 5151e2dd96 Expose label profile selection when editing label batch 2018-12-18 19:26:11 -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 3e9fdbacad Expose subdepartment for pricing batch rows 2018-12-18 16:50:49 -06:00
Lance Edgar 8d534691ac Add 'unit_cost' to Excel download for Products grid 2018-12-18 16:37:40 -06:00
Lance Edgar c7496d7018 Clean up some inventory batch UI logic; prefer units by default 2018-12-18 15:13:01 -06:00
Lance Edgar d61d9cc574 Add ability to make new pricing batch from input data file 2018-12-17 22:35:56 -06:00
Lance Edgar 6a643411a4 Fix some styles, per flexbox layout changes 2018-12-17 22:35:42 -06:00
Lance Edgar d369693f9f Add oneoff_import() helper method to MasterView class 2018-12-15 22:29:28 -06:00
Lance Edgar b4d1666bdf Add object_helpers() def to master/view template 2018-12-15 22:29:08 -06:00
Lance Edgar 2f2b36c91d Update changelog 2018-12-14 16:09:26 -06:00
Lance Edgar 10a8babed7 Fix some layout styles for master edit template
yay, flexbox
2018-12-14 16:08:18 -06:00
Lance Edgar 86117944e4 Update changelog 2018-12-13 13:01:33 -06:00
Lance Edgar 841dda903f Refactor product view template to use flexbox styles
finally, the layout is reasonably clean and should stay that way...
2018-12-12 15:07:18 -06:00
Lance Edgar 6907fbe844 Update changelog 2018-12-10 18:34:40 -06:00
Lance Edgar bef7a2af36 Expose new "sync me" flag for LabelProfile settings 2018-12-04 18:56:20 -06:00
Lance Edgar 8192b19858 Update changelog 2018-12-02 15:35:42 -06:00
Lance Edgar fe35986432 Expose old_price_margin field for pricing batch rows 2018-11-30 19:24:23 -06:00
Lance Edgar 358ac1592b Fix layout issues for "object-helper" element
thanks flexbox!
2018-11-30 17:53:00 -06:00
Lance Edgar e100e0ea72 Use 4 decimal places when calculating hours for worked shift excel download 2018-11-30 16:59:59 -06:00
Lance Edgar 61fa77b752 Remove some pointless tests
they became broken, but not worth fixing
2018-11-30 16:07:58 -06:00
Lance Edgar 3bc0ba73ee Fix app_title reference in mobile templates 2018-11-30 15:32:59 -06:00
Lance Edgar 6022ef9be3 Don't assume app has configured a tempmon DB engine
whoops
2018-11-29 14:52:44 -06:00
Lance Edgar c1eaf28812 Add support for top-level links for simple menus
also add 'messaging_enabled' to global template context, so can include (or
not) that stuff in the user menu
2018-11-29 14:51:57 -06:00
Lance Edgar 0eb394fb86 Add support for "simple" menus in base template
also flesh out the simple menu logic a bit, add separators etc.
2018-11-29 14:00:11 -06:00
Lance Edgar 291128b96f Refactor default and bobcat theme re: "context menu" styles
finally, we have that hugging the top right corner, without float!
2018-11-29 12:04:29 -06:00
Lance Edgar c88e1cca68 Force use of "simple" menus for bobcat theme
seems safe i think...
2018-11-29 01:55:29 -06:00
Lance Edgar b5083d32db Add basic support for "simple menus"
for sake of keeping those in common across various themes
2018-11-29 01:39:20 -06:00
Lance Edgar a76a7dd54c Add support for new Bulma 'navbar' menu for bobcat theme
unfortunately the /menu.mako can't be shared (yet?) so apps must maintain a
separate one if they wish to support this new theme.

also, now when changing app theme we totally clear the lookup object's template
cache.  this was necessary for sake of /menu.mako but seems to be 'safe' so far
2018-11-28 23:50:50 -06:00
Lance Edgar 0ba1d65b11 Use bulma-style notifications for bobcat theme
instead of previous one, which was sort of pseudo-jquery i guess?
2018-11-28 22:35:22 -06:00