For example: I have triggered the below code on a button click, how can i access the frappe.route_options
in the Payment Receive
doc?
frappe.route_options = { key1: value1, key2: value2 };
frappe.open_in_new_tab = true;
frappe.set_route('payment-receive', 'new-payment-receive');