Create delivery trip using get customers from sales invoice

Hi all,
so i want to make custom button nin delivery trip so it can get customers from sales invoice. but when i run my code no error, but it doesnt show anything on the delivery trip page. i also confused with what kind of method that i had to use. below i give my code. hopefully you guys can help me. thanks a lot

frappe.ui.form.on(‘Delivery Trip’, {
refresh: function(frm) {
if (frm.doc.docstatus === 0) {
frm.add_custom_button(__(‘Sales Invoice’), () => {
erpnext.utils.map_current_doc({
method: “”,
source_doctype: “Sales Invoice”,
target: frm,
date_field: “posting_date”,
setters: [
{
label: “Sales Person”,
fieldname: “sales_person”,
fieldtype: “Link”,
options: “Sales Person”,
default: frm.doc.sales_person || undefined
},
{
label: “Driver”,
fieldname: “driver_name”,
fieldtype: “Link”,
options: “Driver”,
default: frm.doc.driver_name || undefined
},
{
label: “Vehicle Number”,
fieldname: “vehicle_number”,
fieldtype: “Link”,
options: “Vehicle”,
default: frm.doc.vehicle_number || undefined
}
],
get_query_filters: {
docstatus: 0,
company: frm.doc.company,
workflow_state: “Waiting For Delivery Trip”
},
callback: function(r){
if(r.message) {
frm.set_value(‘sales_person’, r.message.sales_person)
frm.set_value(‘driver’, r.message.driver)
frm.set_value(‘vehicle’, r.message.vehicle_number)
}
}
})
}, __(“Get customers from”));
}
}
})