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/pages/rfq.html b/erpnext/templates/pages/rfq.html
index 591d046..5b27a94 100644
--- a/erpnext/templates/pages/rfq.html
+++ b/erpnext/templates/pages/rfq.html
@@ -22,10 +22,10 @@
{% block page_content %}
<div class="row">
- <div class="col-xs-6">
+ <div class="col-6">
<div class="rfq-supplier">{{ doc.supplier }}</div>
</div>
- <div class="col-xs-6 text-muted text-right h6">
+ <div class="col-6 text-muted text-right h6">
{{ doc.get_formatted("transaction_date") }}
</div>
</div>
@@ -33,16 +33,16 @@
<div id="order-container">
<div id="rfq-items">
<div class="row cart-item-header">
- <div class="col-sm-5 col-xs-12">
+ <div class="col-sm-5 col-12">
{{ _("Items") }}
</div>
- <div class="col-sm-2 col-xs-4 text-right">
+ <div class="col-sm-2 col-4 text-right">
{{ _("Qty") }}
</div>
- <div class="col-sm-2 col-xs-4 text-right">
+ <div class="col-sm-2 col-4 text-right">
{{ _("Rate") }}
</div>
- <div class="col-sm-3 col-xs-4 text-right">
+ <div class="col-sm-3 col-4 text-right">
{{ _("Amount") }}
</div>
</div>
@@ -55,30 +55,29 @@
</div>
{% if doc.items %}
<div class="row grand-total-row">
- <div class="col-xs-9 text-right">{{ _("Grand Total") }}</div>
- <div class="col-xs-3 text-right">
+ <div class="col-9 text-right">{{ _("Grand Total") }}</div>
+ <div class="col-3 text-right">
{{doc.currency_symbol}} <span class="tax-grand-total">0.0</span>
</div>
</div>
{% endif %}
<div class="row terms">
- <div class="col-xs-6">
+ <div class="col-6">
<br><br>
<p class="text-muted small">{{ _("Notes: ") }}</p>
<textarea class="form-control terms-feedback" style="height: 100px;"></textarea>
</div>
</div>
- <hr>
- <div class="row">
- <div class="result">
- <div class="col-xs-12">
- <p class="text-muted small">{{ _("Quotations: ") }}</p>
- {% if doc.rfq_links %}
+ <div class="row mt-5">
+ <div class="col-12">
+ <p class="text-muted small">{{ _("Quotations: ") }}</p>
+ {% if doc.rfq_links %}
+ <div class="result">
{% for d in doc.rfq_links %}
<div class="web-list-item transaction-list-item quotations" idx="{{d.name}}">
<div class="row">
<div class="col-sm-6">
- <span class="indicator darkgrey"><a href="/quotations/{{d.name}}">{{d.name}}</a></span>
+ <span class="indicator darkgrey">{{d.name}}</span>
</div>
<div class="col-sm-3">
<span class="small darkgrey">{{d.status}}</span>
@@ -87,10 +86,11 @@
<span class="small darkgrey">{{d.transaction_date}}</span>
</div>
</div>
+ <a class="transaction-item-link" href="/quotations/{{d.name}}">Link</a>
</div>
{% endfor %}
- {% endif %}
- </div>
+ </div>
+ {% endif %}
</div>
</div>
</div>