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 2023-08-10 12:26:23

olivier.felten
Member
Registered: 2023-08-10
Posts: 1

Add new Notice Period for contracts

Hi All,
I have some use cases for which I need to increase the granularity of the notice period like having 5 days where the smallest by default in 1 month.
In dropdowns, I don't see anything related, and even so I could add it somewhere in the DB, I need also GLPI to interpret it correctly.
Are you aware of an easy solution, or is it blocked by design?

Thanks a lot in advance,
Best

Offline

#2 2023-08-11 14:50:16

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: Add new Notice Period for contracts

The contract notice period is stored in the database as-is, so it represents the number of months. Even if the unit was changed in the dropdown, this would require automatically changing existing values in the database which could be difficult given the different numbers of days in a month.
If you need something shorter than a month, you would need some other solution that checks the expiration date and sends a notification either via a custom plugin or an external script that uses the GLPI API.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

Board footer

Powered by FluxBB