Merge pull request #14112 from vjFaLk/item-uom

Add UOM to POS Item Template
This commit is contained in:
rohitwaghchaure 2018-05-17 12:51:10 +05:30 committed by GitHub
commit 4c82ede9e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>