Add UOM to Item View with Price
This commit is contained in:
parent
d2f0d08234
commit
b52d5b21a1
1
erpnext/accounts/page/pos/pos.js
Normal file → Executable file
1
erpnext/accounts/page/pos/pos.js
Normal file → Executable 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
2
erpnext/public/js/pos/pos_item.html
Normal file → Executable file
@ -25,7 +25,7 @@
|
||||
{% } %}
|
||||
</div>
|
||||
<span class="price-info">
|
||||
{{item_price}}
|
||||
{{item_price}} / {{item_uom}}
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user