Merge pull request #5072 from rohitwaghchaure/new_rfq

[Fix] Minor changes
diff --git a/erpnext/buying/doctype/request_for_quotation/request_for_quotation.js b/erpnext/buying/doctype/request_for_quotation/request_for_quotation.js
index 0d509e2..f41c6da 100644
--- a/erpnext/buying/doctype/request_for_quotation/request_for_quotation.js
+++ b/erpnext/buying/doctype/request_for_quotation/request_for_quotation.js
@@ -22,9 +22,7 @@
 	
 	refresh: function(frm, cdt, cdn){
 		if (frm.doc.docstatus === 1) {
-			frm.add_custom_button(__("Supplier Quotation"), function(){ frm.trigger("make_suppplier_quotation") },
-				__("Make"));
-			frm.page.set_inner_btn_group_as_primary(__("Make"));
+			frm.add_custom_button(__("Make Supplier Quotation"), function(){ frm.trigger("make_suppplier_quotation") });
 		}
 	},
 
@@ -33,13 +31,8 @@
 		var dialog = new frappe.ui.Dialog({
 			title: __("For Supplier"),
 			fields: [
-				{"fieldtype": "Link", "label": __("Supplier"), "fieldname": "supplier", "options":"Supplier",
-					"get_query": function () {
-						return {
-							query:"erpnext.buying.doctype.request_for_quotation.request_for_quotation.get_supplier",
-							filters: {'parent': doc.name}
-						}
-					}, "reqd": 1 },
+				{"fieldtype": "Select", "label": __("Supplier"), "fieldname": "supplier", "options":"Supplier",
+					"options": $.map(doc.suppliers, function(d){ return d.supplier }), "reqd": 1 },
 				{"fieldtype": "Button", "label": __("Make Supplier Quotation"), "fieldname": "make_supplier_quotation", "cssClass": "btn-primary"},
 			]
 		});