Make case quantity render a little prettier on product view
This commit is contained in:
parent
9a6ad16e2f
commit
6186200aba
|
@ -165,7 +165,7 @@
|
||||||
<td class="center">${'X' if cost.preference == 1 else ''}</td>
|
<td class="center">${'X' if cost.preference == 1 else ''}</td>
|
||||||
<td>${cost.vendor}</td>
|
<td>${cost.vendor}</td>
|
||||||
<td class="center">${cost.code}</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.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>
|
<td class="right">${'$ %0.4f' % cost.unit_cost if cost.unit_cost is not None else ''}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in a new issue