[cleanup] request for quotation cleanup
diff --git a/erpnext/templates/pages/rfq.html b/erpnext/templates/pages/rfq.html
index 5556d26..8009819 100644
--- a/erpnext/templates/pages/rfq.html
+++ b/erpnext/templates/pages/rfq.html
@@ -69,11 +69,10 @@
</div>
{% endif %}
<div class="row terms">
- <div class="col-xs-5 text-left text-muted">{{ _("Terms and Conditions: ") }}</div>
- </div>
- <div class="row terms">
- <div class="col-xs-5 text-left text-muted">
- <textarea class="form-control terms-feedback" style="border:1px solid #cccccc; padding:4px"></textarea>
+ <div class="col-xs-6">
+ <br><br>
+ <p class="text-muted small">{{ _("Notes: ") }}</p>
+ <textarea class="form-control terms-feedback" style="height: 100px;"></textarea>
</div>
</div>
</div>
diff --git a/erpnext/templates/pages/rfq.py b/erpnext/templates/pages/rfq.py
index fbdd6db..aefa315 100644
--- a/erpnext/templates/pages/rfq.py
+++ b/erpnext/templates/pages/rfq.py
@@ -25,7 +25,7 @@
def check_supplier_has_docname_access(supplier):
status = True
- if frappe.form_dict.name not in frappe.db.sql_list("""select parent from `tabRFQ Supplier`
+ if frappe.form_dict.name not in frappe.db.sql_list("""select parent from `tabRequest for Quotation Supplier`
where supplier = '{supplier}'""".format(supplier=supplier)):
status = False
return status