blob: fd4835ed99e72ecedf18c4cc647eeb5bf65e440e [file] [log] [blame]
Anand Doshie3bd78e2016-04-22 18:53:21 +05301<div class="web-list-item transaction-list-item">
Faris Ansari38ac7f72019-10-09 11:41:33 +05302 <div class="row">
3 <div class="col-sm-4">
4 <span class="indicator small {{ doc.indicator_color or ("blue" if doc.docstatus==1 else "darkgrey") }}">
5 {{ doc.name }}</span>
6 <div class="small text-muted transaction-time"
7 title="{{ frappe.utils.format_datetime(doc.modified, "medium") }}">
8 {{ frappe.utils.global_date_format(doc.modified) }}
Anand Doshie3bd78e2016-04-22 18:53:21 +05309 </div>
Anand Doshie3bd78e2016-04-22 18:53:21 +053010 </div>
Faris Ansari38ac7f72019-10-09 11:41:33 +053011 <div class="col-sm-5">
12 <div class="small text-muted items-preview ellipsis ellipsis-width">
13 {{ doc.items_preview }}
14 </div>
15 </div>
16 <div class="col-sm-3 text-right bold">
Anupamc077fac2020-09-23 21:48:48 +053017 {% if doc.doctype == "Quotation" and not doc.docstatus %}
Anupama4df1052020-09-24 13:21:54 +053018 {{ _("Pending") }}
Anupamc077fac2020-09-23 21:48:48 +053019 {% else %}
20 {{ doc.get_formatted("grand_total") }}
21 {% endif %}
Faris Ansari38ac7f72019-10-09 11:41:33 +053022 </div>
23 </div>
24 <a class="transaction-item-link" href="/{{ pathname }}/{{ doc.name }}">Link</a>
Rushabh Mehtaa33d4682015-06-01 17:15:42 +053025</div>