Fixes in Order / Quotation (#10361)
* Additions in Order Page for Sidebar Menu with "Order" page route
* Adjust Columns in order_taxes.html to avoid number breaks for more precisions
* Fields additions in transaction_row.html
* [fix] style for order pages, indicator for quotation etc
* [fix] style for order pages, indicator for quotation etc
* [test] add timeout
diff --git a/erpnext/templates/includes/transaction_row.html b/erpnext/templates/includes/transaction_row.html
index 10d7605..0e47f7d 100644
--- a/erpnext/templates/includes/transaction_row.html
+++ b/erpnext/templates/includes/transaction_row.html
@@ -1,23 +1,22 @@
<div class="web-list-item transaction-list-item">
<a href="/{{ pathname }}/{{ doc.name }}">
<div class="row">
- <div class="col-sm-5">
- <span class="indicator small {{ doc.indicator_color or "darkgrey" }}">
+ <div class="col-sm-4" style='margin-top: -3px;'>
+ <span class="indicator small {{ doc.indicator_color or ("blue" if doc.docstatus==1 else "darkgrey") }}">
{{ doc.name }}</span>
<div class="small text-muted transaction-time"
title="{{ frappe.utils.format_datetime(doc.modified, "medium") }}">
- {{ frappe.utils.format_datetime(doc.modified, "medium") }}
+ {{ frappe.utils.global_date_format(doc.modified) }}
</div>
</div>
- <div class="col-sm-4 items-preview ellipsis small">
- {{ doc.items_preview }}
+ <div class="col-sm-5">
+ <div class="small text-muted items-preview ellipsis">
+ {{ doc.items_preview }}
+ </div>
</div>
<div class="col-sm-3 text-right bold">
{{ doc.get_formatted("grand_total") }}
</div>
- <!-- <div class="col-sm-3 text-right">
-
- </div> -->
</div>
</a>
</div>