blob: a498ba0eefaf263e1725d46257ee0dd110291ffe [file] [log] [blame]
Anand Doshie3bd78e2016-04-22 18:53:21 +05301<div class="web-list-item transaction-list-item">
Summayya Hashmanida43a5e2022-10-04 09:57:07 +05302 <div class="row align-items-center">
Faris Ansari38ac7f72019-10-09 11:41:33 +05303 <div class="col-sm-4">
Summayya Hashmanida43a5e2022-10-04 09:57:07 +05304 <span class="list-item-name font-weight-bold">{{ doc.name }}</span>
Faris Ansari38ac7f72019-10-09 11:41:33 +05305 <div class="small text-muted transaction-time"
6 title="{{ frappe.utils.format_datetime(doc.modified, "medium") }}">
7 {{ frappe.utils.global_date_format(doc.modified) }}
Anand Doshie3bd78e2016-04-22 18:53:21 +05308 </div>
Anand Doshie3bd78e2016-04-22 18:53:21 +05309 </div>
Summayya Hashmanida43a5e2022-10-04 09:57:07 +053010 <div class="col-sm-3">
11 <span class="indicator-pill {{ doc.indicator_color or ("blue" if doc.docstatus==1 else "gray") }} list-item-status">{{doc.status}}</span>
12 </div>
13 <div class="col-sm-2">
Faris Ansari38ac7f72019-10-09 11:41:33 +053014 <div class="small text-muted items-preview ellipsis ellipsis-width">
15 {{ doc.items_preview }}
16 </div>
17 </div>
David Arnoldfa8483f2023-10-02 17:45:43 +020018 {% if doc.is_rounded_total_disabled() and doc.get('grand_total') %}
Summayya Hashmanida43a5e2022-10-04 09:57:07 +053019 <div class="col-sm-3 text-right font-weight-bold item-total">
Rohit Waghchaure9e616b02021-06-11 17:27:08 +053020 {{ doc.get_formatted("grand_total") }}
21 </div>
David Arnoldfa8483f2023-10-02 17:45:43 +020022 {% elif doc.get('rounded_total') %}
23 <div class="col-sm-3 text-right font-weight-bold item-total">
24 {{ doc.get_formatted("rounded_total") }}
25 </div>
Rohit Waghchaure9e616b02021-06-11 17:27:08 +053026 {% endif %}
Faris Ansari38ac7f72019-10-09 11:41:33 +053027 </div>
28 <a class="transaction-item-link" href="/{{ pathname }}/{{ doc.name }}">Link</a>
Rushabh Mehtaa33d4682015-06-01 17:15:42 +053029</div>