Anand Doshi | e3bd78e | 2016-04-22 18:53:21 +0530 | [diff] [blame] | 1 | <div class="web-list-item transaction-list-item"> |
Faris Ansari | 38ac7f7 | 2019-10-09 11:41:33 +0530 | [diff] [blame] | 2 | <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 Doshi | e3bd78e | 2016-04-22 18:53:21 +0530 | [diff] [blame] | 9 | </div> |
Anand Doshi | e3bd78e | 2016-04-22 18:53:21 +0530 | [diff] [blame] | 10 | </div> |
Faris Ansari | 38ac7f7 | 2019-10-09 11:41:33 +0530 | [diff] [blame] | 11 | <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"> |
Anupam | c077fac | 2020-09-23 21:48:48 +0530 | [diff] [blame] | 17 | {% if doc.doctype == "Quotation" and not doc.docstatus %} |
Anupam | a4df105 | 2020-09-24 13:21:54 +0530 | [diff] [blame] | 18 | {{ _("Pending") }} |
Anupam | c077fac | 2020-09-23 21:48:48 +0530 | [diff] [blame] | 19 | {% else %} |
| 20 | {{ doc.get_formatted("grand_total") }} |
| 21 | {% endif %} |
Faris Ansari | 38ac7f7 | 2019-10-09 11:41:33 +0530 | [diff] [blame] | 22 | </div> |
| 23 | </div> |
| 24 | <a class="transaction-item-link" href="/{{ pathname }}/{{ doc.name }}">Link</a> |
Rushabh Mehta | a33d468 | 2015-06-01 17:15:42 +0530 | [diff] [blame] | 25 | </div> |