mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 13:49:13 +00:00
[cleanup] request for quotation cleanup
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -25,7 +25,7 @@ def get_supplier():
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user