Commit graph

2841 commits

Author SHA1 Message Date
Lance Edgar b67414bb84 Update changelog 2019-03-14 13:37:49 -05:00
Lance Edgar 5b9e97b4eb Add "declare credit" UI for receiving batch rows 2019-03-13 19:15:53 -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 7fab472fc4 Add "time ago" for "product already receieved" alert on mobile 2019-03-13 12:49:54 -05:00
Lance Edgar f755aefbfa Honor enum sort order where possible, for grid filter values 2019-03-12 15:13:34 -05:00
Lance Edgar 43122381f5 Add mobile alert when receiving product for 2nd time
optional per config.  idea is to alert user so they don't accidentally
double-receive a given item
2019-03-12 14:25:40 -05:00
Lance Edgar d0b1cb527e Tweak how batch handler is invoked to remove row
also, removes some related logic which now lives in handler
2019-03-11 19:32:41 -05:00
Lance Edgar c78d6f2104 Update changelog 2019-03-11 13:26:46 -05:00
Lance Edgar eac2c2ddb2 Fix some unicode literals for base template
only necessary for python2, but we still must support that for now...
2019-03-11 13:17:26 -05:00
Lance Edgar 9b1efc3e45 Update changelog 2019-03-11 13:01:31 -05:00
Lance Edgar 512084194d Fix PO unit cost calculation for ordering row, batch 2019-03-11 12:20:56 -05:00
Lance Edgar 8bb09f5739 Begin to customize grid filters, for 'falafel' theme 2019-03-10 23:24:24 -05:00
Lance Edgar 0a68ff6dd0 Add 'falafel' theme, based on bobcat
but with more aggressive approach, includes no jQuery UI JS/CSS (and is
somewhat broken accordingly, for now)
2019-03-10 21:36:25 -05:00
Lance Edgar e18e2492af Fix script tag for dodo theme 2019-03-10 18:17:59 -05:00
Lance Edgar 5d04de936b Allow apps to set background color per request 2019-03-10 16:36:16 -05:00
Lance Edgar 9a85bd0edb Add basic 'dodo' theme
definitely not complete, but a decent feature preview
2019-03-09 23:19:59 -06:00
Lance Edgar 20b97a88c0 Tweak header styles for 'bobcat' theme 2019-03-09 23:06:33 -06:00
Lance Edgar eafe3737dc Refactor template content_title() and prev/next buttons feature
those were intertwined but now are a bit more separate, much better
2019-03-09 21:22:07 -06:00
Lance Edgar 9f743daf07 Fix login page styles for bobcat theme 2019-03-09 18:44:13 -06:00
Lance Edgar 291ec3aa04 Hide feedback dialog HTML
so user can't ever see it during page load
2019-03-09 18:33:08 -06:00
Lance Edgar 84f25ae91e Fix layout issues for bobcat theme, so footer sticks to bottom
i.e. even when page has little/no content
2019-03-09 18:32:43 -06:00
Lance Edgar 5516a11012 Fix navbar, footer background to match custom body background 2019-03-09 01:58:22 -06:00
Lance Edgar 316ed83047 Add view, edit links to vue.js users index 2019-03-09 01:52:07 -06:00
Lance Edgar 75bddc8777 Use configured background color for 'bobcat' theme 2019-03-08 23:30:36 -06:00
Lance Edgar d096909a95 Expose "true cost" and "true margin" columns for products grid 2019-03-08 14:33:57 -06:00
Lance Edgar 15c47fb593 Update changelog 2019-03-08 11:50:40 -06:00
Lance Edgar d337defb09 Expose new "calculated" invoice totals for receiving batch, rows 2019-03-07 17:05:25 -06:00
Lance Edgar 3760c3239f Improve display of purchase credit data
esp. within a receiving batch row
2019-03-07 12:21:50 -06:00
Lance Edgar 4a9b528c47 Only objectify address data if present
i.e. don't try to "remove" an address if no fields are present in form
2019-03-06 21:06:48 -06:00
Lance Edgar 60334229d5 Fix grid link logic some more...
should not show link if value is None
2019-03-06 21:03:43 -06:00
Lance Edgar 40c7e34014 Show grid link even when value is "false-ish"
saw a value of '0' get rendered with no link; this fixes
2019-03-06 18:22:12 -06:00
Lance Edgar 75bea75dce Update changelog 2019-03-06 13:20:48 -06:00
Lance Edgar d5efc51d61 Tweak the "incomplete" row filter for mobile receiving batch
this really is not ideal...hopefully good enough to limp along for a while yet
2019-03-05 11:03:24 -06:00
Lance Edgar 3789e4b3bd Don't require user name for anonymous feedback msg 2019-03-04 18:29:25 -06:00
Lance Edgar ef7466e0d5 Add mobile support for basic "feedback" dialog 2019-03-04 18:12:37 -06:00
Lance Edgar 006a7096ed Add ability to sort by Credits? column for receiving batch rows 2019-03-02 18:07:07 -06:00
Lance Edgar b7a026a7e8 Add "truck dump status" fields to receiving batch views
also refactor some code to use e.g. `batch.is_truck_dump_parent()` for clarity
2019-03-01 12:12:00 -06:00
Lance Edgar a2965d83af Remove 'truck_dump' field from mobile receiving batch view
not needed, and a bit redundant
2019-03-01 09:39:40 -06:00
Lance Edgar 05481f7828 Add new "receive row" view for mobile receiving
this frees us up to dumb-down the "view row" which thus far has been tasked
with actual receiving
2019-02-28 16:21:13 -06:00
Lance Edgar b1c77afc81 Remove logic for "receiving a row" and invoke handler instead
i.e. for receiving batch
2019-02-28 15:54:31 -06:00
Lance Edgar a5df9a2b3d Invoke handler when marking batch as (in)complete 2019-02-26 18:01:27 -06: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 4b3e1c7b1b Update changelog 2019-02-22 16:03:34 -06:00
Lance Edgar 4b97b403d3 Treat empty string as null, for app settings field values 2019-02-22 15:58:55 -06:00
Lance Edgar 145e7f5529 Allow vendor field to be dropdown, for mobile ordering/receiving
based on config.  useful for apps which have very few vendors
2019-02-19 21:11:49 -06:00
Lance Edgar 19080924d5 Declare "is contact" for the Customers view
removes some duplicated code.  also this adds CustomerNote to version history
2019-02-19 20:14:10 -06:00
Lance Edgar 6a57e51f6b Add unique_id() validator method to Customer view 2019-02-19 18:11:52 -06:00
Lance Edgar e916d4f71f Add basic support for editing address for a "contact" record 2019-02-19 18:11:15 -06:00
Lance Edgar b0b551af82 Add basic support for "mobile edit" of records
specifically need to allow this for Customer records, for one app
2019-02-19 17:10:42 -06:00
Lance Edgar 37a8bfd6f5 Update changelog 2019-02-14 10:36:24 -06:00