mateusznitka / protocolsmanager

GLPI Plugin to report users inventory
8 stars 13 forks source link

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

Open DRiVSSi opened 1 year ago

DRiVSSi commented 1 year ago

Ich have this three issues,

Thank you very much for your help :)

DRiVSSi commented 1 year ago

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 commented 1 year ago

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

DRiVSSi commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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?