Closed guillermohaad closed 4 years ago
Hello friend, How can I save custom fields?
Hi @guillermohaad As I wrote in readme, in GLPI 9.3 you have to edit protocolsmanager/inc/generate.class.php file: change GLPI_UPLOAD_DIR to GLPI_TMP_DIR it is in line 365: $html2pdf->Output(GLPI_UPLOAD_DIR .'/'.$doc_name, 'F');
so edit it to:
$html2pdf->Output(GLPI_TMP_DIR .'/'.$doc_name, 'F');
About your second question: Custom rows are temporary for each export. So if you fill custom inputs like on your screenshot and generate protocol, it will be saved in PDF.
hi @mateusznitka Thanks for your help, it was corrected but now it doesn't show me the related equipment
Did you select checkboxes for items? Before generate you have to select what items you want to have on protocol.
Thank you, my friend, how big you are, you earned a coffee in my name, I recommend you save the custom field in the next versions to be able to generate at any time. but excellent work. Thank you for making our lives easier.
Hello friend, I want to congratulate you for such an excellent job, I will give you for many cafes my friend if it works for me. I have the following message when I try to create the document.
File /var/www/html/glpi/files/_tmp/4-03032020.pdf not found
version GLPI 9.3.1 and plugin protocolsmanager 1.2