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

30 lines
1.0 KiB
HTML
Raw Normal View History

{% from "erpnext/templates/includes/order/order_macros.html" import item_name_and_description %}
{% 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">
<span style="max-width: 50px; display: inline-block">
<input class="form-control text-right cart-qty"
value = "{{ d.get_formatted('qty') }}"
data-item-code="{{ d.item_code }}"></span>
</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>
<div class="row cart-dropdown">
2016-05-09 07:00:58 +00:00
<div class="col-sm-8 col-xs-8 col-name-description">
2016-05-02 06:13:44 +00:00
{{ item_name_and_description(d) }}
</div>
2016-05-09 07:00:58 +00:00
<div class="col-sm-4 col-xs-4 text-right col-amount">
2016-05-02 06:13:44 +00:00
{{ d.get_formatted("amount") }}
</div>
</div>
2016-05-02 06:13:44 +00:00
{% endfor %}