Contact person in quotation transaction needs filter based on customer

Hi Friends,
I need contact person field in quotation need filter based on customer

use this example code and modify it accordingly

frappe.ui.form.on("Quotation", {
  refresh: function(frm) {
      frm.set_query('contact_field', function() {
          if (frm.doc.customer_field) {
              return {
                  query: "frappe.contacts.doctype.contact.contact.contact_query",
                  filters: {
                      link_doctype: "Customer",
                      link_name: frm.doc.customer_field
                  }
              };
          }
      });
  }
});

[quote=“mohitchechani, post:2, topic:111885”]

frappe.ui.form.on("Quotation", {
  refresh: function(frm) {
      frm.set_query('contact_field', function() {
          if (frm.doc.customer_field) {
              return {
                  query: "frappe.contacts.doctype.contact.contact.contact_query",
                  filters: {
                      link_doctype: "Customer",
                      link_name: frm.doc.customer_field
                  }
              };
          }
      });
  }
});

[/quote
in the above screenshot i need "contact person " field filter only bro