Make case quantity render a little prettier on product view

This commit is contained in:
Lance Edgar 2016-12-15 16:31:32 -06:00
parent 9a6ad16e2f
commit 6186200aba

View file

@ -165,7 +165,7 @@
<td class="center">${'X' if cost.preference == 1 else ''}</td>
<td>${cost.vendor}</td>
<td class="center">${cost.code}</td>
<td class="center">${cost.case_size}</td>
<td class="center">${h.pretty_quantity(cost.case_size)}</td>
<td class="right">${'$ %0.2f' % cost.case_cost if cost.case_cost is not None else ''}</td>
<td class="right">${'$ %0.4f' % cost.unit_cost if cost.unit_cost is not None else ''}</td>
</tr>