Various changes to support a certain new app

improve inventory support, plus "hiding" person data but still using it
This commit is contained in:
Lance Edgar 2017-08-09 21:41:42 -05:00
parent fcffe0f79d
commit 18f4b4ff5c
7 changed files with 64 additions and 18 deletions

View file

@ -256,6 +256,8 @@ class ProductsView(MasterView):
cost = product.cost
if not cost:
return ""
if cost.unit_cost is None:
return ""
return "${:0.2f}".format(cost.unit_cost)
def render_on_hand(self, product, column):