2015-09-17 10:58:30 +00:00
|
|
|
|
{% 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 %}
|
2015-09-17 10:58:30 +00:00
|
|
|
|
|
|
|
|
|
{% for d in doc.items %}
|
2016-05-10 11:49:47 +00:00
|
|
|
|
<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 %}
|