Skip to content
New issue

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

Send to user; change storage location and name; Include comments from element #60

Open
DRiVSSi opened this issue Feb 13, 2023 · 6 comments

Comments

@DRiVSSi
Copy link

DRiVSSi commented Feb 13, 2023

Ich have this three issues,

  • Send to user does not work, although I have set everything as suggested. I have entered a mail group as the recipient, which works, but the user does not receive any mail. How can I further control / fix this?
  • As it is, the created file is saved in \glpi\files\PDF with a random folder name. How/where can I change the location and name of the document?
  • Is it possible that the comment, for example from a computer, is also included in the PDF as a comment on the device? That is, without me having to enter the comment again in the protocols manager page.

Thank you very much for your help :)

@DRiVSSi
Copy link
Author

DRiVSSi commented Feb 13, 2023

I have found that sent to user works when I enable automatic sending of mails. Why doesn't it work when I click on the Send button and select the template and send?

@Wolvverine
Copy link

Wolvverine commented Feb 14, 2023

The plug-in uses the standard GLPI mechanism for sending emails. It does this through automatic actions. They are queued and dispatched.

@DRiVSSi
Copy link
Author

DRiVSSi commented Feb 22, 2023

what about the other two points?

I also noticed the following: Our IT team generates the reports, but when my colleague creates a report for a user, I cannot open it because I have no rights. I can only open the reports that I have created with my account.
Can this be adjusted so that everyone can open every report?

@pistokcad
Copy link

pistokcad commented Feb 22, 2023

what about the other two points?

I also noticed the following: Our IT team generates the reports, but when my colleague creates a report for a user, I cannot open it because I have no rights. I can only open the reports that I have created with my account. Can this be adjusted so that everyone can open every report?

Maybe I misunderstand you, But the protocolsmanager has no right management. If the administrator enable to see that - you will. Administration - profiles - (your profile) - Protocols manager tab access - you can access any generated doc. If not see, it is document management right problem, not protocols manager right problem.

The other point: The file locations works as intended. The GLPI generate the path. The document name --> you have to customize it. You have to edit the inc/generate.class.php (I don't know which line, because I customized it for us. :)

This line generate the doc name: $doc_name = "whateveryouwant".$prot_num."- "".date('Ymd').'.pdf';
If you want a custom doc - you have to edit the file_fupt_contents line some line later...

The third point: edit it pdf editor :D other times generate a new doc. It doesn't have cost. ;)

@DRiVSSi
Copy link
Author

DRiVSSi commented Feb 23, 2023

So I found the problem why I cant open the files:
When a report is created, the document is added to the root entity and not to the entity you are currently working in. Can this be adjusted?

@DRiVSSi
Copy link
Author

DRiVSSi commented Mar 7, 2023

Other question, how can I select a default language so that the creator's language is not selected?
And is it possible that the listing of the devices is sorted alphabetically?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants