brotherton-erpnext/erpnext/public/js/pos/pos_item.html
2016-11-02 07:34:17 +05:30

13 lines
565 B
HTML

<div class="pos-item-wrapper col-xs-3">
<div class="pos-item" data-item-code="{%= item_code %}" title="{%= item_name || item_code %}">
<div class="pos-item-image"
style="{% if (item_image) { %} background-image: {{ item_image }} {% }
else { %} background-color: {{ color }} {% } %}">
{% if (!item_image) { %}{{ abbr }}{% } %}
</div>
<div class="pos-item-text">
<h6 class="item-code ellipsis">{%= item_name ? (item_name + " (" + item_code + ")") : item_code %}</h6>
<div class="small ellipsis">{%= item_price %}</div>
</div>
</div>
</div>