We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
to add multiname templates we can easy do it in pdf_rfltr_default.modules.php starting on line 148
// add this $title = ""; $rowid = $object->array_options['options_rfltr_model_id']; if ($rowid > 0) { $sql = "SELECT title FROM " . MAIN_DB_PREFIX . "referenceletters WHERE rowid = " . $this->db->escape($rowid) . ";"; $this->db->begin(); dol_syslog(get_class($this) . "::" . __METHOD__, LOG_DEBUG); $resql = $this->db->query($sql); if ($resql) { if ($this->db->num_rows($resql) > 0) { $obj = $this->db->fetch_object($resql); $title = '_'.$obj->title; } } } $file_dest = $dir_dest . '/' . $objectref .$title. '.pdf'; // change this
The text was updated successfully, but these errors were encountered:
No branches or pull requests
to add multiname templates we can easy do it in pdf_rfltr_default.modules.php starting on line 148
The text was updated successfully, but these errors were encountered: