Enhancements to Supplier Portal (#19221)
* fix: Add Purchase Order to portal
* fix: Create Customer or Supplier on first login
Based on default role set in Portal Settings, a Customer or Supplier
will be created when the user logs in for the first time.
* fix: Styling for transaction_row
* fix: Styling for RFQ page
* fix: Add Purchase Invoice route
- Make Purchase Invoice from PO
* fix: minor
- Admissions for Student role
- Remove print statement
diff --git a/erpnext/templates/includes/transaction_row.html b/erpnext/templates/includes/transaction_row.html
index 6c58b51..80a542f 100644
--- a/erpnext/templates/includes/transaction_row.html
+++ b/erpnext/templates/includes/transaction_row.html
@@ -1,22 +1,21 @@
<div class="web-list-item transaction-list-item">
- <a href="/{{ pathname }}/{{ doc.name }}">
- <div class="row">
- <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.global_date_format(doc.modified) }}
- </div>
- </div>
- <div class="col-sm-5">
- <div class="small text-muted items-preview ellipsis ellipsis-width">
- {{ doc.items_preview }}
- </div>
- </div>
- <div class="col-sm-3 text-right bold">
- {{ doc.get_formatted("grand_total") }}
+ <div class="row">
+ <div class="col-sm-4">
+ <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.global_date_format(doc.modified) }}
</div>
</div>
- </a>
+ <div class="col-sm-5">
+ <div class="small text-muted items-preview ellipsis ellipsis-width">
+ {{ doc.items_preview }}
+ </div>
+ </div>
+ <div class="col-sm-3 text-right bold">
+ {{ doc.get_formatted("grand_total") }}
+ </div>
+ </div>
+ <a class="transaction-item-link" href="/{{ pathname }}/{{ doc.name }}">Link</a>
</div>