You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2020-01-28 18:16:04

mrocznydrwal
Member
Registered: 2018-09-26
Posts: 10

[New Plugin] - Protocols Manager

Hi,
I would like to show you my plugin Protocols Manager to make configurable PDF reports with user inventory.
Inspiration of this plugin was Used Items Export plugin (which is probably no longer developed), but with more features.

Features:
1. Making PDFs with all or selected user inventory
2. Saving protocols in GLPI Documents
3. Possibility to create different protocol templates
4. Templates have configurable name, font, logo image, city, content and footer
5. Possibility to make comments to any selected item
6. Showing Manufacturer (only first word to be clearly) and Model of item
7. Showing serial number of item or inventory number if serial number doesn't exist

To do:
1. Possibility to add row with your own values (not from GLPI)
2. Make comments to exports.
3. More customization

I'm not a proffesional PHP developer (but I want to be smile) so plugin may not be perfect or it may contain some unproffesional code, but I tried to do my best.

Links:
https://plugins.glpi-project.org/#/plug … olsmanager
https://github.com/mateusznitka/protocolsmanager

Regards,
Mateusz

Offline

#2 2020-01-28 21:20:36

mecmav
Member
From: Brasil
Registered: 2019-03-22
Posts: 326

Re: [New Plugin] - Protocols Manager

A useful plugin at least to me for while, I recommend.

It's a great work from

Mateusz

.

Success to you and your job!

Offline

#3 2020-02-11 15:39:59

mrocznydrwal
Member
Registered: 2018-09-26
Posts: 10

Re: [New Plugin] - Protocols Manager

Hi, there is a new release of Protocols Manager.
New features:
-Custom rows
-Can change orientation
-Can show serial number in different columns or in one column
-Notes to export
-Style changes - larger checkboxes, fonts

Regards,
Mateusz

Offline

#4 2020-02-11 15:50:34

mecmav
Member
From: Brasil
Registered: 2019-03-22
Posts: 326

Re: [New Plugin] - Protocols Manager

Nice update. I will try it.

Thanks for now anyway, it's a great job !

Offline

#5 2020-02-12 02:50:32

cleomar
Member
Registered: 2019-03-14
Posts: 7

Re: [New Plugin] - Protocols Manager

Yes you did a great job. This is very much helpful for my USER ACCEPTANCE POLICY. I need to customize it as per required format. Thank you so

Offline

#6 2020-02-12 13:05:09

pierrottls
Member
Registered: 2020-02-12
Posts: 3

Re: [New Plugin] - Protocols Manager

Hello,

This plugins look nice, but I just installed it and il looks like it is missing a bit of documentation.
I dont understand how I can insert harware from GLPI inside those report.
From user, if I create a template and click on create, if I open the PDF I get everything like the template should be, with no PC; SN etc, juste the legends are here.

I do not see where to add variable to insert a 'request' of the wanted  hardware I want to list in that template//


Also, I can find the PDF in the server file (/usr/share/glpi/files/PDF/xx)  but I cant see them in GLPI from "Administration -> User -> Protocls manager". Im able to see both template I have created, but no file in the list below, even though the pdf files are present on disk.

It's a bit confusing even though look promising (I will be able to create many usefull templates for our IT dept).

thank for your time/

Cheers.

Offline

#7 2020-02-12 21:35:50

mrocznydrwal
Member
Registered: 2018-09-26
Posts: 10

Re: [New Plugin] - Protocols Manager

Hi @pierrottls,
The inventory which you can see in protocols manager depends on what you assign to user in GLPI. So if you have for example computer, you have to assign user to it like on screenshot below:
screen1.png

When your device is assigned to user, go to this user and to Protocols Manager tab. Then you can see your device. To make a protocol, you have to select device/devices, choose your template and click 'Create'.
screen2.png

After create PDF, you should see it on list below, like on screenshot.

Offline

#8 2020-02-17 10:21:28

pierrottls
Member
Registered: 2020-02-12
Posts: 3

Re: [New Plugin] - Protocols Manager

It works perfect, thanks a lot... I just have a bug, if I assign couple of computeur to my username, it works perfect, if I assign my 500 compagny's computeur, I get the list but when I select one computer and click on "create" I get an error message.... if you have enough computer, you might be able to reproduce, I tested it 3 times...

I use latest GLPI 9.4.4 and    protocolsmanager     1.1.2

Offline

#9 2020-02-18 11:36:26

mrocznydrwal
Member
Registered: 2018-09-26
Posts: 10

Re: [New Plugin] - Protocols Manager

Could you show this error message? And next, turn on debug mode (bug icon in upper right corner), try to generate protocol and show error message then (if it exists). It will be very helpful.
Regards, Mateusz

EDIT: OK, I get it. I will check it

Last edited by mrocznydrwal (2020-02-19 13:17:30)

Offline

#10 2020-02-24 16:30:46

hanneman
Member
Registered: 2020-02-24
Posts: 1

Re: [New Plugin] - Protocols Manager

Hi Mateusz

Great plugin, thanks a lot.

Can You take in to considerations a possibility to use variables like [USERNAME] or [DATE] in fields like Content?

Best regards Marcin

Offline

#11 2020-03-03 15:07:10

mrocznydrwal
Member
Registered: 2018-09-26
Posts: 10

Re: [New Plugin] - Protocols Manager

Marcin,
I'm afraid it may be impossible due to security restrictions in GLPI framework, but I will check it.

