brotherton-erpnext/erpnext/templates/includes/cart/cart_items.html

32 lines
1.3 KiB
HTML
Raw Normal View History

{% from "erpnext/templates/includes/order/order_macros.html" import item_name_and_description %}
2016-06-22 10:16:38 +00:00
{% from "erpnext/templates/includes/order/order_macros.html" import item_name_and_description_cart %}
{% for d in doc.items %}
<div class="row checkout">
2016-05-02 06:13:44 +00:00
<div class="col-sm-8 col-xs-6 col-name-description">
{{ item_name_and_description(d) }}
</div>
<div class="col-sm-2 col-xs-3 text-right col-qty">
2016-06-22 10:16:38 +00:00
<span style="display: inline-block">
<div class="input-group number-spinner">
<span class="input-group-btn">
<button class="btn btn-default cart-btn" data-dir="dwn">
</button>
</span>
2016-05-02 06:13:44 +00:00
<input class="form-control text-right cart-qty"
value = "{{ d.get_formatted('qty') }}"
2016-06-22 10:16:38 +00:00
data-item-code="{{ d.item_code }}">
<span class="input-group-btn">
<button class="btn btn-default cart-btn" data-dir="up" style="margin-left:-2px;">
+</button>
</span>
</div>
</span>
2016-05-02 06:13:44 +00:00
</div>
<div class="col-sm-2 col-xs-3 text-right col-amount">
{{ d.get_formatted("amount") }}
<p class="text-muted small item-rate">{{
_("Rate: {0}").format(d.get_formatted("rate")) }}</p>
</div>
</div>
{% endfor %}