Anand Doshi | e3bd78e | 2016-04-22 18:53:21 +0530 | [diff] [blame] | 1 | <div class="web-list-item transaction-list-item"> |
Summayya Hashmani | da43a5e | 2022-10-04 09:57:07 +0530 | [diff] [blame] | 2 | <div class="row align-items-center"> |
Faris Ansari | 38ac7f7 | 2019-10-09 11:41:33 +0530 | [diff] [blame] | 3 | <div class="col-sm-4"> |
Summayya Hashmani | da43a5e | 2022-10-04 09:57:07 +0530 | [diff] [blame] | 4 | <span class="list-item-name font-weight-bold">{{ doc.name }}</span> |
Faris Ansari | 38ac7f7 | 2019-10-09 11:41:33 +0530 | [diff] [blame] | 5 | <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 Doshi | e3bd78e | 2016-04-22 18:53:21 +0530 | [diff] [blame] | 8 | </div> |
Anand Doshi | e3bd78e | 2016-04-22 18:53:21 +0530 | [diff] [blame] | 9 | </div> |
Summayya Hashmani | da43a5e | 2022-10-04 09:57:07 +0530 | [diff] [blame] | 10 | <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 Ansari | 38ac7f7 | 2019-10-09 11:41:33 +0530 | [diff] [blame] | 14 | <div class="small text-muted items-preview ellipsis ellipsis-width"> |
| 15 | {{ doc.items_preview }} |
| 16 | </div> |
| 17 | </div> |
David Arnold | fa8483f | 2023-10-02 17:45:43 +0200 | [diff] [blame] | 18 | {% if doc.is_rounded_total_disabled() and doc.get('grand_total') %} |
Summayya Hashmani | da43a5e | 2022-10-04 09:57:07 +0530 | [diff] [blame] | 19 | <div class="col-sm-3 text-right font-weight-bold item-total"> |
Rohit Waghchaure | 9e616b0 | 2021-06-11 17:27:08 +0530 | [diff] [blame] | 20 | {{ doc.get_formatted("grand_total") }} |
| 21 | </div> |
David Arnold | fa8483f | 2023-10-02 17:45:43 +0200 | [diff] [blame] | 22 | {% 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 Waghchaure | 9e616b0 | 2021-06-11 17:27:08 +0530 | [diff] [blame] | 26 | {% endif %} |
Faris Ansari | 38ac7f7 | 2019-10-09 11:41:33 +0530 | [diff] [blame] | 27 | </div> |
| 28 | <a class="transaction-item-link" href="/{{ pathname }}/{{ doc.name }}">Link</a> |
Rushabh Mehta | a33d468 | 2015-06-01 17:15:42 +0530 | [diff] [blame] | 29 | </div> |