brotherton-erpnext/erpnext/public/js/pos/pos_item.html
2017-03-10 17:00:42 +05:30

32 lines
874 B
HTML

<div class="pos-item-wrapper image-view-item" data-item-code="{{item_code}}">
<div class="image-view-header doclist-row">
<div class="list-value">
<a class="grey list-id" data-name="{{item_code}}" title="{{ item_name || item_code}}">{{item_name || item_code}}</a>
</div>
</div>
<div class="image-view-body">
<a data-item-code="{{ item_code }}"
title="{{ item_name || item_code }}"
>
<div class="image-field"
style="
{% if (!item_image) { %}
background-color: #fafbfc;
{% } %}
border: 0px;"
>
{% if (!item_image) { %}
<span class="placeholder-text">
{%= frappe.get_abbr(item_name || item_code) %}
</span>
{% } %}
{% if (item_image) { %}
<img src="{{ item_image }}" alt="{{item_name || item_code}}">
{% } %}
</div>
<span class="price-info">
{{item_price}}
</span>
</a>
</div>
</div>