Mateusz

Offline

#12 2020-03-04 00:01:40

guillermohaad
Member
Registered: 2016-01-14
Posts: 9

Re: [New Plugin] - Protocols Manager

Thank you, excellent work friend, keep working on the complement and making improvements, I hope you enjoy your coffee.

Offline

#13 2020-03-04 00:09:09

mrocznydrwal
Member
Registered: 2018-09-26
Posts: 10

Re: [New Plugin] - Protocols Manager

Thank you very much @guillermohaad smile
I'm glad the plugin is useful. I will keep working on it.

Offline

#14 2020-03-04 11:56:36

Ape21
Member
From: India
Registered: 2020-01-15
Posts: 6

Re: [New Plugin] - Protocols Manager

Hey thank you.

The plugin has made my day. It is convenient to use and makes it easier to manage the stuff which is usually messed up. Hehe.


Co-Founder ElectronicJunction and iGraduate. Computer Science Engineer who makes smart appliances by embedding software applications and AI.

Offline

#15 2020-06-04 18:10:28

mrocznydrwal
Member
Registered: 2018-09-26
Posts: 10

Re: [New Plugin] - Protocols Manager

Hi,
There is a new update of Protocols Manager on github.
New features:
*automatic column width
*word breaking (optional)
*can change font size
*new fonts

I changed PDF library from html2pdf to domPDF, so now plugin require PHP in version 7.1 or higher.

Regards,
Mateusz

Offline

#16 2020-08-29 01:45:27

mrocznydrwal
Member
Registered: 2018-09-26
Posts: 10

Re: [New Plugin] - Protocols Manager

Hi,
New update available:

*New feature: sending mails with protocols (auto or manually. You must configure email notification in GLPI before)
*New textarea above the table in template
*You can put some variables in template:
    *user name: {owner}
    *admin name: {admin}
    *current date: {cur_date}

Plugin works fine with GLPI 9.5


Regards

Offline

#17 2021-04-16 17:08:35

mrocznydrwal
Member
Registered: 2018-09-26
Posts: 10

Re: [New Plugin] - Protocols Manager

Hi,
New update, or rather small patch.
In 1.4.2:
*Fixed one column mode in serial number
*Document is now assigned to default user's entity

Offline

#18 2021-06-02 01:24:36

kfell
Member
Registered: 2021-06-02
Posts: 1

Re: [New Plugin] - Protocols Manager

Hello,

Is it possible to change the date format at the top of the form.  It seems to default to DD-MM-YYYY but I want it to be MM-DD-YYYY.  Also, the Administrator: section pulls my name by default.  Can this be changed to pull the administrator or manager of the site where the user is located?

Offline

#19 2021-09-21 15:42:40

wolvverinemp
Member
From: Poland
Registered: 2021-09-20
Posts: 27

Re: [New Plugin] - Protocols Manager

Would it be possible that the field according to which the equipment is grouped was a separate additional field added, for example, from the Fields plugin?

For example: Item_owner

And not the field of the user who uses the hardware?

For example, in an open space it is not the users who use the equipment who own / have the equipment in stock, only a designated person.


Edit:

Is now. You have new function to test on my fork in branch develop.

develop

(press right buton and open image "develop" in new tab)

Last edited by wolvverinemp (2021-10-09 21:00:35)

Offline

#20 2022-05-31 01:07:28

pierlaze
Member
Registered: 2022-05-31
Posts: 1

Re: [New Plugin] - Protocols Manager

Good afternoon Mateusz,
It shows me the following error when entering protocols manager, please support
Deprecated: Use CommonDBTM::getFriendlyName() in C:\xampp\htdocs\glpiper1\inc\toolbox.class.php on line 653

Deprecated: Use CommonDBTM::getFriendlyName() in C:\xampp\htdocs\glpiper1\inc\toolbox.class.php on line 653

and when I click on the create button it takes me to this link
http://localhost/glpiper1/plugins/protocolsmanager/front/generate.form.php

Regards,

Offline

#21 2022-06-23 19:19:51

wolvverinemp
Member
From: Poland
Registered: 2021-09-20
Posts: 27

Re: [New Plugin] - Protocols Manager

Here is version for GLPI 10 with field plugin integration and new dompdf version:

https : //github.com/Wolvverine/protocolsmanager/tree/develop-v10-dompdf

wolvverinemp wrote:

Would it be possible that the field according to which the equipment is grouped was a separate additional field added, for example, from the Fields plugin?

For example: Item_owner

And not the field of the user who uses the hardware?

For example, in an open space it is not the users who use the equipment who own / have the equipment in stock, only a designated person.


Edit:

Is now. You have new function to test on my fork in branch develop.

develop

(press right buton and open image "develop" in new tab)

Last edited by wolvverinemp (2023-04-13 01:47:17)

Offline

#22 2024-01-23 14:49:28

moussiqa
Member
Registered: 2023-11-19
Posts: 17

Re: [New Plugin] - Protocols Manager

hi, first of all thank you for this excellent plugin,
I just want to add new tag like {owner} to display some information in generated file:
User number:
<input type="text" name="registration_number" value="871510555468" id="textfield_registration_number586172427" class="form-control">

So display the value: "871510555468"

You can explain to me how to generate this, what modifications to make in the generate.class.php file

THANKS !


GLPI 10.0.10
CentOS

Offline

Board footer

Powered by FluxBB