andre00silva
Member
Hello!
I'm my list "Pedidos de Or?amento" I have a php button which, when clicked, inserts into my "Or?amentos" list the respective row values (which are quotation requests and in the moment the button is pressed, they become quotations too). This button also creates a new dir and a new excel file inside of it in a specific path (moldes/Molde_{table_name___id}/Orcamento161.xlsm). Every quotation request excel file path is stored in my list "Settings" which has some elements: "file_name", "file_path" and an inner join with the "Pedidos de Or?amento" ... etc.
In the list "Or?amentos" I have another php button with an excel logo that allows, when clicked, to open the excel file using JS:
The problem is, I can't seem to retrieve the values of that list. Using this I can only retrieve the values of the list "Or?amentos"... When I do this that you're seeing, the path becomes "unavailable/unavailable". How can I retrieve those values from the db and use them in the link?
I'm my list "Pedidos de Or?amento" I have a php button which, when clicked, inserts into my "Or?amentos" list the respective row values (which are quotation requests and in the moment the button is pressed, they become quotations too). This button also creates a new dir and a new excel file inside of it in a specific path (moldes/Molde_{table_name___id}/Orcamento161.xlsm). Every quotation request excel file path is stored in my list "Settings" which has some elements: "file_name", "file_path" and an inner join with the "Pedidos de Or?amento" ... etc.
In the list "Or?amentos" I have another php button with an excel logo that allows, when clicked, to open the excel file using JS:
Code:
jQuery.each(rows, function(rowid, row) {
window.open('../'+row.fzmms_settings___file_path+'/'+row.fzmms_settings___file_name);
})
The problem is, I can't seem to retrieve the values of that list. Using this I can only retrieve the values of the list "Or?amentos"... When I do this that you're seeing, the path becomes "unavailable/unavailable". How can I retrieve those values from the db and use them in the link?