Add UOM to Item View with Price

This commit is contained in:
Valmik Jangla 2018-05-17 00:02:03 -07:00
parent d2f0d08234
commit b52d5b21a1
2 changed files with 2 additions and 1 deletions

1
erpnext/accounts/page/pos/pos.js Normal file → Executable file
View File

@ -1051,6 +1051,7 @@ erpnext.pos.PointOfSale = erpnext.taxes_and_totals.extend({
item_name: obj.name === obj.item_name ? "" : obj.item_name,
item_image: obj.image,
item_stock: __('Stock Qty') + ": " + me.get_actual_qty(obj),
item_uom: obj.stock_uom,
color: frappe.get_palette(obj.item_name),
abbr: frappe.get_abbr(obj.item_name)
})).tooltip().appendTo($wrap);

2
erpnext/public/js/pos/pos_item.html Normal file → Executable file
View File

@ -25,7 +25,7 @@
{% } %}
</div>
<span class="price-info">
{{item_price}}
{{item_price}} / {{item_uom}}
</span>
</a>
</div>